View previous topic :: View next topic |
Author |
Message |
Tsuki n00b
Joined: 27 May 2004 Posts: 42 Location: Southampton, England
|
Posted: Fri Jun 30, 2006 4:16 pm Post subject: Unable to send WEP key for WiFi network |
|
|
I'm trying to set up a Belkin F5D5070 USB WiFi adapter under Gentoo. I've been following the advice of http://gentoo-wiki.com/Belkin_F5D7050 - using the rt73 driver through ndiswrapper - but am having problems sending the key so that I can join the network.
This is my /etc/conf.d/wireless:
Code: | modules=("iwconfig")
key_belkin27="[1] s:<<my key>> key [1] enc open"
preferred_aps=( "belkin27" )
adhoc_essid_wlan0="belkin27"
sleep_scan_wlan0="1"
sleep_associate_wlan0="25"
iface_wlan0=("dhcp") |
"<<my key>>" replaces the actual key (an ASCII string with no special characters). Obviously, "belkin27" is the name of the network I'm trying to connect to.
When running /etc/init.d/net.wlan0 start, I get the following output:
Code: | * Caching service dependencies ... [ ok ]
* Starting wlan0
* Configuring wireless network for wlan0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
* wlan0 does not support setting keys
* or the parameter "mac_key_belkin27" or "key_belkin27" is incorrect
* Couldn't associate with any access points on wlan0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
* wlan0 does not support setting keys
* or the parameter "mac_key_belkin27" or "key_belkin27" is incorrect
* wlan0 connected to ESSID "belkin27" at 00:00:00:00:00:00
* in ad-hoc mode on channel 3 (WEP disabled)
* You are using a depreciated configuration syntax for wlan0
* You are advised to read /etc/conf.d/net.example and upgrade it accordingly
* Bringing up wlan0
* dhcp
* Running dhcpcd ...
Error, timed out waiting for a valid DHCP server response |
Any idea what's causing this problem? If I omit the "key_belkin27..." line from my /etc/conf.d/wireless it doesn't produce this error, but predictably won't connect to the network since I'm then not supplying the key. |
|
Back to top |
|
|
blackdragonblood n00b
Joined: 23 Apr 2006 Posts: 73
|
Posted: Sun Jul 09, 2006 7:45 pm Post subject: |
|
|
I just had an issue similar to this. I'm using wireless-tools so if you are using wpa-supplicant this may not work.
This line:
Code: | key_ESSID="your_key" |
had to be changed to:
Code: | key_name-of-ap="your_key" |
Now, I properly authenticate with my wireless router. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|