You are not logged in.

#1 2024-05-05 16:56:18

adrit1234
Member
Registered: 2023-06-21
Posts: 24

[SOLVED]NetworkManager wifi not working due to dbus issues

While I was updating my system today, my laptop went into a kernel panic(screen freeze, caps lock LED blinking, sound being replayed, etc) so I manually shut my laptop down by pressing the power button.

When I tried booting in from grub, however, grub goes into grub rescue mode as it couldn't find the kernel image. I then used a live cd to chroot, mount the proper partitions and reinstall the kernel, systemd and mkinitcpio which solved the grub issue. Yet during the boot, the kernel messages show the D-Bus System Message Bus alongside Network Manager, Bluetooth, etc failed to start like in this post: https://bbs.archlinux.org/viewtopic.php?id=292174

I then got my GUI and other services to load again by replacing dbus-broker-units to dbus-daemon-units via a chroot but now the wifi no longer works. The Network Manager logs showed that wpa_supplicant failed to start:

May 05 23:08:50 archlinux NetworkManager[705]: <error> [1714925330.0592] device (wlan0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service
May 05 23:08:52 archlinux NetworkManager[705]: <info>  [1714925332.3689] manager: startup complete
May 05 23:08:56 archlinux NetworkManager[705]: <info>  [1714925336.8746] agent-manager: agent[d7a71416cd5d669e,:1.51/org.freedesktop.nm-applet/1000]: agent registered
May 05 23:09:00 archlinux NetworkManager[705]: <warn>  [1714925340.1877] device (wlan0): re-acquiring supplicant interface (#1).
May 05 23:09:03 archlinux NetworkManager[705]: <error> [1714925343.1887] device (wlan0): Couldn't initialize supplicant interface: Failed to D-Bus activate wpa_supplicant service

And checking the wpa_supplicant logs showed this:

-- Boot 95161a5d85b3490d91a709d4cb09c08b --
May 05 23:08:47 archlinux systemd[1]: Starting WPA supplicant...
May 05 23:08:47 archlinux wpa_supplicant[807]: /usr/bin/wpa_supplicant: error while loading shared libraries: /usr/lib/libpcsclite.so.1: file too short
May 05 23:08:47 archlinux systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=127/n/a
May 05 23:08:47 archlinux systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
May 05 23:08:47 archlinux systemd[1]: Failed to start WPA supplicant.

Could anyone offer me some insight?

Last edited by adrit1234 (2024-05-06 03:21:56)

Offline

#2 2024-05-05 17:33:14

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,248
Website

Re: [SOLVED]NetworkManager wifi not working due to dbus issues

Can you reinstall the pcsclite package to fix the shared library error? Also reinstall anything that was due for the interrupted system upgrade.

EDIT: the 'grub-rescue>' prompt indicates that GRUB cannot find it's modules.

Last edited by Head_on_a_Stick (2024-05-05 17:34:10)


"The nation-state domesticates the society in the name of capitalism and alienates the community from its natural foundations."
Democratic Confederalism, Abdullah Öcalan.

Offline

#3 2024-05-06 02:09:55

adrit1234
Member
Registered: 2023-06-21
Posts: 24

Re: [SOLVED]NetworkManager wifi not working due to dbus issues

Reinstalling pcsclite package throws errors:

error: failed to commit transaction (conflicting files)
pcsclite: /usr/bin/pcsc-spy exists in filesystem
pcsclite: /usr/bin/pcscd exists in filesystem
pcsclite: /usr/include/PCSC/debuglog.h exists in filesystem
pcsclite: /usr/include/PCSC/ifdhandler.h exists in filesystem
pcsclite: /usr/include/PCSC/pcsclite.h exists in filesystem
pcsclite: /usr/include/PCSC/reader.h exists in filesystem
pcsclite: /usr/include/PCSC/winscard.h exists in filesystem
pcsclite: /usr/include/PCSC/wintypes.h exists in filesystem
pcsclite: /usr/lib/libpcsclite.so exists in filesystem
pcsclite: /usr/lib/libpcsclite.so.1 exists in filesystem
pcsclite: /usr/lib/libpcsclite.so.1.0.0 exists in filesystem
pcsclite: /usr/lib/libpcsclite_real.so exists in filesystem
pcsclite: /usr/lib/libpcsclite_real.so.1 exists in filesystem
pcsclite: /usr/lib/libpcsclite_real.so.1.0.0 exists in filesystem
pcsclite: /usr/lib/libpcscspy.so exists in filesystem
pcsclite: /usr/lib/libpcscspy.so.0 exists in filesystem
pcsclite: /usr/lib/libpcscspy.so.0.0.0 exists in filesystem
pcsclite: /usr/lib/pkgconfig/libpcsclite.pc exists in filesystem
pcsclite: /usr/lib/systemd/system/pcscd.service exists in filesystem
pcsclite: /usr/lib/systemd/system/pcscd.socket exists in filesystem
pcsclite: /usr/share/doc/pcsc-lite/README.polkit exists in filesystem
pcsclite: /usr/share/doc/pcsc-lite/setup_spy.sh exists in filesystem
pcsclite: /usr/share/licenses/pcsclite/LICENSE.0BSD exists in filesystem
pcsclite: /usr/share/licenses/pcsclite/LICENSE.BSD-2-Clause exists in filesystem
pcsclite: /usr/share/licenses/pcsclite/LICENSE.BSD-3-Clause exists in filesystem
pcsclite: /usr/share/licenses/pcsclite/LICENSE.GPL-3.0-or-later exists in filesystem
pcsclite: /usr/share/man/man1/pcsc-spy.1.gz exists in filesystem
pcsclite: /usr/share/man/man5/reader.conf.5.gz exists in filesystem
pcsclite: /usr/share/man/man8/pcscd.8.gz exists in filesystem
pcsclite: /usr/share/polkit-1/actions/org.debian.pcsc-lite.policy exists in filesystem
Errors occurred, no packages were upgraded.

Offline

#4 2024-05-06 03:21:29

adrit1234
Member
Registered: 2023-06-21
Posts: 24

Re: [SOLVED]NetworkManager wifi not working due to dbus issues

I got it fixed now! I renamed all those files in the error messages:
https://wiki.archlinux.org/title/Pacman … )%22_error
And then reinstalled pcsclite. I booted in again and the wifi works now. Thank you for the guidance!

Offline

Board footer

Powered by FluxBB