LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 11:36 AM   #1
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

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, 11:56 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
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 11:58 AM.
 
Old 10-04-2012, 12:06 PM   #3
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

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 12:19 PM.
 
Old 10-04-2012, 12:24 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
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, 12:26 PM   #5
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

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, 12:32 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
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, 12:36 PM   #7
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

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, 12:43 PM   #8
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
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, 12:43 PM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
"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 12:46 PM.
 
Old 10-04-2012, 01:02 PM   #10
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

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


Reply



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 02:34 AM
No configuration found for eth0 rparnold SUSE / openSUSE 5 11-14-2007 11:13 AM
eth0 Not Found Trano Slackware 10 01-15-2005 05:24 PM
eth0: Device not found!!!! PDD Linux - Networking 6 11-17-2004 02:43 PM
eth0 not found Damnit73 Linux - Newbie 13 05-01-2004 01:14 AM

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

All times are GMT -5. The time now is 07:21 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
Open Source Consulting | Domain Registration