1 |
On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: |
2 |
> Hi everyone, |
3 |
> |
4 |
> Well, thanks to the help I got from the list, I finally have Gentoo |
5 |
> installed on my new desktop and booting to a command prompt. |
6 |
> |
7 |
> However, now I have a networking issue. |
8 |
> |
9 |
> In past, when I booted to the install CD and my ethernet connection was |
10 |
> not active, I typed net-setup eth0 and was able to set it up. This |
11 |
> time, when I booted to the install CD and typed net-setup eth0, the |
12 |
> network card was not recognized. |
13 |
|
14 |
This means that your kernel is not configured with the corresponding modules |
15 |
for your network card, or that there is some other configuration problem with |
16 |
e.g. firmware loading (if such a thing is necessary for your card). |
17 |
|
18 |
|
19 |
> I googled and found a post where |
20 |
> someone said that they had to 'modprobe -r broadcom' and 'modprobe -r |
21 |
> tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run |
22 |
> net-setup. I did this and then ifconfig returned my eth0 connection. |
23 |
> |
24 |
> Of course, later you have to do the cp -L /etc/resolv.conf |
25 |
> /mnt/gentoo/etc/ .... which I did and dhcpcd has been added to my |
26 |
> default runlevel. |
27 |
> |
28 |
> However, when I boot, eth0 does not start. |
29 |
|
30 |
What does dmesg show? |
31 |
|
32 |
What does cat /var/log/syslog | grep -i tg3 show |
33 |
|
34 |
|
35 |
> I can start it manually by |
36 |
> doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe |
37 |
> broadcom' and 'modprobe tg3' |
38 |
|
39 |
So the question is why when you remove and install the module manually your |
40 |
NIC driver loads, but at boot time it does not ... |
41 |
|
42 |
|
43 |
> However, I would like to have my network started automatically. |
44 |
> |
45 |
> I do have config_eth0="dhcp" in my /etc/conf.d/net file |
46 |
|
47 |
Please show: |
48 |
|
49 |
grep ^[^#] /etc/conf.d/net |
50 |
|
51 |
ifconfig and ifconfig -a (before and after you modprobe the driver) |
52 |
|
53 |
It may also help to know what is your card (lshw and lspci -v). |
54 |
-- |
55 |
Regards, |
56 |
Mick |