Wep encryption.
Jesse Guardiani
jesse at wingnet.net
Sat Jan 24 22:40:46 PST 2004
T Kellers wrote:
> On Sunday 25 January 2004 12:46 am, James A. Feister wrote:
>> How would I use ifconfig with a 128bit hex wep key?
>>
>> __________________________________
>> Do you Yahoo!?
>> Yahoo! SiteBuilder - Free web site building tool. Try it!
>> http://webhosting.yahoo.com/ps/sb/
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>
> ifconfig [your interface here] nwkey [your key here]
>
> I think wep 128 bit encryption keys are typically 13 characters long
Mine is 26 characters long in hex. You'll most likely have to use
the hex version if you want to use your key with different operating
systems or commercial APs. The "text" keys are all converted to hex
differently by different companies/Operating Systems.
I do it like this:
ifconfig wi0 ssid FreeBSD wepmode on wepkey 0xAAAAAAAAAAAAAAAAAAAAAAAAAA
And I think 128 bit encryption is really just 104 bit encryption:
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
[...]
wepkey 1:104-bit
--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v) 423-559-5145 (f)
http://www.wingnet.net
More information about the freebsd-questions
mailing list