Fix Ubuntu Touch WiFi:


Ubuntu touch will forget WiFi upon reboot, To make it save WiFi, use adb shell with root and follow these settings:

Navigate to the WiFi folder with:
cd /etc/NetworkManager/system-connections

Then find the WiFi name with ls, then edit that file with nano,
when editing it, replace most contents with this (and replace anything with example with correct ssid or passwords, do not erase the id, uuid, ssid or psk lines with this one):
=======================================
[connection]
id=exsample
uuid=exsample
type=wifi
permissions=user:phablet;

[wifi]
mac-address-blacklist=
mode=infrastructure
ssid=exsample

[wifi-security]
key-mgmt=wpa-psk
psk=exsample

[ipv4]
dns=9.9.9.9;149.112.112.112;
dns-search=
ignore-auto-dns=true
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns=2620:fe::fe;2620:fe::9;
dns-search=
ignore-auto-dns=true
method=auto

=======================================================
Save it and reboot, You should have now auto connect to WiFi upon reboot.


Source | Date: June 12th, 2021

Back