Date: Sun, 02 Apr 2006 17:39:42 -0700 From: "Kevin Oberman" <oberman@es.net> To: kalin@el.net Cc: freebsd-mobile@freebsd.org Subject: Re: ifconfig wepkey on 6.0 Message-ID: <20060403003942.5FE584504F@ptavv.es.net> In-Reply-To: Your message of "Sun, 02 Apr 2006 19:45:49 EDT." <3649.68.108.20.111.1144021549.squirrel@mail.el.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 2 Apr 2006 19:45:49 -0400 (EDT) > From: "kalin mintchev" <kalin@el.net> > Sender: owner-freebsd-mobile@freebsd.org > > > hi.. i'm trying again to make my wepkey work.. > > i load manually wlan_wep. then do this in order: > ifconfig wi0 ssid here-and-now channel 6 > ifocnfig wi0 wepmode on > ifconfig wi0 wepkey 1:0x7924092374273503745WEPKEYSTUFF > dhclient wi0 > > using bind dhclient > > i get: > wi0: timeout in wi_cmd 0x0002; event status 0x8008 > wi0: timeout in wi_cmd 0x0000; event status 0x8008 > etc.. then it says that the network is down and the wi0 status is changed > to DOWN.. > > i'm really in need to fix this here as i'm on a convention that uses 128 > bit key and i cant get a connection... and i need it badly.. You have one extra and one missing item. When attaching to SSID, you should not be specifying a channel. In BSS mode, the card will scan for the desired SSID and associate on that channel. But the man page says that channel is ignored in BSS mode, so this is probably not really your problem. The main problem is that you are not telling the interface which WEP key to use. You need to add "weptxkey 1". Without this statement, the wireless will never associate with a WEP encrypted WAP. My WEP based system is set up as: wepkey 1:0xMY_KEY ssid MYSSID weptxkey 1 wepmode on -- 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?20060403003942.5FE584504F>