View previous topic :: View next topic |
Author |
Message |
phrack n00b
Joined: 14 Sep 2005 Posts: 13
|
Posted: Wed Sep 14, 2005 11:23 pm Post subject: DHCP errors |
|
|
Stage 3 Install, Genkernel and coldplug, emerged dhcpcd and can successfully boot to the Gentoo installation. /etc/conf.d/net is currently configured as:
Code: | iface_eth0="dhcp"
dhcpcd_eth0="-HD" |
I have used several variations of this, including config_eth0=( "dhcp" ) and many others. net.eth0 has been loaded into the default runlevel, coldplug is loaded into the boot runlevel. When I boot into Gentoo the only error I get is that "netmount" has not been started, and that it is a needed process. If I log in and type "ifconfig" I only see lo, the loopback. If I type "ifconfig eth0 up" I get the device recognized, but do not get an IP address. If I use "dhcpcd eth0" nothing happens.
If I boot up on the installation disk and chroot into the environment using these commands, upon rebooting into the Gentoo installation DHCP works, but only for that session. Once I reboot again, the same problem occurs:
Code: | mount /dev/hda4 /mnt/gentoo
mount /dev/hda2 /mnt/gentoo/boot
cd /mnt/gentoo
mount -t proc none /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile |
If I boot into the installed Gentoo and just env-update and source /etc/profile, the issue is NOT resolved. It is only resolved when I boot with the installation disk and chroot.
Furthermore, when I do get DHCP working and attempt to emerge anything, I get compile errors. I can download the libraries, but at a certain point I get compile errors. This has occured with kde, gnome, gdm, etc.
I have another thread at linuxforums.org: http://www.linuxforums.org/forum/topic-55429.html
I have re-installed Gentoo 3 times, so this is not something that was a fluke.
Any assistance would be appreciated. |
|
Back to top |
|
|
MasterSheep n00b
Joined: 14 Sep 2005 Posts: 1
|
Posted: Wed Sep 14, 2005 11:39 pm Post subject: |
|
|
Can someone out there please help with this, because I am having the same exact problem. It tells me that "netmount" did not start, and that's that. My situation seems to be the exact same (stage3;genkernel, coldplug and dhcpcd emerged). The only difference is that I have yet to get DHCP to work correctly, even to download corrupt libraries . |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Thu Sep 15, 2005 1:03 am Post subject: |
|
|
Please post the output of lsmod commands twice: once when you're inside the CD environment, and another when you're inside the installed system. This may help us find out the name of the network card module. |
|
Back to top |
|
|
cdcook n00b
Joined: 15 Jul 2005 Posts: 6
|
Posted: Thu Sep 15, 2005 1:39 am Post subject: re: |
|
|
Is it necessary for netmount to start? Did you emerge pcmcia? I had a problem with this on a previous install but you shouldn't need netmount to pull an IP address from your DHCP server. Also, you might try leaving your net.conf file unspecified as net.eth0 will assume dhcp if there are no other options specified.
(I'm on my third gentoo install and so I'm still kind of a noob but this worked for me...just my .02) |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Thu Sep 15, 2005 2:41 am Post subject: Re: re: |
|
|
cdcook wrote: | Is it necessary for netmount to start? ... you shouldn't need netmount to pull an IP address from your DHCP server. |
True, but if netmount fails to start, it may indicate that their network card module was not loaded and hence even general networking (ping, DNS, www) will not work. |
|
Back to top |
|
|
cdcook n00b
Joined: 15 Jul 2005 Posts: 6
|
Posted: Thu Sep 15, 2005 7:51 am Post subject: |
|
|
touche...i did run into that (natsemi worked for me) |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu Sep 15, 2005 8:32 pm Post subject: |
|
|
Moved from Installing Gentoo to Networking & Security.
Installation done, networking still needs some attention. |
|
Back to top |
|
|
phrack n00b
Joined: 14 Sep 2005 Posts: 13
|
Posted: Sat Sep 17, 2005 3:29 pm Post subject: |
|
|
I know the name of the NIC module: b44 (Broadcom 4400 series). I checked menuconfig and it is selected as a module in the kernel.
Lsmod did not display b44 while in the Getoo environment but does in the CD environment, but I do not know of any other way to get it to work other than selecting it as a module in the kernel (which it already was).
I made sure it was selected as a module, recompiled the kernel, and it still does not show up in lsmod. |
|
Back to top |
|
|
phrack n00b
Joined: 14 Sep 2005 Posts: 13
|
Posted: Sat Sep 17, 2005 4:39 pm Post subject: |
|
|
I got it to work finally. I just reinstalled, this time building my own kernel and making sure to include b44 to start automatically in /etc/modules.autoload.d/kernel-2.6
Thanks for your suggestions and help! |
|
Back to top |
|
|
|