Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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? askubuntu.com/a/165690/46437 –  Aquarius Power Dec 12 at 17:03

1 Answer 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.

share|improve this answer
    
Thanks! Yes, a script would be better than nothing, of course :-) –  Nicolas Raoul Mar 5 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 at 5:57

Your Answer

 
discard

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.