how to set WEP key? (4.8-RELEASE)

Kevin Oberman oberman at es.net
Tue Oct 21 20:06:05 PDT 2003


> Date: Tue, 21 Oct 2003 21:21:10 -0400
> From: Guy Middleton <guy at obstruction.com>
> Sender: owner-freebsd-mobile at freebsd.org
> 
> 
> --opJtzjQTFsWo+cga
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> Is there a canonical place to set the WEP encryption key for wireless devices?
> 
> I am using 4.8-RELEASE on an IBM Thinkpad T21.  I can't find any obvious place
> to specify it in pccard.conf or rc.conf.  Do I need to make local changes to
> pccard_ether?

It is normally put into /etc/start_if.wi0. Here is my file for use at
home:
ifconfig wi0 192.168.168.4 netmask 255.255.255.0
ifconfig wi0 wepmode on wepkey 0x0123456789abcdef0123456789 ssid babcom

(Key has been changed, of course.

I use Lars Eggert's location script to swap this file with the one I
use when not at home.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the freebsd-mobile mailing list