Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to connect to a networked named "magicmamaliga" but iwconfig isn't letting me.

When running:

iwconfig wlan0 essid "magicmamaliga" key "s:PASSWORDXXXXX"

and get:

Error for wireless request "Set Encode" (8B2A) :
Set failed on device wlan0 ; invalid argument

I have a feeling it might be how I entered the password/key. The security on the network is WPA2

EDIT: I believe this might be a driver issue. I'm on an eeepc 1002HA.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This conversation seems to do the trick.

iwconfig ra0 mode managed

iwpriv ra0 set AuthMode=WPA2PSK

iwpriv ra0 set EncrypType=AES

iwconfig ra0 essid "my ESSID"

iwpriv ra0 set WPAPSK="my psk ascii passphrase"

iwconfig ra0 essid "my ESSID"

//using WPA2, PSK, AES.

Tell me if that works for you too or if we need to look into more options.

share|improve this answer
    
For some reason whenever I use iwpriv, it says wlan0 no private ioctls –  MaxMackie Apr 7 '11 at 13:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.