LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   network interface eth0 does not exist (https://www.linuxquestions.org/questions/gentoo-87/network-interface-eth0-does-not-exist-761516/)

jrodia 10-12-2009 11:30 PM

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.

kirukan 10-13-2009 12:00 AM

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)

markush 10-13-2009 01:25 AM

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

~sHyLoCk~ 10-13-2009 01:50 AM

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?

jrodia 10-13-2009 11:35 AM

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

markush 10-13-2009 11:51 AM

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

jrodia 10-13-2009 05:59 PM

Quote:

Originally Posted by markush (Post 3717792)
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!

markush 10-14-2009 01:08 AM

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


All times are GMT -5. The time now is 11:05 AM.