Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#30737 - [netcfg] net-auto-wireless should implement priority among networks

Attached to Project: Arch Linux
Opened by Francesco Antonacci (punkeroso) - Wednesday, 18 July 2012, 10:33 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 26 July 2012, 13:53 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No


Netcfg should implement priority among networks.
It could happen (it happens to me!) that I have 2 profile for 2 networks that are both available at the same time. In this case, I guess that netcfg connects to the most strenght network; but I would like to connect always to the same "preferred" network.
I think it would be very useful not only for me.
This task depends upon

Closed by  Jouke Witteveen (jouke)
Thursday, 26 July 2012, 13:53 GMT
Reason for closing:  Implemented
Additional comments about closing:  fd096
Comment by Braden Pellett (braden) - Monday, 23 July 2012, 02:42 GMT
Would it be possible to pass in a 'priority' parameter along to the wpa_supplicant config file that netcfg-wpa_actiond creates?

E.g. A "PRIORITY" variable set in a given netcfg profile? If I am understanding the code, perhaps that variable could be used by the make_wpa_config() function in the 8021x script to add a "priority=$PRIORITY" option to the section being generated?
Comment by Braden Pellett (braden) - Wednesday, 25 July 2012, 06:51 GMT
For example, please see the attached diff that adds a priority option, and explains it in the netcfg-profiles man page.
Comment by Jouke Witteveen (jouke) - Thursday, 26 July 2012, 13:47 GMT
Looks good to me. It'll land in the next version of netcfg.