LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   After compile kernel 2.6.18 I don't have eth0.. (https://www.linuxquestions.org/questions/slackware-14/after-compile-kernel-2-6-18-i-dont-have-eth0-485930/)

beffes 09-22-2006 04:09 AM

After compile kernel 2.6.18 I don't have eth0..
 
Hi,

Hi have slackware 10.2 installed with the kernel 2.4.31 and then I decided to update to 2.6.18.

A week past before I can put it to work!! :)
but now when I try to configure my network it gives me an error...

with netconfig command I configure everything, but when I do
ifconfig
it only show lo

manually :
ifconfig 192.168.1.1 netmask 255.255.255.0 up
SIOCSIFADDR : No such device
eth0 : unknown interface : No such device
SIOCSIFNETMASK:No such device
eth0 : unknown interface : No such device

I may have forgot to put something in the kernel.. but what???

Greetings,
BeFFes

evilDagmar 09-22-2006 05:44 AM

Umm.. the driver for your ethernet chipset, perhaps.

ArcLinux 09-22-2006 11:52 AM

/sbin/lspci -v
determine you enet card chipset
check your kernel config to see that chipset is included of is a module.
if its a module the all you have to do is include it in the rc.modules if not already there.
If its not there the add it to the kernel (module) you choice and recompile.
should be good to go.

onebuck 09-22-2006 01:39 PM

Quote:

Originally Posted by beffes
Hi,

Hi have slackware 10.2 installed with the kernel 2.4.31 and then I decided to update to 2.6.18.

A week past before I can put it to work!! :)
but now when I try to configure my network it gives me an error...

with netconfig command I configure everything, but when I do
ifconfig
it only show lo

manually :
ifconfig 192.168.1.1 netmask 255.255.255.0 up
SIOCSIFADDR : No such device
eth0 : unknown interface : No such device
SIOCSIFNETMASK:No such device
eth0 : unknown interface : No such device

I may have forgot to put something in the kernel.. but what???

Greetings,
BeFFes

Hi,

As stated you may not have compiled into the kernel the module for your eth device.

To check as root for the eth#;

Code:

dmesg |grep eth            #get eth device information
lspci -vv                  #very verbose
lsmod                      #check for eth device module

Please post the output to assist you.

Your eth device may have the module available, check the /etc/rc.d/rc.modules for your device. You can use vi, pico or whatever to edit the file as root. Just remove the #(comment symbol) from the front of the modprobe for said device.


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