LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-04-2006, 11:38 PM   #1
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
no ETH0 after kernel tweek


ok, fresh install of 10.2, 2.4 kernel. everything works great, even sound
so I go into the kernel and eliminate things I don't need in there, etc. do all the procedure to install the kernel and whatnot, reboot, no eth0.

I do ifconfig, and all thats there is LO

I do ifconfig eth0 up and it says:
ETH0 - Error while getting interface flags: no such device

I do /sbin/lspci and all my sevices are there, including my NIC which is listed as so:

00:0b.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)

I try DHCPCD which had worked once before with a different problem and I get this:

Error, dhcpStart: ioctl SIOGIFHWADDR: No such device

I even went into the kernel and enabled every PCI NIC that was listed in there, and still nothing, and it all worked before the initial kernwl tweek

Any info would be appreciated.

Thanks
 
Old 07-04-2006, 11:54 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
try running netconfig
 
Old 07-05-2006, 12:02 AM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Try running (as root)
Code:
netconfig
,then check the output of
Code:
ifconfig
lsmod
 
Old 07-05-2006, 12:02 AM   #4
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
thought I was forgetting to post that, ran netconfig, went through all the steps, still no eth0
 
Old 07-05-2006, 12:04 AM   #5
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Post the results of
Code:
lsmod
 
Old 07-05-2006, 12:05 AM   #6
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
disregard my last post.

I ran netconfig again, then ran ifconfig and still the same LO there.

ran lsmod and I got this:

Module Size Used By Not Tainted
 
Old 07-05-2006, 12:07 AM   #7
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Again, please, post the results of
Code:
lsmod
 
Old 07-05-2006, 12:09 AM   #8
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
ran lsmod and I got this:

Module Size Used By Not Tainted
 
Old 07-05-2006, 12:11 AM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
So no modules at all? You made a monolithic kernel?
 
Old 07-05-2006, 12:16 AM   #10
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
well the first time after I tweeked the kernel and my net didn't work, I went through and did all the netconfig stuff again, the ifconfig, and the dhcpcd. when none of that worked, I went back to the kernel and made every PCI nic built in, saved, installed, rebooted, still no net, so I made all of the pci net drivers modules, and still nothing. I can't figure out where I went wrong
 
Old 07-05-2006, 12:50 AM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Did you run make modules, make modules_install and updated lilo when you installed the new kernel?
The module (or built-in code) you need for your card is called tulip. Make sure you also include all generic network stuff (TCP, etc).
 
Old 07-05-2006, 01:51 AM   #12
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Rep: Reputation: 15
Im guessing that you have typed "make modules install" instead of "make modules_install".
Thats what happened to me once
 
Old 07-05-2006, 02:02 AM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Nope, it typed it correctly
Just to clear doubts, from 2.4.31's README file:
Quote:
- If you configured any of the parts of the kernel as `modules', you
will have to do "make modules" followed by "make modules_install".
Read Documentation/modules.txt for more information. For example,
an explanation of how to use the modules is included there.
Edit: Mmm now that I think on it, maybe that worked for you on a 2.6 kernel, if i've time i'll take a look at 2.6 docs and/or Makefile.

Last edited by gbonvehi; 07-05-2006 at 02:04 AM.
 
Old 07-06-2006, 04:55 AM   #14
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
I always do the make modules, make modules_install even if I don't add anything as modules. so the first time I went in and started removing unwanted stuff, I did the make modules and then make modules_install. Can that mess anything up?
 
Old 07-06-2006, 01:21 PM   #15
jp-lack
Member
 
Registered: Mar 2005
Location: NJ - US
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
I think Linksys uses 'tulip' modules, try recompiling again and make sure to select 'tulip' which is not makerd as default
 
  


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
installed the 2.6.15 kernel...now eth0 not found martial Linux - Networking 14 01-17-2006 03:04 PM
Tweek-Test Reports Incorrect MTU Lnx805 Linux - Networking 1 11-27-2005 11:22 AM
Tweek or remap a joystick setup for racer! DavidPhillips Linux - General 0 05-08-2004 07:30 PM
no eth0 with kernel 2.6.0 elluva Linux - Networking 4 01-11-2004 06:58 AM
Eth0 is failing after updating to kernel 2.4.4 mantiev Linux - Networking 10 05-07-2001 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:59 AM.

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
Open Source Consulting | Domain Registration