Skip to contentSkip to conversation

mac80211 and SIOCSIWAUTH

DISCUSSION Ветошкин Никита 3 participants 4 messages Nov 8, 2007 – Nov 9, 2007

lore
Share & tools
lore
#0 lore raw

Hi, I'm a user of Lenovo R61 laptop with Intel 3945 wireless card. I have Gentoo and would like to use the iwlwifi + wpa_supplicant driver, but I can't because Wi-Fi installed in our office needs WPA2 authentication and I can't connect to it. There no problems using ipw3945d. #wpa_supplicant config
ap_scan=2

network={
        ssid="point1"
        key_mgmt=WPA-EAP
        scan_ssid=1
        identity="nvetoshkin"
        proto=WPA2
        eap=TLS
        ca_cert="/home/nekto/certificate.pem"
        private_key="/home/nekto/nvetoshkin.p12"
        private_key_passwd="nvetoshkin"
}

ioctl[SIOCSIWAUTH]: Operation not supported - this error always appears in wpa_supplicant output. I digged a bit in source code and found out that it is mac80211 subsystem who returns ENOTSUP. Is it really the cause of my problems or am I just confused?

-=-=-=-
Vetoshkin Nikita

#1 lore raw
Quoted 2 lines · On Thu, 2007-11-08 at 23:46 +0500, =D0=92=D0=B5=D1=82=D0=BE=D1=88=D0=BA=…

Hi, I'm a user of Lenovo R61 laptop with Intel 3945 wireless card. I=20 have Gentoo and would like to use the iwlwifi + wpa_supplicant driver=

,=20

Quoted 2 lines

but I can't because Wi-Fi installed in our office needs WPA2=20 authentication and I can't connect to it. There no problems using ipw=

3945d.

Quoted 13 lines

#wpa_supplicant config
ap_scan=3D2

network=3D{
         ssid=3D"point1"
         key_mgmt=3DWPA-EAP
         scan_ssid=3D1
         identity=3D"nvetoshkin"
         proto=3DWPA2
         eap=3DTLS
         ca_cert=3D"/home/nekto/certificate.pem"
         private_key=3D"/home/nekto/nvetoshkin.p12"
         private_key_passwd=3D"nvetoshkin"
}
Quoted 1 line

ioctl[SIOCSIWAUTH]: Operation not supported - this error always appea=

rs=20

Quoted 1 line

in wpa_supplicant output. I digged a bit in source code and found out=

=20

Quoted 2 lines

that it is mac80211 subsystem who returns ENOTSUP. Is it really the cause of my problems or am I just confused?

There's a number of SIOCSIWAUTH sub-options, and not all are necessary, and not all are supported by every driver. That's normal. Ignore the wpa_supplicant message.

Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Is anybody interested in this case?
If so, what information should I provide you which be enough to=20 investigate the problem?
- kernel 2.6.23-gentoo
- iwl3945 1.1.21
- ucode 2.14.1
- wpa_supplicant 0.6.0

What else(logs,output)?

Vetoshkin Nikita

Dan Williams =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

Quoted 1 line

On Thu, 2007-11-08 at 23:46 +0500, =D0=92=D0=B5=D1=82=D0=BE=D1=88=D0=BA=

Quoted 1 line · =D0=B8=D0=BD =D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0 wrote:
Quoted 1 line

Hi, I'm a user of Lenovo R61 laptop with Intel 3945 wireless card. I=

=20

Quoted 1 line
Quoted 1 line

have Gentoo and would like to use the iwlwifi + wpa_supplicant drive=

r,=20

Quoted 2 lines
Quoted 2 lines

but I can't because Wi-Fi installed in our office needs WPA2=20 authentication and I can't connect to it. There no problems using ip=

w3945d.

Quoted 6 lines
Quoted 6 lines

#wpa_supplicant config
ap_scan=3D2

network=3D{
         ssid=3D"point1"
         key_mgmt=3DWPA-EAP
         scan_ssid=3D1
Quoted 8 lines
Quoted 8 lines
         identity=3D"nvetoshkin"
         proto=3DWPA2
         eap=3DTLS
         ca_cert=3D"/home/nekto/certificate.pem"
         private_key=3D"/home/nekto/nvetoshkin.p12"
         private_key_passwd=3D"nvetoshkin"
}

ioctl[SIOCSIWAUTH]: Operation not supported - this error always appe=

ars=20

Quoted 1 line
Quoted 1 line

in wpa_supplicant output. I digged a bit in source code and found ou=

t=20

Quoted 4 lines
Quoted 2 lines

that it is mac80211 subsystem who returns ENOTSUP. Is it really the cause of my problems or am I just confused?

=20
There's a number of SIOCSIWAUTH sub-options, and not all are necessar=

y,

Quoted 1 line

and not all are supported by every driver. That's normal. Ignore th=

e

Quoted 7 lines

wpa_supplicant message.
=20
Dan
=20
=20
-
To unsubscribe from this list: send the line "unsubscribe linux-wirel=

ess" in

Quoted 3 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
=20

--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=92=D0=B5=D1=82=D0=BE=D1=88=D0=BA=D0=B8=D0=BD =D0=9D=D0=B8=D0=BA=D0=B8= =D1=82=D0=B0

=D0=98=D0=BD=D0=B6=D0=B5=D0=BD=D0=B5=D1=80 =D0=BF=D0=BE=D0=B4=D0=B4=D0=B5= =D1=80=D0=B6=D0=BA=D0=B8 =D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC IP-=D1=82= =D0=B5=D0=BB=D0=B5=D1=84=D0=BE=D0=BD=D0=B8=D0=B8 =D0=A1=D0=B5=D1=80=D0=B2=D0=B8=D1=81=D0=BD=D1=8B=D0=B9 =D1=86=D0=B5=D0=BD= =D1=82=D1=80
=D0=9A=D0=BE=D0=BC=D0=BF=D0=B0=D0=BD=D0=B8=D1=8F Naumen
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Ветошкин Никита
Quoted 12 lines · On Thu, 2007-11-08 at 23:46 +0500, =A7=A3=A7=D6=A7=E4=A7=E0=A7=EA=A7=DC=…

ap_scan=3D2

network=3D{
         ssid=3D"point1"
         key_mgmt=3DWPA-EAP
         scan_ssid=3D1
         identity=3D"nvetoshkin"
         proto=3DWPA2
         eap=3DTLS
         ca_cert=3D"/home/nekto/certificate.pem"
         private_key=3D"/home/nekto/nvetoshkin.p12"
         private_key_passwd=3D"nvetoshkin"
}

Can you try ap_scan=3D1? Last time I check wpa_supplicant source, it se= ems
it doesn't pass the bssid and frequency in the "ap_scan=3D2" case when = it
is trying to associate. (of course I could be wrong).

Thanks,
-yi
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html