This question comes from the Software Recomendations StackExchange  site . In a beginning I thought that was the proper place, but  some people suggest this Unix forum fits better.When an Operating System has several wireless networks available (and known, this is: in its preferred list), it is supposed to do an intelligent management of roaming between them, usually connecting to the best one (measuring it by several factors, like coverage or speed).  But, when working with some Linux distros (for example the intended for security auditing ones), I have found such management not so intelligent: sometimes the net keeps down (not behaving completely OK) and the operating system stays on that wireless network.  So, I was thinking about doing a script myself to force Linux to select another wireless network when the connected one slows down or directly fails (maybe checkable by pinging the router/access point).For what I have read about command-line wireless management, the connect to thing seems a bit awkward: issuing multiple commands, editing files... etc.  Does anyone know about a good switch-to-network command-line tool running under Linux?Remember I don't need to connect to a new network: I just want to connect to an already-some-day connected network, so the operating system is supposed to know the password, encryption data and so on.Possible command-line examples:switchtowifi --essid MyWiFiNetworkswitchtowifi --essid MyWiFiNetwork --bssid 11:22:33:44:55:66switchtowifi --channel 5The first example switches to any already-stored WiFi network named MyWiFiNetwork.The second example switches to the already-stored WiFi network named MyWiFiNetwork whose BSSID is 11:22:33:44:55:66.The third example switches to any already-stored WiFi network on channel 5.
Linux: Command-line tool for easy change the actual wireless connected to network?
wifi