You are not logged in.

#1 2010-03-08 05:47:30

Jonhoo
Member
Registered: 2009-05-23
Posts: 118

Order of profiles for netcfg-auto-wireless

Hi fellow Archers,

I'm running Arch Linux with netcfg 2.5.4 on my laptop, and have several wireless network profiles set up. Amongst other things, I have three profiles for my University WLAN. The reason for this is that the University offers three different wireless networks, one for Staff, one for Students and one unencrypted with a password-protected HTTP proxy. I have access to all three, but I want netcfg to attempt to connect to the networks in that order.

I have tried to name the profiles as such:
UniversityAStaff
UniversityBStudent
UniversityCOpen

But that doesn't seem to make any difference; it still connects to the Student network by default.
Is there any way of setting the priority of the wireless networks that netcfg-auto-wireless tries to connect to?

Jon

Offline

#2 2010-03-08 12:07:16

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Order of profiles for netcfg-auto-wireless

A random guess, but wouldn't it select in order of strongest signal? You may want to write your own script instead of using net-auto-wireless (which is 'only' a wrapper around wpa_actiond afaik). Else try reading documentation for wpa_actiond.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-03-08 14:47:56

parintachin
Member
Registered: 2009-05-25
Posts: 72

Re: Order of profiles for netcfg-auto-wireless

if you make your profiles like in /etc/network.d/examples/wireless-wpa-configsection you can put a priority falue in the wpa_supplicant section this should do the trick

edit because of typo

Last edited by parintachin (2010-03-08 14:48:44)

Offline

Board footer

Powered by FluxBB