LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 10-12-2009, 11:30 PM   #1
jrodia
LQ Newbie
 
Registered: Mar 2007
Distribution: Ubuntu 9.10, BackTrack 4
Posts: 23

Rep: Reputation: 15
Unhappy network interface eth0 does not exist


Hi all,

Working on my first Gentoo install, and everything through the install process seemed to work smoothly.

But on reboot (first boot from HDD), I get the following error:

Starting eth0
Bringing up eth0
dhcp
network interface eth0 does not exist
Please verify hardware or kernel module (driver)

ifconfig only displays info for lo, no eth0.

This is my 3rd crack at installing this, running into the same error every time. Any help would be much appreciated.

Thanks.
 
Old 10-13-2009, 12:00 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
I am not familiar with gentoo, however check lspci output(if command exist), check dmesg log, modprobe.conf check whether the eth0 module loaded or not and check lsmod output.
(the above mentioned things are based on redhat linux)
 
Old 10-13-2009, 01:25 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello jrodia,

please let us know which networkcard you're using. I think that you've build the kernel without support for this nic. Is the other hardware detected properly?

Markus

Last edited by markush; 10-13-2009 at 06:06 AM.
 
Old 10-13-2009, 01:50 AM   #4
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Did you:
rc-update add net.eth0 ? [or something similar]

I assume your net was working, since you said your installation [which requires internet] process completed successfully but on reboot you are getting this error?

Last edited by ~sHyLoCk~; 10-13-2009 at 01:52 AM.
 
Old 10-13-2009, 11:35 AM   #5
jrodia
LQ Newbie
 
Registered: Mar 2007
Distribution: Ubuntu 9.10, BackTrack 4
Posts: 23

Original Poster
Rep: Reputation: 15
Markush - it's an integrated NIC on a ECS KN1SLI nForce 4 motherboard. The other hardware does seem to be detected properly, including my nVidia GPU.

sHyLoCk - I get the following:

localhost-localdomain init.d # rc-update add net.eth0 default
* net.eth0 already installed in runlevel 'default'; skipping
 
Old 10-13-2009, 11:51 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

in the kernel-configuration there is in
Code:
device-drivers->Network-Device-Support->Ethernet(10 or 100Mbit)
an "nForce Ethernet Support". The module's name is "forcedeth". I'll recommend to use this and test if it works for your card.

Markus
 
Old 10-13-2009, 05:59 PM   #7
jrodia
LQ Newbie
 
Registered: Mar 2007
Distribution: Ubuntu 9.10, BackTrack 4
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by markush View Post
Hello,

in the kernel-configuration there is in
Code:
device-drivers->Network-Device-Support->Ethernet(10 or 100Mbit)
an "nForce Ethernet Support". The module's name is "forcedeth". I'll recommend to use this and test if it works for your card.

Markus
That seemed to do the trick!

Now, what do I have to do to recompile the kernel so I don't have to "modprobe forcedeth" every time I boot the computer?

Many thanks again!
 
Old 10-14-2009, 01:08 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi jrodia,

you can compile it into the kernel instead as a module. But when compiling it as a module you'll create an entry in the /etc/modules.autoload.d directory (read the Gentoo-Handbook, the kernel section).


Markus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo: "network interface eth0 does not exist" after kernel downgrade geogaddi Linux - Networking 2 12-14-2008 12:12 PM
ERROR: The interface does not exist (UBUNTU) interface eth0 not configured anshulbhatt Linux - Networking 2 11-20-2008 12:23 PM
Interface eth0 doesn't exist [WARN] saurabh.jain162 Linux - Software 2 11-05-2008 10:22 AM
Interface eth0 doesn't exist garbo73 Linux From Scratch 5 02-02-2006 07:45 AM
Reboot LFS6.1:Interface eth0 doesn't exist! ukyo Linux From Scratch 4 09-07-2005 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration