Because I’ve received my pinephone recently, I’m testing various operating systems with it.

During these tests, setting up wifi is very cumbersome because I use a very long random password. That’s why I’ve created a little script ‘wifi’ that I copy to the sd-card and start it from the command line to make a wifi connection with my home network.

nmcli device wifi connect SSID password PASSWORD

Tested with postmarketOS, Ubuntu Touch by UBPorts and Debian + Phosh.