Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network interface eth0 does not exist.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Tue Dec 23, 2008 1:57 pm    Post subject: Network interface eth0 does not exist. Reply with quote

Hi

I have just installed using the configure your own kernel option and am able to boot into the system and get a command line. On the boot scripts I get the error message

"Network interface eth0 does not exist. Please verify hardware or kernel module driver"


The network connection does not work.

I get the following errors from the command line.
.................
Desktop linux # ifconfig eth0
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
Segmentation fault

Desktop linux # lsmod
Opening /proc/modules: No such file or directory
.................
Does this mean that I have made an error with the kernel configuration this was my first attempt so I really was not sure which options to activate.

percy
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Tue Dec 23, 2008 2:08 pm    Post subject: Re: Network interface eth0 does not exist. Reply with quote

percy_vere_uk wrote:
Hi

I have just installed using the configure your own kernel option and am able to boot into the system and get a command line. On the boot scripts I get the error message

"Network interface eth0 does not exist. Please verify hardware or kernel module driver"


The network connection does not work.

I get the following errors from the command line.
.................
Desktop linux # ifconfig eth0
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
Segmentation fault

Desktop linux # lsmod
Opening /proc/modules: No such file or directory
.................
Does this mean that I have made an error with the kernel configuration this was my first attempt so I really was not sure which options to activate.

percy


1. Please post your /etc/fstab. Looks like proc isn't mounted.
2. Check that you have your network card driver compiled as module or compiled in kernel.
Back to top
View user's profile Send private message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Tue Dec 23, 2008 2:59 pm    Post subject: Reply with quote

Hi
................................................................................
copy of /etc/fstab

/dev/sda11 / ext3 defaults,noatime 1 1
/dev/sda9 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/sda11 /home ext3 defaults,noatime 1 2
# Dynamic entries below
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/scd0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
........................................................

" Check that you have your network card driver compiled as module or compiled in kernel." How do I check this?
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Tue Dec 23, 2008 4:10 pm    Post subject: Reply with quote

percy_vere_uk wrote:
Hi
................................................................................
copy of /etc/fstab

/dev/sda11 / ext3 defaults,noatime 1 1
/dev/sda9 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/sda11 /home ext3 defaults,noatime 1 2
# Dynamic entries below
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/scd0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
........................................................

" Check that you have your network card driver compiled as module or compiled in kernel." How do I check this?


Hmm... not related, but you have /dev/sda11 occuring twice in fstab... as / and /home. That is almost surely not what you want.

What are the output of the commands
Code:

cat /etc/mtab
ls /proc
cat /proc/mount


About checking your module... if you know the symbol name you can just grep your kernel config for it... but if you don't you probably want to do a make menuconfig in your /usr/src/linux directory and look under Device Drivers ---> Network device support ---> Ethernet (whatever appropriate for your card) ---> (your card controller).
Back to top
View user's profile Send private message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Wed Dec 24, 2008 1:33 pm    Post subject: Reply with quote

outermeasure

I already have 2 working linux systems on this pc. I use 1 large partition for my own data which can be accessed from all of the systems and is mounted on each of the /home files. The /home in each case is only used by the system.

I have gone back through menuconfig and found that the correct network drivers had not been selected (attansic L1 gigabit ethernet support (experimental)). I have now included this option and re-compiled the kernel re-booted into gentoo and ping tested sucessfully.So that seems to be ok (for a while)

Thanks for your all of your help on this.

percy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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