You are not logged in.

#1 2022-09-22 14:39:13

lucyx86
Member
Registered: 2022-09-22
Posts: 6

[SOLVED] NetworkManager saying that 'device not ready' when opening...

Recently, I found myself unable to connect to WPA2 Personal wifi networks because of some sort of reason I never found out, WPA2 Enterprise worked fine but WPA2 Personal did not. I tried to fix the problem via google but ended up ruining wpa_supplicant because of changing my config (i think) and I ruined NetworkManager also. Somewhere along the line, my wireless interface was renamed to wlp3s0 from wlan0 and NetworkManager says that the device is 'unavailable'. Rfkill does not list wlan as blocked and I have no clue what I have done. I now cannot connect to any wifi networks at all. Any help?

Last edited by lucyx86 (2022-09-22 17:03:10)

Offline

#2 2022-09-22 14:46:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] NetworkManager saying that 'device not ready' when opening...

Post

sudo journalctl -b
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

https://wiki.archlinux.org/title/List_o … n_services

Offline

#3 2022-09-22 15:37:06

lucyx86
Member
Registered: 2022-09-22
Posts: 6

Re: [SOLVED] NetworkManager saying that 'device not ready' when opening...

Offline

#4 2022-09-22 16:09:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] NetworkManager saying that 'device not ready' when opening...

Sep 22 16:24:58 arch dbus-daemon[472]: Encountered error 'Error in file /usr/share/dbus-1/system.d/wpa_supplicant.conf, line 1, column 1: not well-formed (invalid token)
                                       ' while parsing '/usr/share/dbus-1/system.d/wpa_supplicant.conf'
Sep 22 16:24:58 arch dbus-daemon[472]: dbus-daemon[472]: Encountered error 'Error in file /usr/share/dbus-1/system.d/wpa_supplicant.conf, line 1, column 1: not well-formed (invalid token)
Sep 22 16:24:58 arch dbus-daemon[472]: ' while parsing '/usr/share/dbus-1/system.d/wpa_supplicant.conf'

You somehow broke wpa_supplicant.

pacman -Qkk wpa_suppicant

Why and what did you edit there? you normally don't need to touch that, reinstall the wpa_supplicant package and make sure that is replaced with the default.

Offline

#5 2022-09-22 16:58:21

lucyx86
Member
Registered: 2022-09-22
Posts: 6

Re: [SOLVED] NetworkManager saying that 'device not ready' when opening...

cant remeber what exactly i edited but i think i replaced it with the default config
also thank you, reinstalling wpa_supplicant worked perfect, can connect to wifi again smile

Last edited by lucyx86 (2022-09-22 16:59:34)

Offline

#6 2022-09-22 17:27:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [SOLVED] NetworkManager saying that 'device not ready' when opening...

That's not a wpa_supplicant config file but a configuration for the DBUS daemon, so if you placed a random wpa_supplicant.conf there then this would indeed explain the issues.

Offline

Board footer

Powered by FluxBB