1
vote
Accepted
Make NetworkManager connect to the preferred network when it becomes available
I ended up writing a simple script that periodically probes the network and switches back to the preferred wifi when available
Here it is
It's not widely tested. Relies on nmcli and must be installed ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
networkmanager × 1087networking × 358
wifi × 224
linux × 121
network-interface × 120
debian × 118
ubuntu × 98
nmcli × 79
centos × 76
arch-linux × 76
vpn × 71
dns × 69
fedora × 59
systemd × 45
dhcp × 44
openvpn × 40
ethernet × 40
linux-mint × 37
wpa-supplicant × 37
rhel × 32
kali-linux × 32
resolv.conf × 27
dnsmasq × 25
routing × 24
systemd-networkd × 21