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 10-04-2012, 12:36 PM   #1
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 25

Rep: Reputation: Disabled
eth0 not found after upgrading to slack 14


Hi everyone,

i've just updated my distro to the version 14, but after the reboot it doesn't seem to find the eth0 interface: #ifconfig -a return the presence of only loopback interface. I've run netconfig but it didn't work.
lsmod return:
Code:
ipv6          238549     14
agpgart        22087     0
lp              7119     0
parport_pc     16775     1
parport        26159     2 lp,parport_pc
fuse           58252     1
loop           14650     0
Thanks for attention,
i'm waiting for answers
Francexi
 
Old 10-04-2012, 12:56 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
We need to know which is your network adapter and which kernel module(s) are supposed to support it. To provide that information please send out output of following command:
Code:
lspci -knn|grep -iA3 network
Also, which kernel are you using? Is it a stock Slackware kernel or did you compile it yourself?

I ask that because lsmod's output looks really short.

Last edited by Didier Spaier; 10-04-2012 at 12:58 PM.
 
Old 10-04-2012, 01:06 PM   #3
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
We need to know which is your network adapter and which kernel module(s) are supposed to support it. To provide that information please send out output of following command:
Code:
lspci -knn|grep -iA3 network
Also, which kernel are you using? Is it a stock Slackware kernel or did you compile it yourself?

I ask that because lsmod's output looks really short.
Looks same to me when i see it. Before the upgrading i was using a self-compiled kernel, now the one there's in the stock. However the command doesn't retunr anything, but I remember that i use a Realtek ethernet controller which use the r8169 kernel module

EDIT. I launched modprobe r8169 and now eth0 appear in the ifconfig -a. But dhcpcd don't want to work. It only show "version etc.etc. starting" and then "no interfaces have a carrier"

RE EDIT: using dhcpcd eth0 the system get the Ip from the system, but now i can't use the mouse. Rebooting the computer i've seen that it can't find /dev/mouse. Also when i reboot the system, i have to re-probe the module and rerun dhcpcd

Last edited by Francexi; 10-04-2012 at 01:19 PM.
 
Old 10-04-2012, 01:24 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
I guess something went wrong during the upgrade. I suggest you reinstall the kernel from Slackware and the associated modules. Then please send the output of "uname -r" and the command's output I requested in my previous post.
 
Old 10-04-2012, 01:26 PM   #5
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
I guess something went wrong during the upgrade. I suggest you reinstall the kernel from Slackware and the associated modules. Then please send the output of "uname -r" and the command's output I requested in my previous post.
how can i reinstall it?
 
Old 10-04-2012, 01:32 PM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
upgradepkg -- install-new --reinstall </path/to/the/package>
or
slackpkg reinstall <package name>
The latter won't work if the package was not installed. Then type instead:
slackpkg install <package name>

To know more: "man <command name>".
 
Old 10-04-2012, 01:36 PM   #7
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
So i have to launch something like slackpkg kernel-modules and slackpkg kernel. Bu there's lots of kernel (huge, generic) and i dont' kknow which installing
 
Old 10-04-2012, 01:43 PM   #8
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 160

Rep: Reputation: 21
Did you run lilo after upgrading and before rebooting? I'm kind of wondering if the system is booting with your old kernel left behind in /boot and it's failing to load the modules now under /lib/modules (because they are for the new kernel). Seems like in that scenario it wouldn't be able to load *any* modules, but maybe a handful are compatible.
 
Old 10-04-2012, 01:43 PM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
"uname -r" will tell you which is in use. Reinstall the same. But if this is a generic one don't forget to make an initrd and run lilo. In any case edit /etc/lilo.conf to update the "image=..." name then run lilo.

Last edited by Didier Spaier; 10-04-2012 at 01:46 PM.
 
Old 10-04-2012, 02:02 PM   #10
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
reinstalling the kernel and its modules and running mkinitrd seems working. Thanks for all
 
  


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
[SOLVED] [Slackware] eth0 not found MadDino Linux - Laptop and Netbook 2 08-22-2010 03:34 AM
No configuration found for eth0 rparnold Suse/Novell 5 11-14-2007 12:13 PM
eth0 Not Found Trano Slackware 10 01-15-2005 06:24 PM
eth0: Device not found!!!! PDD Linux - Networking 6 11-17-2004 03:43 PM
eth0 not found Damnit73 Linux - Newbie 13 05-01-2004 02:14 AM


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

Main Menu
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