View previous topic :: View next topic |
Author |
Message |
percy_vere_uk Apprentice
Joined: 13 Dec 2008 Posts: 210 Location: Dorset UK
|
Posted: Tue Dec 23, 2008 1:57 pm Post subject: Network interface eth0 does not exist. |
|
|
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 |
|
|
outermeasure Apprentice
Joined: 26 Nov 2008 Posts: 194 Location: ping6 ff02::1
|
Posted: Tue Dec 23, 2008 2:08 pm Post subject: Re: Network interface eth0 does not exist. |
|
|
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 |
|
|
percy_vere_uk Apprentice
Joined: 13 Dec 2008 Posts: 210 Location: Dorset UK
|
Posted: Tue Dec 23, 2008 2:59 pm Post subject: |
|
|
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 |
|
|
outermeasure Apprentice
Joined: 26 Nov 2008 Posts: 194 Location: ping6 ff02::1
|
Posted: Tue Dec 23, 2008 4:10 pm Post subject: |
|
|
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 |
|
|
percy_vere_uk Apprentice
Joined: 13 Dec 2008 Posts: 210 Location: Dorset UK
|
Posted: Wed Dec 24, 2008 1:33 pm Post subject: |
|
|
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 |
|
|
|