Error for Wireless Request
I'm trying to connect BackTrack 4 RC2 to my wireless network with the following command:
Code:
iwconfig wlan0 essid my_network_name key My_WPA_Shared_Key
however, I keep getting this error message:
Quote:
Error for wireless request "Set Encode" (8B2A): invalid argument "My_WPA_Shared_Key"
I also tried the s: option like this:
Code:
iwconfig wlan0 essid my_network_name key s:My_WPA_Shared_Key
but I got this error message:
Quote:
Error for wireless request "Set Encode" (8V2A) : SET failed on device wlan0 ; Invalid argument
The "key" I used was my passphrase which we use to access the internet (its not a hex key). The router is a Linksys WRT54G2 and its "Security Mode" is WPA Personal.
Any assistance will be greatly appreciated. Thanks in advance
Re: Error for Wireless Request
Why won't you use Wicd ?
wicd start
wicd-curses / wicd-gtk
If you absolutely want to do it that way, sorry, can't help you... I believe others do ;)
Re: Error for Wireless Request
You're trying to connect to the network as if the security were set to WEP.
Take a look at wpa_supplicant
http://www.backtrack-linux.org/forum...tml#post188838
Re: Error for Wireless Request
Quote:
Originally Posted by
comaX
Why won't you use Wicd ?
wicd start
wicd-curses / wicd-gtk
If you absolutely want to do it that way, sorry, can't help you... I believe others do ;)
Thanks very much comaX. It worked!
I ran
Code:
wicd start
wicd-curses
the pressed the right arrow for Config, and in the Configuring preferences, I ignored the first two options (Use Static IPs, Use Static DNS). I choose the third option (Use DHCP Hostname), changed the DHCP Hostname (which was "bt") and selected "Automatically connect to this network". I enter the router's passphrase (Preshared Key) and F10 to save!
However, in the Router's DHCP Client's Table, my Client Host Name appears as "bt" even though I changed it. Why?
Quote:
Originally Posted by
Jimmy87
Thanks very much for informing me what I was actually doing.