3

I have 2 WiFi sources:

  • Home WiFi, unlimited.
  • Mobile Broadband WiFi, limited. I want to use it only when there is no other choice.

How to set NetworkManager to switch from Mobile WiFi as soon as Home WiFi is within reach?

Deactivating Mobile Broadband WiFi as soon as I enter home is not a good solution, as it would take too much time, I go in and out very often.

A fork of NetworkManager could be a solution, even if it involves hard-coding.

Nicolas Raoul
  • 11,921

2 Answers2

4

This is now available in Gnome Network Manager (nm-connection-editor) in the General section. Give the connection priority for auto-activation a higher value on your preferred network.

https://i.sstatic.net/QQK0W.png

Adam Katz
  • 924
1

NetworkManager itself doesn't sadly support this, there was a quite long discussion on this in years, try checking out:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/366780

An external solution could be an idea (a script in background checking iwlist scanning output and manually switching?) that I implemented also tiem ago but I don't know if this sounds viable for you.

fede.evol
  • 121