LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-22-2006, 05:09 AM   #1
beffes
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
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
 
Old 09-22-2006, 06:44 AM   #2
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Umm.. the driver for your ethernet chipset, perhaps.
 
Old 09-22-2006, 12:52 PM   #3
ArcLinux
Member
 
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87

Rep: Reputation: 20
Exclamation

/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.
 
Old 09-22-2006, 02:39 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,451
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 07:51 AM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM
eth0 failed to start after kernel compile andy18 Linux - Networking 3 09-09-2003 10:32 AM


All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
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 Google+: linuxquestions
Open Source Consulting | Domain Registration