Wifi Does not connect since last update

reinstalled iwd, disabled wpa (cant remove it due to dependency with network manager), WiFi addresses are visible now, but still can’t connect.

iwd status:

iwd.service - Wireless service
     Loaded: loaded (/usr/lib/systemd/system/iwd.service; enabled; preset: disabled)
     Active: active (running) since Wed 2022-12-28 12:30:04 EST; 52s ago
       Docs: man:iwd(8)
             man:iwd.config(5)
             man:iwd.network(5)
             man:iwd.ap(5)
   Main PID: 483 (iwd)
      Tasks: 1 (limit: 18912)
     Memory: 2.3M
        CPU: 18ms
     CGroup: /system.slice/iwd.service
             └─483 /usr/lib/iwd/iwd

:arrows_counterclockwise:

:point_up_2:t5:

output is:

wifi_backend.conf

contents of .conf:

[device]
wifi.backend=iwd
1 Like

And

cat /etc/NetworkManager/conf.d/wifi_backend.conf

?

Edit: Alright, I see your edit.

I don’t have either. iwd is installed but not active. wpa_supplicant is active. :man_shrugging:

Run

sudo systemctl stop wpa_supplicant

sudo systemctl mask wpa_supplicant

Reboot and check again.

I guess the package get installed in a default EnOS’ install. It is not enabled or configured to be used.

Did that, rebooted

wpa status:

wpa_supplicant.service
     Loaded: masked (Reason: Unit wpa_supplicant.service is masked.)
     Active: inactive (dead)

iwd is enabled and running…

Still can’t connect to Wifi

@pebcak
It is my understanding in order to use iwd you have to do the following? Correct me if i am wrong? :man_shrugging:

 /etc/NetworkManager/conf.d/iwd.conf

add

[device]
wifi.backend=iwd

Then:

sudo systemctl stop NetworkManager
sudo systemctl disable --now wpa_supplicant
sudo systemctl restart NetworkManager

Edit: Or maybe the OP should have just stopped and restarted NetworkManager.service with wpa_supplicant running to see if it worked?

Try removing the saved networks.


sudo systemctl restart iwd
Sudo systemctl restart NetworkManager

If still no luck, there must be something else going on. I have no clue what.

1 Like

Right, but you would need to add
sudo systemctl enable --now iwd
to the pot as well if your setting it up from scratch.

Yes …I’m just thinking out loud because i have NetworkManager and wpa_supplicant. Although iwd is installed it’s not being used.

Bloat!

I know … go figure! :rofl:

1 Like
NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
     Active: active (running) since Wed 2022-12-28 13:01:41 EST; 1min 15s ago
       Docs: man:NetworkManager(8)
   Main PID: 4745 (NetworkManager)
      Tasks: 3 (limit: 18912)
     Memory: 4.1M
        CPU: 246ms
     CGroup: /system.slice/NetworkManager.service
             └─4745 /usr/bin/NetworkManager --no-daemon

Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6375] device (wlan0): state change: disconnect>
Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6377] manager: NetworkManager state is now CON>
Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6379] device (wlan0): state change: prepare ->>
Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6412] device (wlan0): state change: config -> >
Dec 28 13:02:40 XXX NetworkManager[4745]: <warn>  [1672250560.6416] device (wlan0): No agents were available>
Dec 28 13:02:40 XXX NetworkManager[4745]: <error> [1672250560.6418] device (wlan0): Activation: (wifi) Netwo>
Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6418] device (wlan0): state change: need-auth >
Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6419] manager: NetworkManager state is now DIS>
Dec 28 13:02:40 XXX NetworkManager[4745]: <warn>  [1672250560.6420] device (wlan0): Activation: failed for c>
Dec 28 13:02:40 XXX NetworkManager[4745]: <info>  [1672250560.6427] device (wlan0): state change: failed -> >

I reinstalled Endeavour 3 months back and iwd did not come installed with it .

One might think so.

Compare

pactree wpa_supplicant

with

pactree iwd

:wink:

1 Like

I’m not sure? It’s on mine currently. Honestly i don’t think iwd is the reason it’s not working.

Should I try that with removing iwd again?

You need to make up your mind for one or the other before any further troubleshooting would be possible.

:arrows_counterclockwise: :wink: