ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

change wifi network autoconnect priority on the command line #446

Open ruebenramirez opened 3 years ago

ruebenramirez commented 3 years ago

The gnome network manager toolbar applet is a little lacking: it does not provide the ability to change the priority of the wifi network. I didn't want to have to remember how to use nmcli commands to set the autoconnect priority, so I wrote a few bash one liners to list saved wifi networks with priority, set a preferred wifi network, and set a last resort wifi network preference.

commit to dotfiles: https://github.com/ruebenramirez/.dotfiles/commit/f6a845cc4500dc1cae3efec056ef83047e91c726

source: https://askubuntu.com/a/993026