You are not logged in.

#1 2013-05-12 20:28:14

DeletedUser210719
Banned
Registered: 2012-04-20
Posts: 68

Netctl-auto Interface Preference Possible?

I was wondering how I can set up netctl so that it will automatically be in favor of my ethernet-interface profiles as opposed to the wireless, or does this occur automatically?

For example, I could be connected to a wireless network, and after plugging into an ethernet outlet, I would want netctl to switch accordingly.  Would I have to manually stop the netctl-auto@wlan0.service?

Offline

#2 2013-05-13 00:29:51

luisgmarine
Member
Registered: 2013-03-31
Posts: 18

Re: Netctl-auto Interface Preference Possible?

I ran:

man netctl.special

and you should take  a look at "netctl-ifplugd@<interface>.service"

Hope this helps.

Offline

#3 2013-05-16 15:58:29

Psychnosis
Member
Registered: 2012-10-28
Posts: 1

Re: Netctl-auto Interface Preference Possible?

This is possible. To favor a wired connection over a wireless connection, first open up your wired profile and add:

Priority=1

Then open up your wireless profile and add:

Priority=0

Now, when a wired connection is detected, it will be used. Unplug the cable and it will automatically activate the wireless profile.

Offline

Board footer

Powered by FluxBB