Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2003 20:06:02 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Guy Middleton <guy-dated-1069377671.531c2e@obstruction.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: how to set WEP key? (4.8-RELEASE) 
Message-ID:  <20031022030602.342C25D07@ptavv.es.net>
In-Reply-To: Message from Guy Middleton <guy@obstruction.com>  <20031022012110.GA11947@chaos.obstruction.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Tue, 21 Oct 2003 21:21:10 -0400
> From: Guy Middleton <guy@obstruction.com>
> Sender: owner-freebsd-mobile@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@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031022030602.342C25D07>