I have to connect to three different networks on a daily basis and can not give up this functionality so have unfortuneately been unable to switch to OZ.
While it's not easy like clicking a button, here's what I did and it seems to work.
At home I have a WEP enabled AP, and when I go to my friend's houses, they all have open APs.
I made two files in the /etc/networks/ directory, interfaces.nowep and interfaces.wep
interfaces.wep contains the network settings I need to run at home. All that wlan-ng- stuff. It also links to a specific AP, because I shut off ESSID Broadcast on my AP. (Keep the honest people honest).
interfaces.nowep is a very basic config for the wlan-ng driver. Totally eliminated all lines about encryption and AP ESSIDs. It will connect to the first AP it sees.
I then (well, haven't done it yet, but will be simple to set up) run a script to swap either of those files as a symlink to /etc/networks/interfaces
That takes care of the first piece.
The second piece is to go to the /etc/wlan/ directory and check out the wlancfg-DEFAULT file. It is a config for any default ESSID you get (when you do not specify one in /etc/networks/interface). What I did, based on reading way too much info last night, is since my access point is named "AccessPointOne" I made a file called wlancfg-AccessPointOne, with the rest of the encryption setup.
It shouldn't be too hard to script the operation. I'm just really busy at work writing code for this dumb Pocket PC and *really* lazy when you get right down to it . If I have some free time this weekend I may write something up. The files are pretty self explanitory, except you might not know all the values for the wlan-ng- encryption configuration in /etc/networks/interfaces, but you can find it on this site. If you have any questions about that, let me know. I have tested this BTW, and it seems to work flawlessly, I haven't had any problems.
Oh and, hey guys, first post