[Pinephone/Plasma-mobile] Wifi does not automatically reconnect to saved network
Describe your issue
What's the expected behaviour?
Device automatically reconnects to saved wifi networks when in range or restarted
What's the current behaviour?
User has to manually go to 'Wifi' in 'Settings, and tap on the correct saved network to make it reconnect.
How to reproduce your issue?
- Connect to a wifi network.
- Toggle wifi off/on or restart the device
- Wifi network connection is not automatically restored.
What device are you using?
pine64-pinephone
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
(supported until 2023-01-18) -
v22.12
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
20221225-0443-postmarketOS-v22.12-plasma-mobile-3.9-pine64-pinephone-installer.img
Additional information
In 'nmtui', the saved network is visible and the network properties are shown as 'Automatically reconnect'. It is necessary to use 'sudo nmtui' to save changes to the connection, because the connection details in /etc/NetworkManager/system-connections are owned by root. In the Plasma Mobile wifi applet, enabling 'show saved connections' in the three-dot menu at bottom right does NOT list the saved network. The list of saved networks is blank.
Update: I found that changing 'Available to all users' property for the connection in nmtui makes auto-reconnect work again when toggling wifi. However, there is no way in the UI applet to set this property when the connection is first created.