Re: WEP and DHCP

Dan Pelleg <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Dirk-Willem van Gulik <[email protected]> writes:

> On Sun, 14 Dec 2003, Randy Bush wrote:
>
>> interface "wi0" {
>>     send dhcp-client-identifier "foo.bar.baz";
>>     media "nwid 'my-home'  nwkey myWEPkeysilly";   # home
>>     media "nwid 'tmobile' -nwkey";                 # staryuchhs
>>     media "nwid 'nanog42' -nwkey";                 # nanog
>>     media "nwid ''        -nwkey";                 # open
>>     }
>>
>> so it cycles through them trying each in turn.
> ..
>> otoh, if you meant acquiring the wep key via dhcp, how did you
>
> actually -is- there a clever way to not let the keys cycle and be flashed
> each in turn as above; but to pick the right one absed on some dhcp value
> (say network name, etc) ?
>

You can choose on the MAC address of the AP. In fact I am in possession of
a script to do exactly that (can also decide based on SSID). I don't
believe I'm supposed to distribute it further, but email me privately if
you want it and I'll see if the author is ok with that.

-- 

  Dan Pelleg
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.