chkvsk
December 20, 2023, 3:57am
1
Having issue with reconnecting iwd wireless on Beaglebone Green Wireless.
After running connection procedure everything seams to work fine, but after rebooting wireless interface does not reconnect. Everything was working good on 11.8 with wpa_supplicant. Journal reports:
Bookworm IoT image 2023-12-11
journalctl -f -u iwd
Dec 10 20:17:04 vector3 iwd[627]: HT RX MCS indexes:
Dec 10 20:17:04 vector3 iwd[627]: 0-7
Dec 10 20:17:04 vector3 iwd[627]: Ciphers: CCMP-128 TKIP
Dec 10 20:17:04 vector3 iwd[627]: Supported iftypes: station ap p2p-client p2p-go p2p-device
Dec 10 20:17:05 vector3 iwd[627]: Received error during CMD_TRIGGER_SCAN: Invalid argument (22)
I just pushed iwd (2.11-1bbbio0) i don’t know if it’ll help anything, but it’s currently the latest release from: wireless/iwd.git - Wireless daemon for Linux
sudo apt update ; sudo apt upgrade
Regards,
chkvsk
December 20, 2023, 5:32am
3
Same thing, same issue. Cleared all settings by “forget” and then repeat all steps as described here:
So with todays’ 12.x snapshot uploads: Debian 12.x (Bookworm) - Monthly Snapshot - 2023-10-07 and ARM64 - Debian 12.x (Bookworm) - Monthly Snapshots - 2023-10-07 - #2
We have 2 big changes in the stack…
RNDIS
RNDIS is now disabled by default, you will not see two usbX interfaces, only usb0, which uses NCM… This means, Linux, Mac, and Windows (11) are all driverless, and use 192.168.7.2.
If your on Windows 10, 8.x, 7, Vista, XP etc, sorry no out of the box NCM driver. If someone figures out h…
Then reboot and no connection again.
Tried 11.8 with wpa_supplicant on the same hardware - works excellent.
Just a short update on this, still fighitn it in 2.12 iwd, what’s weird, if manually reset it:
sudo systemctl restart iwd
I can get it to come alive… So still very very broken…
Jan 09 15:11:18 41-am335x-bbbw iwd[363]: Received error during CMD_TRIGGER_SCAN: Invalid argument (22)
Jan 09 15:11:28 41-am335x-bbbw iwd[363]: Received error during CMD_TRIGGER_SCAN: Invalid argument (22)
Jan 09 15:11:48 41-am335x-bbbw iwd[363]: Received error during CMD_TRIGGER_SCAN: Invalid argument (22)
Jan 09 15:12:24 41-am335x-bbbw sudo[643]: debian : TTY=ttyS0 ; PWD=/home/debian ; USER=root ; COMMAND=/usr/bin/systemctl restart iwd
Jan 09 15:12:24 41-am335x-bbbw iwd[363]: Terminate
Jan 09 15:12:24 41-am335x-bbbw iwd[363]: Removing scan context for wdev 2
Jan 09 15:12:24 41-am335x-bbbw systemd[1]: Stopping iwd.service - Wireless service...
Jan 09 15:12:25 41-am335x-bbbw iwd[363]: Removing scan context for wdev 3
Jan 09 15:12:25 41-am335x-bbbw iwd[363]: D-Bus disconnected, quitting...
Jan 09 15:12:25 41-am335x-bbbw systemd[1]: iwd.service: Deactivated successfully.
Jan 09 15:12:25 41-am335x-bbbw systemd[1]: Stopped iwd.service - Wireless service.
Jan 09 15:12:26 41-am335x-bbbw systemd[1]: Starting iwd.service - Wireless service...
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Wireless daemon version 2.12
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Loaded configuration from /etc/iwd/main.conf
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: station: Network configuration is disabled.
Jan 09 15:12:26 41-am335x-bbbw systemd[1]: Started iwd.service - Wireless service.
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Wiphy: 0, Name: phy0
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Permanent Address: 5c:31:3e:e2:24:6a
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 2.4GHz Band:
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Bitrates (non-HT):
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 1.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 2.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 5.5 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 11.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 6.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 9.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 12.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 18.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 24.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 36.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 48.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 54.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: HT Capabilities:
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: HT20
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Short GI for 20Mhz
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: HT RX MCS indexes:
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 0-15
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 5GHz Band:
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Bitrates (non-HT):
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 6.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 9.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 12.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 18.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 24.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 36.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 48.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 54.0 Mbps
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: HT Capabilities:
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: HT40
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Short GI for 20Mhz
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Short GI for 40Mhz
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: HT RX MCS indexes:
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: 0-7
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Ciphers: CCMP-128 TKIP
Jan 09 15:12:26 41-am335x-bbbw iwd[650]: Supported iftypes: station ap p2p-client p2p-go p2p-device
Jan 09 15:12:28 41-am335x-bbbw iwd[650]: hardware_rekey not supported
Jan 09 15:22:06 41-am335x-bbbw iwd[650]: Received Deauthentication event, reason: 34, from_ap: true
Regards,
Just a nother update, this is now resolved in…
debian@BeagleBone:~$ dpkg --list | grep iwd
ii iwd 2.13-1bbbio2~bookworm+20240115 armhf wireless daemon for Linux
It’s been pretty stable over the last week between reboots and reconnecting…
Regards,
chkvsk
January 24, 2024, 6:55am
6
No luck. Still same old issue. How can I change it back to wpa_supplicant?
Fred27
January 24, 2024, 1:37pm
7
I’m also finding that iwd does not detect some wireless networks that were just fine in the Debian 10.3 build with connmanctl.
I’m using the same BeagleBone Blue hardware. A network from the (reasonably old) router provided by my phone company is detected fine in both Debian 10.x and 12.x. A WiFi-6 network (from a TP-Link Deco PX50) is detected fine in Debian 10.x but not by 12.x.
chkvsk
January 25, 2024, 3:53am
8
Hm… It looks like WIFI6 access points could be the issue. I took one of my Beaglebone Green Wireless and tried on couple different sites with both 11.x and 12.x. The issue happens on the site with one of the Wifi6 assess points (Unifi) and iwd.
chkvsk
January 28, 2024, 9:47pm
9
Updates: I shut down WIFI6 mode on access points. Now iwd works ok. Still testing.
Which Unfi Access point are you using? UAP-AC-Lite here:
Regards,
chkvsk
January 29, 2024, 9:40pm
11
I have Unifi U6 Lite and AC Lite on the problematic site.
I created additional WIFI network and limited it to 2.4G only. iwd works much better on this network. One more thing, iwd don’t’ like hidden WIFI names.