LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2005, 06:31 PM   #1
Continuum
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
eth0 doesn't exist in Gentoo


Hey everyone,
I recently just installed stage3 Gentoo and went through the installation guide and followed all the steps that were appropriate for me.

finally, after 3 hours and 2 reinstalls (i now dislike grub), i type in the magical command reboot, it boots and it works beatutifully. except for my ethernet.

While booting the kernel, it tells me that eth0 doesn't exist.

So time for details i guess. I am on ADSL but its through a router with DHCP which i was lead to belive needed no configuration when installing Gentoo.

My ethernet card is the onboard card that came on my abit NF7-S motherboard.

I would absolutely love any help with this because i am stumped.

Thanks,
Drew
 
Old 08-29-2005, 07:27 PM   #2
alaskazimm
Member
 
Registered: Mar 2004
Location: Watching it snow in bush Alaska
Distribution: *ubuntu, Smoothwall, WinXP Pro
Posts: 126

Rep: Reputation: 15
I'm assuming that you had internet during the install. Did you use genkernel to compile your kernel or did you do it by hand? In either case, you should make sure that the appropiate module is add to /ect/modules.autoload.d/kernel-2.x (x = 4 or 6). I had the same problem and I had forgotten to compile the ethernet card into my kernel.

Another thing to check is if you copied the DNS information to your hard drive, look under chapter 6 of the Gentoo handbook. if you forgot that step, then probably all you need to do is reconfigure eth0 per chapter 3 of the handbook. I can't think of anything else off hand. Good luck.
 
Old 08-29-2005, 11:23 PM   #3
Continuum
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply.
The thing is, now the problem i am having is which module to install. i can only find 2 on the install and they are dummy and s2io.

The error it is also giving me now is this:

Starting eth0
bringing up eth0
dhcp
eth0 does not exist [!!]
Error: Problem starting needed service.
"netmount"was not started.


so i just dont know where to go from here. I am still fairly new to the whole linux community and just trying to get on my feet.

how would i find the right module for my ethernet card? is there a site somewhere?

thanks.
Drew
 
Old 08-30-2005, 06:27 AM   #4
scoops98
Member
 
Registered: Nov 2001
Location: Cornwall
Distribution: Gentoo, Debian,Knoppix
Posts: 85

Rep: Reputation: 15
I am having the same problem and have tried various options all to no avail.
{I think mine might be a conflict with my firewire card}. I get the network working by:
Boot off the gentoo cd/dvd
Mount required areas
copy the resolv.conf used by the livecd {see manual}
Chroot {see manual}
Update {see manual}
Reboot

For some reason this works untill the next time i switch the computer off.

Hope this helps
 
Old 08-30-2005, 08:03 PM   #5
alaskazimm
Member
 
Registered: Mar 2004
Location: Watching it snow in bush Alaska
Distribution: *ubuntu, Smoothwall, WinXP Pro
Posts: 126

Rep: Reputation: 15
To find what modules are available go to the CLI and type:

# find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'

If you see the module that you need then great, just add it to /etc/modules.autoload.d/kernel-2.x. If not then you might have to compile your own.

I don't know what modules are available with genkernel, as I compile the kernel from scratch. There isn't a site to "get" modules. They must be generated when the kernel compiles.
 
Old 12-07-2005, 10:27 AM   #6
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Rep: Reputation: 15
I've got the same problem (maybe the Gentoo Install Guide should note this... it seems to be pretty common).

When I check my modules out (using the find command above) the only net modules I've got are s2io and dummy (as a previous poster also discovered). Does that mean I've got to re-compile the kernel? I really hope not!

And once I've got the module compiled and all that, what do I need to do to make it load?

Cheers.
 
Old 12-08-2005, 01:29 PM   #7
sundialsvcs
Senior Member
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 3,682

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
If the LiveCD can talk to the device, do an lsmod to see what driver-module is loaded.
 
Old 12-08-2005, 04:17 PM   #8
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 30
Continuum

The module you need is "forcedeth"

In my case, AMD64, its found in

/lib64/modules/2.6.12-gentoo-r10/kernel/drivers/net/forcedeth.ko

If you used genkernel the module will be there

For the hell of it just

Code:
# modprobe forcedeth
If you get no errors check lsmod on the command line to see if it's loaded

To get the module loaded at boot time add it to

/etc/modules.autoload.d/kernel-2.6

Instructions are in this file, basically just enter the module name in this case forcedeth

Hope this helps

Pete
 
Old 05-10-2006, 08:36 AM   #9
phu99
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Hi!
Make sure that you've marked "Reverse Engineered nForce Ethernet support":

in "make menuconfig"

Device Drivers ---> Network Device Support ---> Ethernet (10 or 100Mbit) -> [M] or[*] Reverse Engineered nForce Ethernet support


kind regards
phu
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
internet errors: eth0 does not exist glimmy Linux - Distributions 49 12-18-2005 09:16 PM
Networking: eth0 does not exist (gentoo) symmet Linux - Networking 19 10-07-2005 10:54 AM
eth0 does not exist question Dahshouin Linux - Newbie 1 09-12-2005 12:48 AM
Eth0 does'nt exist???? matthewa Linux From Scratch 1 06-08-2005 02:54 PM
eth0 and eth1 can't co-exist satimis Linux - Hardware 1 11-12-2003 08:09 AM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration