LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wifi wpa supplicant (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wifi-wpa-supplicant-631448/)

07bec011 03-29-2008 04:30 AM

wifi wpa supplicant
 
wpa supplicant gives the following error when i connect to wpa protected network, i have tried to use netgear wg1112-v2 and dlink g122 but both give me the following errors:


bt ~ # wpa_supplicant -w -Dwext -irausb0 -c/etc/wpa_supplicant.conf
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - Trying to associate with SSID 'SMB'
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 6 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - ioctl[SIOCSIWGENIE]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 0 value 0x2 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 1 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 2 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 3 value 0x2 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 10 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 8 value 0x0 - Association request to the driver failed
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with SSID 'SMB'
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 6 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - ioctl[SIOCSIWGENIE]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 0 value 0x2 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 1 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 2 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 3 value 0x2 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 10 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 8 value 0x0 - Association request to the driver failed
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with SSID 'SMB'
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 6 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - ioctl[SIOCSIWGENIE]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 0 value 0x2 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 1 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 2 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 3 value 0x2 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 10 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 8 value 0x0 - Association request to the driver failed
CTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x0 - Failed to disable WPA in the driver.
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - bt ~ #


if u want i can post the contents of my wpa supplicant

i am using back track 3 and backtrack 2.

fair_is_fair 03-29-2008 12:52 PM

I take it you are using a ralink wireless chipset. The supplied ralink linux drivers in the kernel do not work with wpa_supplicant.
I know - Our network has changed to wpa and I've been dealing with this issue for days.

You need to blacklist the linux drivers and use ndiswrapper with ralink windows drivers otherwise the linux driver will take precedence or both drivers will try to load causing havoc and grief. This works like a charm and performance is better.

The blacklist can be found in /etc/modprobe. Just add the specific linux driver to the list with no #. Then follow the ndiswrapper steps specific to your distro.

marco18 08-28-2008 09:32 AM

Quote:

Originally Posted by fair_is_fair (Post 3104246)
I take it you are using a ralink wireless chipset. The supplied ralink linux drivers in the kernel do not work with wpa_supplicant.
I know - Our network has changed to wpa and I've been dealing with this issue for days.

You need to blacklist the linux drivers and use ndiswrapper with ralink windows drivers otherwise the linux driver will take precedence or both drivers will try to load causing havoc and grief. This works like a charm and performance is better.

The blacklist can be found in /etc/modprobe. Just add the specific linux driver to the list with no #. Then follow the ndiswrapper steps specific to your distro.

I have a DWL-G510 wireless card and I've compiled a ralink driver that it's supposed to work with wpa (http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz). To install it, I had to blaklist a ralink driver that was already loaded in the kernel.

I have more or less the same problem as 07bec011, wpa_supplicant output is similar (only a bit shorter), as output to the following command:
Code:

wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Is the wpa_supplicant command correct?
Also, in the wpa_supplicant.conf file, the psk="xxxxx" field, does it need to be in ascii or previously formed with wpa_passphrase command??

Thanks for your help!


All times are GMT -5. The time now is 05:50 AM.