On Sunday 16 Oct 2011 00:05:01 CJoeB wrote:
> Hi everyone,
> 
> Well, thanks to the help I got from the list, I finally have Gentoo
> installed on my new desktop and booting to a command prompt.
> 
> However, now I have a networking issue.
> 
> In past, when I booted to the install CD and my ethernet connection was
> not active, I typed net-setup eth0 and was able to set it up.  This
> time, when I booted to the install CD and typed net-setup eth0, the
> network card was not recognized.  

This means that your kernel is not configured with the corresponding modules 
for your network card, or that there is some other configuration problem with 
e.g. firmware loading (if such a thing is necessary for your card).


> I googled and found a post where
> someone said that they had to 'modprobe -r broadcom' and 'modprobe -r
> tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run
> net-setup.  I did this and then ifconfig returned my eth0 connection.
> 
> Of course, later you have to do the cp -L /etc/resolv.conf
> /mnt/gentoo/etc/ .... which I did and dhcpcd has been added to my
> default runlevel.
> 
> However, when I boot, eth0 does not start.  

What does dmesg show?  

What does cat /var/log/syslog | grep -i tg3 show


> I can start it manually by
> doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe
> broadcom' and 'modprobe tg3'

So the question is why when you remove and install the module manually your 
NIC driver loads, but at boot time it does not ...


> However, I would like to have my network started automatically.
> 
> I do have config_eth0="dhcp" in my /etc/conf.d/net file

Please show:

  grep ^[^#] /etc/conf.d/net

  ifconfig  and ifconfig -a  (before and after you modprobe the driver)

It may also help to know what is your card (lshw and lspci -v).
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to