Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 doesn't show up on ifconfig, but the OS says it exists
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
blendedhead
n00b
n00b


Joined: 13 Sep 2004
Posts: 18

PostPosted: Sun Oct 24, 2004 1:07 pm    Post subject: eth0 doesn't show up on ifconfig, but the OS says it exists Reply with quote

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
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Sun Oct 24, 2004 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
ricce_n
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 130

PostPosted: Sun Oct 24, 2004 5:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
blendedhead
n00b
n00b


Joined: 13 Sep 2004
Posts: 18

PostPosted: Sun Oct 24, 2004 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Sun Oct 24, 2004 10:09 pm    Post subject: Reply with quote

What does 'lsmod' show?
What happens if you manually "modprobe tg3"?
Back to top
View user's profile Send private message
blendedhead
n00b
n00b


Joined: 13 Sep 2004
Posts: 18

PostPosted: Sun Oct 24, 2004 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Mon Oct 25, 2004 12:10 am    Post subject: Reply with quote

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
View user's profile Send private message
blendedhead
n00b
n00b


Joined: 13 Sep 2004
Posts: 18

PostPosted: Mon Oct 25, 2004 12:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Aziraphale
n00b
n00b


Joined: 14 Oct 2004
Posts: 7
Location: Portland, OR

PostPosted: Mon Oct 25, 2004 1:03 am    Post subject: Reply with quote

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
View user's profile Send private message
blendedhead
n00b
n00b


Joined: 13 Sep 2004
Posts: 18

PostPosted: Mon Oct 25, 2004 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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