LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   eth0 not found after upgrading to slack 14 (http://www.linuxquestions.org/questions/slackware-14/eth0-not-found-after-upgrading-to-slack-14-a-4175430512/)

Francexi 10-04-2012 11:36 AM

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

Didier Spaier 10-04-2012 11:56 AM

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.

Francexi 10-04-2012 12:06 PM

Quote:

Originally Posted by Didier Spaier (Post 4797255)
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

Didier Spaier 10-04-2012 12:24 PM

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.

Francexi 10-04-2012 12:26 PM

Quote:

Originally Posted by Didier Spaier (Post 4797287)
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?

Didier Spaier 10-04-2012 12:32 PM

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>".

Francexi 10-04-2012 12:36 PM

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

xflow7 10-04-2012 12:43 PM

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.

Didier Spaier 10-04-2012 12:43 PM

"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.

Francexi 10-04-2012 01:02 PM

reinstalling the kernel and its modules and running mkinitrd seems working. Thanks for all


All times are GMT -5. The time now is 02:32 PM.