WEP and DHCP

Randy Bush randy at psg.com
Sun Dec 14 08:31:35 PST 2003


> I have read some threads on how to setup WEP. So, I have some
> understanding on this however, the examples I see in this list
> are of issueing the device an IP. Can someone show me an example
> of using DHCP?

in isc's dhclient.conf, you can put, for example

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
plan to exchange the keys needed to encrypt the key before sending
it over the air?  can you say "deep yogurt?"

randy



More information about the freebsd-mobile mailing list