Hey all,
I'm trying to set up LibreELEC on my PINE64 RockPro64 and I'm having a few issues with connecting to my network via wifi. I can't really find any great information about it through googling so I'm hoping someone here can help me out. I think the issue here is with software in LibreELEC or with something I am doing incorrectly at the OS level but I can go to the hardware for support if someone can show me how to figure that out.
I used the latest (as of 03-22-2023) 11.0.0 arm image and wrote it to the SD Card.
The WIFI Module is plugged in.
I can see the wifi networks in Settings > LibreElec > Connections but I cannot connect to the network. I continue to get the error invalid-key.
I've checked my password is correct in my router configuration and I'm 100% sure it's correct.
Plugging in Ethernet I can SSH into the machine and check the network configuration.
LibreELEC:~/.config/system.d # journalctl -u iwd
Mar 23 17:49:48 LibreELEC systemd[1]: Starting iwd.service...
Mar 23 17:49:48 LibreELEC iwd[420]: Wireless daemon version 2.3
Mar 23 17:49:48 LibreELEC systemd[1]: Started iwd.service.
Mar 23 17:49:48 LibreELEC iwd[420]: station: Network configuration is disabled.
Mar 23 17:49:49 LibreELEC iwd[420]: Wiphy: 0, Name: phy0
Mar 23 17:49:49 LibreELEC iwd[420]: Permanent Address: 90:e8:68:73:8a:43
Mar 23 17:49:49 LibreELEC iwd[420]: 2.4Ghz Band:
Mar 23 17:49:49 LibreELEC iwd[420]: Bitrates (non-HT):
Mar 23 17:49:49 LibreELEC iwd[420]: 1.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 2.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 5.5 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 11.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 6.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 9.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 12.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 18.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 24.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 36.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 48.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 54.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 5Ghz Band:
Mar 23 17:49:49 LibreELEC iwd[420]: Bitrates (non-HT):
Mar 23 17:49:49 LibreELEC iwd[420]: 6.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 9.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 12.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 18.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 24.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 36.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 48.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: 54.0 Mbps
Mar 23 17:49:49 LibreELEC iwd[420]: Ciphers: CCMP-128 TKIP
Mar 23 17:49:49 LibreELEC iwd[420]: Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
Mar 23 17:49:49 LibreELEC iwd[420]: Wiphy phy0 will only use the default interface
Mar 23 17:49:49 LibreELEC iwd[420]: No default interface for wiphy 0
Mar 23 17:49:49 LibreELEC iwd[420]: Could not register frame watch type 00b0: -22
Display More
iwd seems to detect the module and it seems to work ok with those 3 slightly worrying lines at end.
I added a /storage/.config/system.d/iwd.service file where I added the --developer option to the ExecStart option (Is this the right way to modify system.d daemons?)
LibreELEC:~/.config/system.d # iwctl device list
Devices
--------------------------------------------------------------------------------
Name Address Powered Adapter Mode
--------------------------------------------------------------------------------
wlan0 90:e8:68:73:8a:43 on phy0 station
LibreELEC:~/.config/system.d # iwctl device list
Devices
--------------------------------------------------------------------------------
Name Address Powered Adapter Mode
--------------------------------------------------------------------------------
wlan0 90:e8:68:73:8a:43 on phy0 station
LibreELEC:~/.config/system.d # iwctl station wlan0 scan
LibreELEC:~/.config/system.d # iwctl station wlan0 get-networks
Available networks
--------------------------------------------------------------------------------
Network name Security Signal
--------------------------------------------------------------------------------
My Network psk ****
XFINITY 8021x ****
xfinitywifi open ****
LibreELEC:~/.config/system.d # iwctl station wlan0 connect "My Network"
Type the network passphrase for My Network psk.
Passphrase: ***********
Operation failed
LibreELEC:~/.config/system.d # iwctl debug wlan0 get-networks
Available Networks (debug)
--------------------------------------------------------------------------------
SSID BSSID RSSI Freq Rank MDE
--------------------------------------------------------------------------------
xfinitywifi
4e:7a:8a:3f:cb:c2 -65 5200 368 000000
My Network
4c:ed:fb:9e:2f:68 -31 2412 368 000000
XFINITY
6e:7a:8a:3f:cb:c2 -66 5200 327 000000
LibreELEC:~/.config/system.d # iwctl debug wlan0 connect 4c:ed:fb:9e:2f:68
Type the network passphrase for My Network psk.
Passphrase: ***********
Operation failed
Display More
I'm not sure why the operation keeps failing. I can garuntee the passphrase is correct. I'm even copy pasting it in to the same result. I'm not sure how to continue debugging the issue either. Any suggestions?
I do have some questions about where the WIFI module wire/antenna is supposed to go that aren't really covered in any of the docs I've looked into. It has a tiny bit of exposed metal wire with an adhesive pad and I keep wondering if I'm supposed to put that somewhere. It is currently just stuck to the side of the case. The docs I've looked at for the WIFI module are:
- http://files.pine64.org/doc/guide/PINE…ation_Guide.pdf (doesn't mention the antenna wire at all)
- https://wiki.pine64.org/wiki/NASCase (just mentions attaching it as the diagram shows but doesn't reference the diagram)
- https://wiki.pine64.org/wiki/ROCKPro64 (A few references to the wifi module and some broken links to their store)