You are not logged in.
Hello!
I’ve set up a new laptop with Arch and now have a question concerning NetworkManager. Is it possible in NM to switch between wired and wireless connections like it is with Connman (https://wiki.archlinux.org/index.php/Co … d_wireless)?
So far it appears that NM only disables the wired connection when wireless is used but keeps the wireless alive when switching to wired.
I have already looked for a corresponding configuration but couldn’t find anything that helps.
Thanks in advance.
Offline
Easy Mode:
You can install the tlp-rdw package and edit the /etc/default/tlp configuration file which has an option that does that.
Hard Mode:
If you don't want to install a package and its dependencies, you can write your own script and put it in /etc/NetworkManager/dispatcher.d and have the NetworkManager dispatcher hook run the script (which is actually what tlp-rdw does but you don't have to install the tlp package as a dependency)
Note: tlp is a power manager and if you have any other power managers installed it might conflict with them so be wary of that.
Here is the wiki page on tlp https://wiki.archlinux.org/index.php/Tlp
Last edited by fungle (2014-08-05 23:05:00)
Offline