Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
have you tried wifi-radar? may be making HomeWifi preferred will do the trick? – Aquarius Power Dec 12 '14 at 17:03

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

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.

share|improve this answer
Thanks! Yes, a script would be better than nothing, of course :-) – Nicolas Raoul Mar 5 '14 at 5:50
The launchpad page is definitely in the right direction, but slightly different: It says "nobody here suggested changing the active connection". I would like to switch, even if that means losing the connection for a few seconds. – Nicolas Raoul Mar 5 '14 at 5:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.