You are not logged in.

#1 2012-08-02 21:23:51

cubisttriangle
Member
Registered: 2012-01-22
Posts: 11

Network interfaces missing after restoring system from glibc conflict

After wrongly trying to --force the glibc upgrade to go through yikes, I followed the steps here to get a bootable system, but now I have no network interfaces (eth0 or wlan0).  I looked at /lib/network/connections/ethernet and saw that the script was looking for the network interfaces in /sys/class/net.  Perusal of that directory yields only the "lo" interface. ifconfig returns only "lo". Consequently, neither

dhcpcd eth0

nor

ip link set eth0

work.

Reading up on modprobe, I learned that it looks in /lib/modules/ to find available modules. This directory no longer exists in my system (nor does /usr/lib/modules), yet lsmod returns...

Modules
btrfs
libcrc32c
zlib_deflate
sr_mod
sd_mod
cdrom
crc32c_intel
ahci
libahci
libata
xhci_hcd
ehci_hcd
scsi_mod
usbcore
usb_common

What can I do to get my interfaces back? I'm at a loss. Thanks.

Last edited by cubisttriangle (2012-08-03 00:24:10)

Offline

#2 2012-08-03 00:39:34

Citanul
Member
Registered: 2012-02-04
Posts: 6
Website

Re: Network interfaces missing after restoring system from glibc conflict

You need to reinstall your kernel package, since the move destroyed the original /lib/modules.
The kernel packages contain all the modules.

Try, on your installation:

tar -tf /var/cache/pacman/pkg/linux-3.4<PRESS TAB> | grep modules

If they all show as being on /usr/lib/modules, then whatever kernel package you have on your cache is new enough.
Then you can do something like:

pacman -U /var/cache/pacman/pkg/linux-3.4.whatever.pkg.tar.xz

And, problem solved. Hopefully.

If you don't have a recent linux package on your cache, try booting from an Arch install CD and use it to reinstall your linux kernel, using the instructions here:
https://wiki.archlinux.org/index.php/In … l_the_core
To reinstall the core... or you could just choose something like:

pacman -S linux -r /mnt

assuming you mounted your installation's root to /mnt.

Last edited by Citanul (2012-08-03 00:41:25)

Offline

#3 2012-08-07 03:59:50

tladuke
Member
Registered: 2009-07-23
Posts: 176

Re: Network interfaces missing after restoring system from glibc conflict

I think I'm having a similar problem; I just updated and now I have no network interfaces and no modules dir. I re-installed 3.4.7-1 from the cache and that didn't fix it. Now I downgraded to 3.4.6-1 and I'm back up, but what do I do now? ...

Offline

Board footer

Powered by FluxBB