Re: ifconfig wepkey on 6.0

"Kevin Oberman" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
> Date: Sun, 2 Apr 2006 19:45:49 -0400 (EDT)
> From: "kalin mintchev" <[email protected]>
> Sender: [email protected]
> 
> 
> 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: [email protected]			Phone: +1 510 486-8634
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.