Re: wireless.opts problems

David Hinds <[email protected]> Thu, 1 Jan 2004 15:12:30 -0800
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
On Mon, Dec 29, 2003 at 01:02:21AM -0500, John H. wrote:
> 
> I understand wireless.opts should be able to automatically do some
> things, like set a wep key, dependent on the essid I am on.
> 
> I have eth1 set to find whatever wireless network is in range,
> and wireless.opts has this as default
> 
> essidany,*,*,*)
>     INFO="Any ESSID"
>     ESSID="any"
>     ;;
> 
> I was wondering, if I could have it to where I do the following, in
> addition to finding any open network 
> 
> if essid="specificid"
> use key="blah"
> 
> thanks.  I want to be able to use both together.  if the specific id
> is matched, and it requires wep(Which it will), use the key. 

In principle you could do this but it doesn't easily fit into the
design of the PCMCIA configuration scripts.  Since they are just shell
scripts, you're free to modify them any way you like for your own use.
But I'm probably not going to add this capability.  The scripts in the
pcmcia-cs package were meant to only provide basic services; now, the
hotplug subsystem is probably a better place to think about adding
more elaborate functionality, since that is meant to be more general
than just for PCMCIA.

-- Dave


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click