Here is what I found in the documentation of wireless-tools. See if you like the
compromise, or else I think you may have to do a little programmin.
Now, when you are at work you do :
> cardctl scheme default
And at home, you do :
> cardctl scheme home
I guess you get the idea ;-)
More elaborated configurations :
------------------------------
Some people may need some more complex configurations. For
example, you might want to do one of the following thing :
o cycle through a set of schemes
o autodetect the proper scheme
There is currently no support to do that. However, the
Wireless Tools package contains a tool called "iwgetid" that can help
in this job. The source code contains some hints on how to achieve the
above thing.
--
[EMAIL PROTECTED] mailing list