View previous topic :: View next topic |
Author |
Message |
blendedhead n00b
Joined: 13 Sep 2004 Posts: 18
|
Posted: Sun Oct 24, 2004 1:07 pm Post subject: eth0 doesn't show up on ifconfig, but the OS says it exists |
|
|
When I run ifconfig, the only thing listed is my loopback interface. Inside of my /etc/conf.d/net file is the following declaration:
Code: | iface_eth0="dhcp"
dhcp_eth0"-dHD"
ifconfig_eth0=("dhcp")
|
I also have a modem and wireless card inside of my laptop, but I haven't even tried to configure them yet. Everytime I boot, I get a message that says something like Quote: | Can't add start 'net' as a service with the same name already exists |
followed by a message saying the netmount can't be started. When I try entering in Code: | rc-update adtt net.eth0 defualt | I get the error message Quote: | net.eth0 already installed in runlevel default; skipping | I have to admit, I'm really lost on this one. Can anybody help me find myself, or at least my ethernet card? |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Sun Oct 24, 2004 2:27 pm Post subject: |
|
|
It seeme like you don't have the driver for your ethernet card installed properly, otherwise it would show up under ifconfig. What sort of ethernet card is it? |
|
Back to top |
|
|
ricce_n Tux's lil' helper
Joined: 01 Jul 2004 Posts: 130
|
Posted: Sun Oct 24, 2004 5:37 pm Post subject: |
|
|
you can't use both iface_eth0 and ifconfig_eth0 shoos one of them.
In the latest scripts iface_* is depracted so you shuld use ifconfig_*, but if you don't have the latest scripts ifconfig_* wont work |
|
Back to top |
|
|
blendedhead n00b
Joined: 13 Sep 2004 Posts: 18
|
Posted: Sun Oct 24, 2004 9:51 pm Post subject: |
|
|
ricc_n and chunderbunny, thanks for answering my post. Chunderbunny, I have a Broadcom BCM5901 card. I'm loading tg3.ko (aka tigon) driver using my /etc/modules.autolad.d/kernel-2.6 file. My kernel is version 2.6.8.1.
Ricce_n, I commented out the iface_eth0 and dhcpcd lines, and rebooted my machine. Then, I put the dhcpcd line underneath the ifconfig line. After rebooting after each change, I still wasn't able to access the web. I built my system using stage 1 off of a universal Gentoo CD version 2004.2. |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Sun Oct 24, 2004 10:09 pm Post subject: |
|
|
What does 'lsmod' show?
What happens if you manually "modprobe tg3"? |
|
Back to top |
|
|
blendedhead n00b
Joined: 13 Sep 2004 Posts: 18
|
Posted: Sun Oct 24, 2004 11:55 pm Post subject: |
|
|
lsmod shows ds, yenta_cron, and pcmcia_core. I didn't build or enable anything related to networking with PCMCIA. Modprobe tg3 works without a hitch. I ran lsmod, and tg3 is there. Then, I tried pinging and loading web pages neither one of which worked. |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Mon Oct 25, 2004 12:10 am Post subject: |
|
|
After you modprobe tg3 you should run "/etc/init.d/net.eth0 start" This will set up your network connection acording to the rules in /etc/conf.d/net |
|
Back to top |
|
|
blendedhead n00b
Joined: 13 Sep 2004 Posts: 18
|
Posted: Mon Oct 25, 2004 12:31 am Post subject: |
|
|
Trying that last suggestion will get me on the web, but I have to do it everytime I boot up the machine. The changes aren't permanent. |
|
Back to top |
|
|
Aziraphale n00b
Joined: 14 Oct 2004 Posts: 7 Location: Portland, OR
|
Posted: Mon Oct 25, 2004 1:03 am Post subject: |
|
|
You should be able to put tg3 into /etc/modules.autoload.d/kernel-2.x where x is your kernel version (4 or 6)
I load my nvidia modules that way. |
|
Back to top |
|
|
blendedhead n00b
Joined: 13 Sep 2004 Posts: 18
|
Posted: Mon Oct 25, 2004 1:39 am Post subject: |
|
|
Aziraphale, tg3 is already in etc/modules.autoload.d/kernel-2.6, but it's not loading on bootup. I get an error message along the lines of "unable to start 'net' as the service already exists". Later on "netmount" can't be loaded. I wish I knew what that intial "net" was, so I could comment it out, and see what happens. |
|
Back to top |
|
|
|