View previous topic :: View next topic |
Author |
Message |
Dana Merrick Tux's lil' helper


Joined: 24 Jul 2004 Posts: 84 Location: Trinity College
|
Posted: Wed Mar 09, 2005 10:28 pm Post subject: Getting DCHP with no net connection. |
|
|
I've managed to find a catch-22...
I need dhcpcd to get internet, and I dont know how to get it without a net connection. How would I go about doing this?
I know its a kinda stupid question, but all I need is a simple answer... _________________ I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything |
|
Back to top |
|
 |
Sorcerer'sApprentice Tux's lil' helper


Joined: 15 Jan 2005 Posts: 121 Location: Jesus College, Cambridge, England
|
Posted: Wed Mar 09, 2005 10:49 pm Post subject: |
|
|
Boot the livecd.
Let this configure your internet connection for you.
Chroot as you did during the install.
Code: | emerge sync
emerge dhcpcd |
_________________ "One of the major problems encountered in time travel is not that of accidentally becoming your own father or mother ... The major problem is quite simply one of grammar..."
Douglas Adams |
|
Back to top |
|
 |
Dana Merrick Tux's lil' helper


Joined: 24 Jul 2004 Posts: 84 Location: Trinity College
|
Posted: Thu Mar 10, 2005 3:05 am Post subject: |
|
|
Wait, so, I do this. Code: | mount /dev/hda3 /mnt/gentoo/home
mount /dev/hda4 /mnt/gentoo
chroot /mnt/gentoo /bin/bash |
To get dhcpcd, I then did:
But, alas, I dont have internet without dhcpcd, and it wants to connect to get the files. Therein lies the rub, I guess.
I've also tried Code: | PKGDIR="/mnt/cdrom/distfiles" sudo emerge dhcpcd |
And many other similar things (like "-k") to no avail. I need more help.
Thanks a lot. _________________ I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything |
|
Back to top |
|
 |
Tahoe_Strider Apprentice


Joined: 06 Jul 2003 Posts: 152 Location: Amador County, Awarded 9th Best Place to live in Rural America
|
Posted: Thu Mar 10, 2005 2:17 pm Post subject: |
|
|
I'm a little unclear as to what you mean by not having a net connection. Are you saying that you have an ethernet card in your machine that is attached to an ADSL(or cable) modem/router but when you boot from the LiveCD you get nothing? Or do you mean that you simply do not have the hardware necessary to establish a net connection? Would you mind booting from the LiveCD and posting the results from "ifconfig", "lspci", "lsmod", and "route"? _________________ "It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people's minds." |
|
Back to top |
|
 |
Dana Merrick Tux's lil' helper


Joined: 24 Jul 2004 Posts: 84 Location: Trinity College
|
Posted: Thu Mar 10, 2005 8:24 pm Post subject: |
|
|
I figured it out. I didn't even need to boot from the livecd. Code: | mount /dec/cdroms/cdrom0 /mnt/cdrom
cp /mnt/cdrom/distfiles/dhcpcd* /usr/portage/distfiles/
emerge dhcpcd -pv
(dhcp download is 0kb)
sudo emerge dhcpcd |
And thats it!
Thanks guys. _________________ I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|