Ask Your Question

How to automatically disable WiFi when there is an active Ethernet connection?

asked 2015-06-22 06:09:22 -0500

Steven Roose gravatar image

I'd like to know how I can do this automatically. There are several solutions around for Ubuntu, but they are not intended for Fedora.

If there is a graphical setting or tool that can do this, awesome, but a terminal script would do fine as well.

Please don't use Gnome-specific or KDE-specific settings/tools.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-06-22 12:06:04 -0500

Period 22 gravatar image

updated 2015-06-23 09:29:12 -0500

You can use TLP for that. It's an power management tool and is very useful in any case for extending battery life on laptops. See here:

It is in the standard repositories, so sudo yum install tlp tlp-rdw or sudo dnf install tlp tlp-rdw installs it.

It does not have a graphical interface. You'd have to configure it via the configuration file sudo gedit /etc/default/tlp. The section you want is towards the bottom ("Radio devices to disable on connect/disconnect").

edit flag offensive delete link more


Don't forget to turn WIFI on again when Ethernet disconnects...

hannsandersson gravatar imagehannsandersson ( 2015-06-23 10:22:06 -0500 )edit

Question Tools

1 follower


Asked: 2015-06-22 06:09:22 -0500

Seen: 1,330 times

Last updated: Jun 23 '15