WEP and DHCP

Randy Bush randy at psg.com
Thu Jan 1 09:07:32 PST 2004


>> 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
>>     }
> 
> 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) ?

but dhcp does not fly until you have the correct ssid/wepkey, so
you have no network name or anything.  the above list is merely
suggested targets for shooting in the dark.

randy



More information about the freebsd-mobile mailing list