Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 is not recognised
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon Jul 01, 2002 1:23 pm    Post subject: eth0 is not recognised Reply with quote

i followed the install instructions to create the relevant net.eth scripts, and it all worked fine. except now, when ever i startup, it gives this message:

dhcpcd[3337]: dhcpStart: ioctl SIOCGIFHWADDR: No such device

the kernel net card modules (mii and 8139too) load fine.

the startup before the problems occured, fsck checked the root filesystem and cleaned it, giving no details, and i recompiled the kernel to include acpi support (not touching net settings at all)

what has been lost in the fsck cleanup, and how do i get it back?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Jul 01, 2002 3:11 pm    Post subject: Reply with quote

Did you NIC work just during the install, or had you used it for a while after the
install/reboot was completed? What does ifconfig -a tell you?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ZagiFlyer
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 93
Location: San Jose, CA

PostPosted: Mon Jul 01, 2002 7:57 pm    Post subject: Sequence problem Reply with quote

I was getting this too on my Dell laptop. I haven't fixed it, but I can give a work-around until someone better with the startup environment in Gentoo can fix it.

For a home networking environment connected to the internet via DSL/Cable (as root, duh):
1) /etc/init.d/net.eth0 restart
2) route add -net default gw $GATEWAY netmask 0.0.0.0 metric 1
(put in your gateway address in place of $GATEWAY)

The root cause appears to be that the network is initializing before the network device modules have been loaded.

I don't claim this is an optimized answer, but it works for me.
_________________
"Beer is proof that God loves us and wants us to be happy"

--Ben Franklin
Back to top
View user's profile Send private message
ealfert
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 86
Location: Weston, FL, US

PostPosted: Fri Jul 19, 2002 10:03 pm    Post subject: Reply with quote

This just happened to me after updating some packages...

it seems the problems is that the /etc/init.d/net.eth0 file was modified

you need to change "use pcmcia" to "need pcmcia" at the top of the file...

remember when you did that when you first installed the pcmcia network card when you went through the install for the first time? well.. you'll have to do that every time /etc/init.d/net.eth0 is overwritten.

Hope this helps you avoiding have to manually type "/etc/init.d/net.eth0 restart" after every reboot.
_________________
Edward Alfert
RootMode, LLC
http://www.rootmode.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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