[wplug] WEP with RH 8.0
Andreas Rindler
arindler at cmu.edu
Thu Jun 5 09:00:31 EDT 2003
Hey,
Thanks, I tried it in the script and in the console. It didn't work:
[root at Jodel root]# wlanctl-ng wlan0 dot11req_mibset
mibattribute=dot11PrivacyInvoked=true message=dot11req_mibset
mibattribute=dot11PrivacyInvoked=true
resultcode=success
[root at Jodel root]# wlanctl-ng wlan0 dot11req_mibset
mibattribute=dot11WEPDefaultKey0=XXXX mibattribute="data_string_too_short"
message=dot11req_mibset
mibattribute=data_string_too_short
resultcode=no_value
[root at Jodel root]# wlanctl-ng wlan0 dot11req_mibset
mibattribute-dot11WEPDefaultKeyID=0
mibattribute="argument_item_data_is_incomplete"
message=dot11req_mibset
mibattribute=argument_item_data_is_incomplete
resultcode=no_value
[root at Jodel root]#
Any ideas?
Thanks,
Andi
-----Original Message-----
From: wplug-admin at wplug.org [mailto:wplug-admin at wplug.org] On Behalf Of Tim
Lesher
Sent: Monday, June 02, 2003 7:15 PM
To: wplug at wplug.org
Subject: Re: [wplug] WEP with RH 8.0
On Mon, Jun 02, 2003 at 02:32:17PM -0400, Andreas Rindler wrote:
> Hey,
> I want to connect to a wireless router that uses WEP for encryption. I
> know the SSID and the keys, but how to I connect?
You need to specify the WEP key before bringing up the interface. Something
like this should work (substitute your WEP key for KEY)
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=KEY
wlanctl-ng wlan0 dot11req_mibset mibattribute-dot11WEPDefaultKeyID=0
--
Tim Lesher <tim at lesher.ws>
http://www.lesher.ws
----------------------------------------------------------------------------
----
Hey,
I want to connect to a wireless router that uses WEP for encryption. I know
the SSID and the keys, but how to I connect? I have been using the following
code to connect to open networks:
#! /bin/bash
/sbin/modprobe prism2_pci
/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=CMU authtype=opensystem
/sbin/dhcpcd wlan0
Thanks,
Andi
_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list