You are not logged in.
I just discovered this, a way of using wpa_supplicant to autoconnect to the strongest available (unencrypted) network... Problem is, Arch Linux doesn't have /etc/network. What's the equivalent of this in Arch?
(Also, would it be possible to implement something like this with netcfg? I've been looking at the wiki but there doesn't seem to be anything on netcfg and roaming...)
Offline
You could try using autowifi:
http://wiki.archlinux.org/index.php/Autowifi
Offline
I'd rather not, it appears to be unmaintained; and wpa_supplicant looks more versatile. All I need to figure out is what the Arch equivalent to /etc/network is...
Offline
/etc/network/interfaces you mention belongs to a Debain specific set of scripts called ifupdown -- see point 10.6 here. I don't know if there is an exact equivalent for this in Arch.
Offline
Shouldn't there be? IIRC Redhat uses the same format for stuff in /etc/sysconfig/network... If Arch has no way of telling wpa_supplicant to use roaming mode, it could be considered a bug.
Anyone?
Offline
In case you're interested -- I did some investigation, out of curiosity, and I did come up with a solution for this, but it's a separate daemon/script. It's extremely simple, and from what I've seen so far it seems to work quite reliably -- though I am sure that the solution can be improved upon, since I'm not a programmer and my scripting skills are pretty rudimentary.
If you want to have a look I made a PKGBUILD for it -- it's easier that way, since it comes in the form of three files: an rc daemon script, a script used by wpa_supplicant, and a config file.
http://www.loka.pl/outgoing/wpa_auto.tar.gz
What the whole thing does is basically use the ability of wpa_supplicant (or wpa_cli more specifically) to call and execute a script on connect to/disconnect from network events. The script then runs dhcpcd as appropriate to connect to or disconnect from a dhcpcd server. The config file configures some wpa_supplicant options.
The whole thing assumes, by the way, that the wpa_supplicant.conf file already exists and is properly configured.
Offline
Thanks...
Offline