PINE64
PostmarketOS v22.06 Plasma Mobile on PinePhone Pro & WiFi Connect to SSID - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: PostmarketOS v22.06 Plasma Mobile on PinePhone Pro & WiFi Connect to SSID (/showthread.php?tid=17571)



PostmarketOS v22.06 Plasma Mobile on PinePhone Pro & WiFi Connect to SSID - X0X0X0X0X0 - 11-06-2022

On PostmarketOS v22.06 Plasma Mobile on PinePhone Pro, and when I reboot the phone, and then log in, the PinePhone Pro does not connect to a saved WiFi SSID.

I have to manually go to WiFi settings, and press on the saved network, and PinePhone Pro then will connect.

Where can I edit to change this behavior, and have PostmarketOS device connect to the WiFi automatically?


By the way, I am very glad and thankful that there is a FUNCTIONING PHONE OS out of the box, like PostmarketOS; It was an exodus from other OS distros, and a month of troubleshooting with Manjaro, to have the PinePhone Pro functioning like a phone. Thank you!


RE: PostmarketOS v22.06 Plasma Mobile on PinePhone Pro & WiFi Connect to SSID - Chief - 11-06-2022

I agree that Postmarket is a good call. It was the first plasma version that actually ran right. At present I have Arch plasma and phosh on each of my phones. They also work well although Arch plasma has some work to do. Yet not bad at all.


RE: PostmarketOS v22.06 Plasma Mobile on PinePhone Pro & WiFi Connect to SSID - MitjaStachowiak - 07-23-2024

I tested the PinePhone Pro one month ago and can confirm the same issue.

I have now switched to Librem5 with Postmarket v23.12. Here, any Wifi connection breaks after several minutes and it asks me for the password on any reconnect. Somehow unusable Undecided


RE: PostmarketOS v22.06 Plasma Mobile on PinePhone Pro & WiFi Connect to SSID - linmob - 11-18-2024

This is a well known bug, and this comment in the bug-thread explains what you can do to solve this temporarily.

There's hope the bug may be fixed once postmarketOS provides Plasma Mobile images with systemd.

Because I am lazy and kept forgetting about this, I've since a copy of the following as a file called network-fix.sh on all my Plasma Mobile devices:

Code:
#!/bin/ash

# Path to the directory with .nmconnection files
DIR="/etc/NetworkManager/system-connections/"

# Loop through each .nmconnection file in the directory
for FILE in "$DIR"*.nmconnection; do
    # Check if the file contains a "permissions=" line
    if grep -q "^permissions=" "$FILE"; then
        # Replace the entire permissions line with just "permissions="
        sed -i "s/^permissions=.*/permissions=/" "$FILE"
        echo "Updated $FILE"
    else
        echo "No permissions line found in $FILE"
    fi
done

Just put this in a file called network-fix.sh on your phone, mark it as executable (chmod +x network-fix.sh) and run it (./network-fix.sh) whenever you have connected to a new network you automatically want to reconnect to.