I've recently installed debian 12 on my HP laptop. The installer automatically transferred my WiFi network information to the installed OS after finishing, and since then I never touched anything related to wifi. Now that I'm out of home, I wanted to connect to another WiFi, but I wasnt able to.
First, nmtui didnt show anythining related to wifi. I had to modify the file /etc/NewtorkManager/NetworkManager.conf and modify the managed parameter to true.
After that, I stll wasnt anble to see wifi connections, but at least nmcli didnt show both the ethernet and wifi asunmanaged, and instead showed them as unavailable.
After looking a bit, I discovered this:I looked up a bit more and found that running this:fixes my issue, as long as I keep my laptop on.
I've looked up a bit more, and in theory there must be a confict with two network managers, but the thing is that I havent installed nothing network-related, and i dont know how to identify wich are the managers that are in conflict
First, nmtui didnt show anythining related to wifi. I had to modify the file /etc/NewtorkManager/NetworkManager.conf and modify the managed parameter to true.
After that, I stll wasnt anble to see wifi connections, but at least nmcli didnt show both the ethernet and wifi asunmanaged, and instead showed them as unavailable.
After looking a bit, I discovered this:
Code:
fpp@fpp-g42:~$ sudo systemctl status wpa_supplicant.service● wpa_supplicant.service - WPA supplicant Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; disabled; preset: enabled) Active: active (running) since Sun 2023-12-31 19:54:04 -03; 2min 19s ago Main PID: 583 (wpa_supplicant) Tasks: 1 (limit: 6678) Memory: 1.7M CPU: 82ms CGroup: /system.slice/wpa_supplicant.service └─583 /sbin/wpa_supplicant -u -s -O "DIR=/run/wpa_supplicant GROUP=netdev"dic 31 19:54:54 fpp-g42 wpa_supplicant[583]: nl80211: kernel reports: Match already configureddic 31 19:54:54 fpp-g42 wpa_supplicant[583]: nl80211: kernel reports: Match already configureddic 31 19:54:54 fpp-g42 wpa_supplicant[583]: nl80211: kernel reports: Match already configureddic 31 19:54:54 fpp-g42 wpa_supplicant[583]: nl80211: kernel reports: Match already configureddic 31 19:54:54 fpp-g42 wpa_supplicant[583]: ctrl_iface exists and seems to be in use - cannot override itdic 31 19:54:54 fpp-g42 wpa_supplicant[583]: Delete '/run/wpa_supplicant/wlo2' manually if it is not used anymoredic 31 19:54:54 fpp-g42 wpa_supplicant[583]: Failed to initialize control interface 'DIR=/run/wpa_supplicant GROUP=netdev'. You may have another wpa_supplicant process already running or the file was left by an unclean termination of wpa_supplicant in which case you will need to manually remove this file before starting wpa_supplicant again.dic 31 19:54:54 fpp-g42 wpa_supplicant[583]: wlo2: CTRL-EVENT-DSCP-POLICY clear_alldic 31 19:54:54 fpp-g42 wpa_supplicant[583]: wlo2: CTRL-EVENT-DSCP-POLICY clear_alldic 31 19:54:54 fpp-g42 wpa_supplicant[583]: nl80211: deinit ifname=wlo2 disabled_11b_rates=0fpp@fpp-g42:~$ sudo systemctl status NetworkManager● NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; preset: enabled) Active: active (running) since Sun 2023-12-31 19:54:03 -03; 2min 30s ago Docs: man:NetworkManager(8) Main PID: 519 (NetworkManager) Tasks: 3 (limit: 6678) Memory: 16.4M CPU: 263ms CGroup: /system.slice/NetworkManager.service └─519 /usr/sbin/NetworkManager --no-daemondic 31 19:54:14 fpp-g42 NetworkManager[519]: <error> [1704063254.4349] device (wlo2): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.dic 31 19:54:24 fpp-g42 NetworkManager[519]: <warn> [1704063264.3624] device (wlo2): re-acquiring supplicant interface (#2).dic 31 19:54:24 fpp-g42 NetworkManager[519]: <error> [1704063264.4232] device (wlo2): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.dic 31 19:54:34 fpp-g42 NetworkManager[519]: <warn> [1704063274.3631] device (wlo2): re-acquiring supplicant interface (#3).dic 31 19:54:34 fpp-g42 NetworkManager[519]: <error> [1704063274.4351] device (wlo2): Couldn't initialize supplicant interface: gDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.dic 31 19:54:44 fpp-g42 NetworkManager[519]: <warn> [1704063284.3643] device (wlo2): re-acquiring supplicant interface (#4).dic 31 19:54:44 fpp-g42 NetworkManager[519]: <error> [1704063284.4390] device (wlo2): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.dic 31 19:54:54 fpp-g42 NetworkManager[519]: <warn> [1704063294.3674] device (wlo2): re-acquiring supplicant interface (#5).dic 31 19:54:54 fpp-g42 NetworkManager[519]: <error> [1704063294.4311] device (wlo2): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.dic 31 19:54:54 fpp-g42 NetworkManager[519]: <info> [1704063294.4312] device (wlo2): supplicant interface keeps failing, giving up
Code:
fpp@fpp-g42:~$ sudo killall wpa_supplicantfpp@fpp-g42:~$ sudo systemctl restart NetworkManager
I've looked up a bit more, and in theory there must be a confict with two network managers, but the thing is that I havent installed nothing network-related, and i dont know how to identify wich are the managers that are in conflict
Statistics: Posted by fpp — 2023-12-31 23:28 — Replies 1 — Views 26