LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble Connecting to Wireless (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-connecting-to-wireless-4175447267/)

Electromancer 01-26-2013 12:23 AM

Trouble Connecting to Wireless
 
I am using Debian 6.0.6.

I'm trying to connect via WPA, and not WEP.

Every time I run the following command..

#iwconfig wlan0 essid NETWORK_ID key WIRELESS_KEY

I get this output..

Error for wireless request "Set Encode" (8B2A):
invalid argument "WIRELESS_KEY".

jschiwal 01-26-2013 02:34 AM

Configure the /etc/network/interfaces file. The iwconfig "key" argument is for WEP. WPA_Supplicant is used to authenticate with WPA.
http://wiki.debian.org/WiFi/HowToUse#wpasupplicant

Also the capitalized words in the command you tried are variables, that you substitute with appropriate values.

Electromancer 01-26-2013 05:51 PM

jschiwal,

Thank you for pointing me in the right direction, I show my upmost appreciation.


All times are GMT -5. The time now is 02:36 AM.