Date: Thu, 01 Jan 2004 11:22:01 -0500 From: Dan Pelleg <daniel@pelleg.org> To: Dirk-Willem van Gulik <dirkx@webweaving.org> Cc: freebsd-mobile@freebsd.org Subject: Re: WEP and DHCP Message-ID: <u2swu8b7i6u.fsf@pelleg.org> In-Reply-To: <20040101033430.H91700@skutsje.san.webweaving.org> (Dirk-Willem van Gulik's message of "Thu, 1 Jan 2004 03:35:19 -0800 (PST)") References: <200312141022.44320.racerx@makeworld.com> <E1AVZ9Z-000OlW-VG@ran.psg.com> <20040101033430.H91700@skutsje.san.webweaving.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dirk-Willem van Gulik <dirkx@webweaving.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2swu8b7i6u.fsf>