Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 01:40:38 -0500
From:      Jesse Guardiani <jesse@wingnet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Wep encryption.
Message-ID:  <buvod8$1g8$1@sea.gmane.org>
References:  <20040125054654.89624.qmail@web60507.mail.yahoo.com> <200401250117.33292.kellers@njit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?buvod8$1g8$1>