I tried this ~ 6 months ago and found issues with the Realtek NIC, has anyone since managed to get LibreELEC running on Intel Compute Stick (STCK1A32WFCR) using the stick's WiFi?
A.
Posts by Exponentially Digital
-
-
Well, that was premature

Per the previous post, I had LibreELEC running flawlessly after changing my wifi password removing the problematic character, that is until I removed the USB NIC and restarted. From then onward, it refused to accept a valid password, and I kept getting the "invalid-key" error. It was such a nicely formatted and documented bug report too. SFX: hangs head in shame.
FTR, I eventually used Ubuntu LTS 24.04.3 and have had no problems with the Realtek RTL8723BS.
-
With the imminent demise of W10 support, I loaded LibreELEC last night onto my Intel Compute Stick (STCK1A32WFCR) and was hit by an "invalid-key" error attempting to connect to wi-fi. Today I did some serious troubleshooting, came across several posts on these forums talking about it being a sometimes intermittent issue, but for me, it was 100% of the time. I ultimately found that the issue was caused by my wi-fi password containing these characters
\z @ < }
I think the issue is the shell escaping the character after the backslash and causing the password to be interpreted incorrectly. I downloaded https://kernel.googlesource.com/pub/scm/networ…fs/tags/3.9/src but didn't have a lot of luck pinpointing the exact line of code, I didn't examine LibreELEC source code, and I didn't load the password into a config file and present that to connman, so it could well be in how LibreELEC ingests the password and presents it to connman etc.
Problem: "invalid-key" when attempting to connect with wifi
OS: LibreELEC (official) 12.2.0 generic_x86_64
Hardware: Intel Corporation STCK1A32WFCR -> https://www.intel.com/content/www/us…ifications.html (appears to use Realtek RTL8723BS for Wifi/BT - only supports 2.4Ghz)
Router: ASUS RT-AX88U, firmware Version 3.0.0.4.388_24333
Tried: protected management frames enabled, disabled, or required; auth set to WPA2-personal
Repeatable: 100%
Solved: removed special characters from Wi-Fi password
Steps to reproduce:1. Use a wifii password with these characters \z @ < }
2. Receive invalid-key error after entering the correct password
Code
Display Morearcstick:~ # connmanctl connmanctl> agent on Agent registered connmanctl> scan wifi Scan completed for wifi connmanctl> services *AO Wired ethernet_000acd283173_cable 66-75-63-5B-20-79-6F-75 wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk <and 5 other networks> connmanctl> connect wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk Agent RequestInput wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk Passphrase = [ Type=psk, Requirement=mandatory ] Passphrase? xxxxxxxxxxxxxxxx Agent ReportError wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk invalid-key connmanctl> Retry (yes/no)? no connmanctl> exit3. Enable debug logging
Codearcstick:~ # mkdir -p /storage/.config/system.d/ arcstick:~ # cp /usr/lib/systemd/system/iwd.service /storage/.config/system.d/iwd.service arcstick:~ # nano /storage/.config/system.d/iwd.service <changed to "ExecStart=/usr/bin/iwd --debug"> arcstick:~ # cp /usr/lib/systemd/system/connman.service /storage/.config/system.d/connman.service arcstick:~ # nano /storage/.config/system.d/connman.service <changed to "ExecStart=/usr/sbin/connmand -nr --debug"> arcstick:~ # systemctl daemon-reload arcstick:~ # systemctl restart connman arcstick:~ # systemctl restart iwd4. Retry with debug logging enabled, and again receive the error invalid-key
Code
Display Morearcstick:~ # connmanctl connmanctl> agent on Agent registered connmanctl> scan wifi Scan completed for wifi connmanctl> services *AO Wired ethernet_000acd283173_cable 66-75-63-5B-20-79-6F-75 wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk <and 3 other networks> connmanctl> connect wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk Agent RequestInput wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk Passphrase = [ Type=psk, Requirement=mandatory ] Passphrase? xxxxxxxxxxxxxxxx Agent ReportError wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk invalid-key connmanctl> Retry (yes/no)? no connmanctl> exit- before enabling debug logging: journalctl -b 0 https://paste.libreelec.tv/beloved-oryx.log
- after enabling debug logging for connman & iwd: journalctl -b -l https://paste.libreelec.tv/teaching-slug.log, sample section below
Code
Display MoreSep 17 08:58:28 arcstick iwd[988]: event: connect-failed, status: 1 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/station.c:station_reset_connection_state() 2 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/station.c:station_roam_state_clear() 2 Sep 17 08:58:28 arcstick iwd[988]: event: state, old: connecting, new: disconnected Sep 17 08:58:28 arcstick iwd[988]: event: state, old: disconnected, new: autoconnect_quick Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_periodic_start() Starting periodic scan for wdev 1 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/wiphy.c:wiphy_radio_work_insert() Inserting work item 7 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/wiphy.c:wiphy_radio_work_next() Starting work item 7 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/netdev.c:netdev_mlme_notify() MLME notification Connect(46) Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/netdev.c:netdev_connect_event() Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/netdev.c:netdev_connect_event() aborting and ignore_connect_event not set, proceed Sep 17 08:58:28 arcstick iwd[988]: Unexpected connection related event -- is another supplicant running? Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_notify() Scan notification Trigger Scan(33) Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_request_triggered() Passive scan triggered for wdev 1 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_periodic_triggered() Periodic scan triggered for wdev 1 Sep 17 08:58:28 arcstick connmand[979]: ../plugins/iwd.c:cm_network_connect_cb() /net/connman/iwd/0/2/36362d37352d36332d35422d32302d37392d36462d3735_psk connect failed: net.connman.iwd.Failed Sep 17 08:58:28 arcstick connmand[979]: ../src/network.c:connman_network_set_error() network 0x36c9ae50 error 3 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/station.c:station_dbus_disconnect() Sep 17 08:58:28 arcstick iwd[988]: event: state, old: autoconnect_full, new: disconnected Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_periodic_stop() Stopping periodic scan for wdev 1 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_cancel() Trying to cancel scan id 7 for wdev 1 Sep 17 08:58:28 arcstick iwd[988]: /build/build.LibreELEC-Generic.x86_64-12.2.0/build/iwd-3.9/src/scan.c:scan_cancel() Scan has been triggered, wait for it to complete Sep 17 08:58:28 arcstick connmand[979]: ../src/service.c:__connman_service_indicate_error() service 0x36c9af70 error 7 Sep 17 08:58:28 arcstick connmand[979]: ../src/service.c:set_error() service 0x36c9af70 (wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk) error 7 (invalid-key) Sep 17 08:58:28 arcstick connmand[979]: Interface wlan0 [ wifi ] error "invalid-key" Sep 17 08:58:28 arcstick connmand[979]: ../src/service.c:__connman_service_ipconfig_indicate_state() service 0x36c9af70 (wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk) type 1 (IPv4) old state 3 (configuration) new state 7 (failure) Sep 17 08:58:28 arcstick connmand[979]: ../src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0x36ca6070 Sep 17 08:58:28 arcstick connmand[979]: ../src/ipconfig.c:__connman_ipconfig_unref_debug() 0x36ca6070 ref 2 by ../src/ipconfig.c:1998:__connman_ipconfig_disable() Sep 17 08:58:28 arcstick connmand[979]: ../src/service.c:service_indicate_state() service 0x36c9af70 (wifi_dc85dee52043_36362d37352d36332d35422d32302d37392d36462d3735_managed_psk) old configuration - new failure/idle => failure Sep 17 08:58:28 arcstick connmand[979]: Interface wlan0 [ wifi ] state is failure- dmesg https://paste.libreelec.tv/famous-alpaca.log
- lsusb https://paste.libreelec.tv/powerful-beetle.log
- lspci https://paste.libreelec.tv/funky-locust.log
A.