Quantcast

iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

classic Classic list List threaded Threaded
63 messages Options
1234
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
I have a lenovo thinkpad x201i which os is FreeBSD9.1-prerelease/amd64.
Its wireless card is Intel Wireless N-1000, and driver is iwn/iwnfw.

And I have an home wireless route which is TP-LINK TL-WR843N.
When I set WR843N as WPA2-PSK/AES mode, my BSD can't connect to it.
Set: 2.4G / 11bgn mixed / 40MHz / chl:11 / 300Mbps
#ifconfig wlan0 down
#ifconfig wlan0 up scan
#ifconfig wlan0 list scan
It will list WR843N as a WEP AP, so it cant connect to AP.
But other laptor which os is windows7 can connect to AP correct.
And My MobilePhone which os is android 4 can alao connect to AP.

When I set WR843N as WEP mode, my BSD can connect to it.
And I can connect to my company's WorkStation AP which mode is WPA2-PSK/AES.

Other info:
My BSD cant get right AP name of my WR843N.
The name of WR843N is 0x................
Other electronic devices can get it correct.

I also use the script named wifimgr in install iso of freebsd9, and use wifimgr in ports.
But the results obtained are identical.

Any one can tell me how to debug it, or force My BSD to correctly recognized WPA2-PSK/AES mode of WR843N?

--------------
====================================================
HonestQiao/乔楚
http://www.coreseek.cn/ 
====================================================
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
Hi,

What's your /etc/wpa_supplicant.conf file look like?

And what's the output of 'ifconfig wlan0 list scan' look like?


Adrian


On 29 July 2012 10:39, 乔楚/HonestQiao <[hidden email]> wrote:

> I have a lenovo thinkpad x201i which os is FreeBSD9.1-prerelease/amd64.
> Its wireless card is Intel Wireless N-1000, and driver is iwn/iwnfw.
>
> And I have an home wireless route which is TP-LINK TL-WR843N.
> When I set WR843N as WPA2-PSK/AES mode, my BSD can't connect to it.
> Set: 2.4G / 11bgn mixed / 40MHz / chl:11 / 300Mbps
> #ifconfig wlan0 down
> #ifconfig wlan0 up scan
> #ifconfig wlan0 list scan
> It will list WR843N as a WEP AP, so it cant connect to AP.
> But other laptor which os is windows7 can connect to AP correct.
> And My MobilePhone which os is android 4 can alao connect to AP.
>
> When I set WR843N as WEP mode, my BSD can connect to it.
> And I can connect to my company's WorkStation AP which mode is WPA2-PSK/AES.
>
> Other info:
> My BSD cant get right AP name of my WR843N.
> The name of WR843N is 0x................
> Other electronic devices can get it correct.
>
> I also use the script named wifimgr in install iso of freebsd9, and use wifimgr in ports.
> But the results obtained are identical.
>
> Any one can tell me how to debug it, or force My BSD to correctly recognized WPA2-PSK/AES mode of WR843N?
>
> --------------
> ====================================================
> HonestQiao/乔楚
> http://www.coreseek.cn/
> ====================================================
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "[hidden email]"
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
On 30 July 2012 03:01, Adrian Chadd <[hidden email]> wrote:

>Hi,
>
>What's your /etc/wpa_supplicant.conf file look like?
>
>And what's the output of 'ifconfig wlan0 list scan' look like?
>
>
>Adrian
>
>
******************** In Company ******************
#ifconfig iwn0
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 8c:xx:82:yy:41:zz
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
        status: associated
#ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 8c:xx:82:yy:41:zz
        inet 192.168.61.171 netmask 0xffffff00 broadcast 192.168.61.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11ng
        status: associated
        ssid COMPANY-AP channel 2 (2417 MHz 11g ht/20) bssid c0:xx:20:yy:69:zz
        country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
        AES-CCM 2:128-bit txpower 14 bmiss 10 scanvalid 450 bgscan
        bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS
        ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi wme
        roaming MANUAL
#ifconfig wlan0 list scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
COMPANY-AP         c0:xx:20:yy:69:zz    2   54M -68:-95  100 EPS  WME HTCAP RSN
#cat /etc/wpa_supplicant.conf
# /etc/wpa_supplicant.conf written by wifimgr(8)

        ctrl_interface=/var/run/wpa_supplicant
        ctrl_interface_group=wheel

network={
        ssid="COMPANY-AP"
        #+ any_bssid
        key_mgmt=WPA-PSK
        proto=RSN
        psk="Wifi-pwd"
}

******************** In Home/WEP ******************
#ifconfig iwn0
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 8c:xx:82:yy:41:zz
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
        status: associated
#ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 8c:xx:82:yy:41:zz
        inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
        status: associated
        ssid OpenBSD channel 11 (2462 MHz 11g) bssid 8c:xx:0a:yy:ef:zz
        country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit
        txpower 14 bmiss 10 scanvalid 450 bgscan bgscanintvl 300
        bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL
#ifconfig wlan0 list scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
OpenBSD         8c:xx:0a:yy:ef:zz   11   54M -64:-95  100 EPS  WME ATH WPS
#cat /etc/wpa_supplicant.conf
# /etc/wpa_supplicant.conf written by wifimgr(8)

        ctrl_interface=/var/run/wpa_supplicant
        ctrl_interface_group=wheel

network={
        #: HomwAP-WEP
        ssid="OpenBSD"
        bssid=8c:xx:0a:yy:ef:zz
        key_mgmt=NONE
        wep_tx_keyidx=0
        wep_key0="1234567890123"
}

#wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Trying to associate with 8c:xx:0a:yy:ef:zz (SSID='OpenBSD' freq=2462 MHz)
Associated with 8c:xx:0a:yy:ef:zz
CTRL-EVENT-CONNECTED - Connection to 8c:xx:0a:yy:ef:zz completed (auth) [id=0 id_str=]


******************** In Home/WAP-PSK ******************
#ifconfig iwn0
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 8c:xx:82:yy:41:zz
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
        status: associated
#ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 8c:xx:82:yy:41:zz
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 12 (2467 MHz 11g)
        country US authmode WPA1+WPA2/802.11i privacy OFF deftxkey 1
        txpower 14 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
        roam:rssi 7 roam:rate 5 protmode CTS wme
#ifconfig wlan0 list scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
0x0b0717000...  8c:xx:0a:yy:ef:zz   11   54M -65:-95  100 EPS  RSN HTCAP MESHCONF WME ATH WPS
#cat /etc/wpa_supplicant.conf
# /etc/wpa_supplicant.conf written by wifimgr(8)

        ctrl_interface=/var/run/wpa_supplicant
        ctrl_interface_group=wheel

network={
        #: HomeAP-WPA
        ssid="0x0b071700000000000000" #Try to set "OpenBSD", but no effect.
        bssid=8c:xx:0a:yy:ef:zz
        key_mgmt=WPA-PSK
        proto=RSN
        psk="1234567890"
}

#wpa_supplicant -dd -i wlan0 -c /etc/wpa_supplicant.conf
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=7):
     4f 70 65 6e 42 53 44                              OpenBSD        
BSSID - hexdump(len=6): 8c xx 0a yy ef zz
key_mgmt: 0x2
proto: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='OpenBSD'
Own MAC address: 8c:xx:82:yy:41:zz
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=0 (from group name 'wheel')
Added interface wlan0
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Received 424 bytes of scan results (1 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 8c:xx:0a:yy:ef:zz SSID 'OpenBSD'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 8c:xx:0a:yy:ef:zz ssid='OpenBSD' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 8c:xx:0a:yy:ef:zz ssid='OpenBSD' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
   skip - non-WPA network not allowed
No suitable network found
Setting scan request: 5 sec 0 usec
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
Starting AP scan for wildcard SSID
Received 612 bytes of scan results (2 BSSes)
BSS: Start scan result update 2
BSS: Add new id 1 BSSID 00:1d:0f:90:1d:c8 SSID 'TP-LINK'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:1d:0f:90:1d:c8 ssid='TP-LINK' wpa_ie_len=26 rsn_ie_len=24 caps=0x31
   skip - SSID mismatch
1: 8c:xx:0a:yy:ef:zz ssid='OpenBSD' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:1d:0f:90:1d:c8 ssid='TP-LINK' wpa_ie_len=26 rsn_ie_len=24 caps=0x31
   skip - SSID mismatch
1: 8c:xx:0a:yy:ef:zz ssid='OpenBSD' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
   skip - non-WPA network not allowed
No suitable network found
Setting scan request: 5 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_bsd_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
BSS: Remove id 1 BSSID 00:1d:0f:90:1d:c8 SSID 'TP-LINK'
BSS: Remove id 0 BSSID 8c:xx:0a:yy:ef:zz SSID 'OpenBSD'
Cancelling scan request
Cancelling authentication timeout
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=0
ELOOP: remaining socket: sock=4 eloop_data=0x80140f300 user_data=0x80143c080 handler=0x4280e0


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
That SSID looks very odd. And look at the output of wpa_supplicant -
it isn't finding any WPA enabled APs.

And do an "ifconfig -v wlan0 list scan" at home, to get the entire
SSID and decoded beacon contents from the scan cache.



Adrian
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
2012-07-31 03:33, Adrian Chadd<[hidden email]> wrote:
>That SSID looks very odd. And look at the output of wpa_supplicant -
>it isn't finding any WPA enabled APs.
>
>And do an "ifconfig -v wlan0 list scan" at home, to get the entire
>SSID and decoded beacon contents from the scan cache.
>
>
>
>Adrian

Ok, I 'll test it at home. Now, My local time is 10:32 AM.

I also think the SSID is very odd. But other devices can get the right SSID.

HonestQiao
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
RIght. It's quite possible that there's something about that beacon
frame format that's tripping up the beacon parsing code in net80211.

can you please take a snapshot using monitor mode?

tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out

Run that whilst you're trying to associate, let's see what happens.



adrian



On 30 July 2012 19:33, 乔楚/HonestQiao <[hidden email]> wrote:

> 2012-07-31 03:33, Adrian Chadd<[hidden email]> wrote:
>>That SSID looks very odd. And look at the output of wpa_supplicant -
>>it isn't finding any WPA enabled APs.
>>
>>And do an "ifconfig -v wlan0 list scan" at home, to get the entire
>>SSID and decoded beacon contents from the scan cache.
>>
>>
>>
>>Adrian
>
> Ok, I 'll test it at home. Now, My local time is 10:32 AM.
>
> I also think the SSID is very odd. But other devices can get the right SSID.
>
> HonestQiao
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
.. meshconf?

Are they setting some bit somewhere which is reserved for 802.11s, and
not setting up said 802.11s?



adrian


On 31 July 2012 09:28, 乔楚 <[hidden email]> wrote:

> 2012/7/31 Adrian Chadd <[hidden email]>:
>> RIght. It's quite possible that there's something about that beacon
>> frame format that's tripping up the beacon parsing code in net80211.
>>
>> can you please take a snapshot using monitor mode?
>>
>> tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out
>>
>> Run that whilst you're trying to associate, let's see what happens.
>>
>>
>>
>> adrian
>>
>>
>>
>> On 30 July 2012 19:33, 乔楚/HonestQiao <[hidden email]> wrote:
>>> 2012-07-31 03:33, Adrian Chadd<[hidden email]> wrote:
>>>>That SSID looks very odd. And look at the output of wpa_supplicant -
>>>>it isn't finding any WPA enabled APs.
>>>>
>>>>And do an "ifconfig -v wlan0 list scan" at home, to get the entire
>>>>SSID and decoded beacon contents from the scan cache.
>>>>
>>>>
>>>>
>>>>Adrian
>>>
>>> Ok, I 'll test it at home. Now, My local time is 10:32 AM.
>>>
>>> I also think the SSID is very odd. But other devices can get the right SSID.
>>>
>>> HonestQiao
>
> tty0# ifconfig -v wlan0 list scan
> SSID/MESH ID                     BSSID              CHAN RATE   S:N     INT CAPS
> 0x0b071500000000000000           8c:21:0a:43:ef:d4   11   54M -65:-95
> 100 EPS  SSID<OpenBSD> RATES<B2,B4,B11,B22,12,18,24,36> DSPARMS<11>
> ERP<0x0> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK>
> XRATES<48,72,96,108> HTCAP<cap 0x11ef param 0x3 mcsset[0-15] extcap
> 0x400 txbf 0xde7e606 antenna 0x0> MESHCONF<PATH:UNKNOWN LINK:UNKNOWN
> CONGESTION:UNKNOWN SYNC:UNKNOWN AUTH:UNKNOWN FORM:0x0 CAPS:0x0>
> HTINFO<ctl 11, 7,15,0,0 basicmcs[]> MESHID<0x0b07150000000000000.>
> WME<qosinfo 0x85 BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin
> 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2
> cwmin 2 cwmax 3 txop 47]> ATH<0x7fff> WPS<v:1.0 st:C
> uuid-e:00-01-02-03-04-05-06-07-08-09-0a-0b-0c-0d-0e-0f>
>
> tty0#wpa_supplicant -s -i wlan0 -c /etc/wpa_supplicant.conf -D bsd
>
> tty1#tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out
>
> tty2#cat /etc/wpa_supplicant.conf
> # /etc/wpa_supplicant.conf written by wifimgr(8)
>
>         ctrl_interface=/var/run/wpa_supplicant
>         ctrl_interface_group=wheel
>
> network={
>         ssid="0x0b071500000000000000"
>         bssid=8c:21:0a:43:ef:d4
>         key_mgmt=WPA-PSK
>         proto=RSN
>         psk="12345678901"
> }
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
In reply to this post by Adrian Chadd-2
FWIW, you don't need to use -D bsd



Adrian

On 31 July 2012 09:28, 乔楚 <[hidden email]> wrote:

> 2012/7/31 Adrian Chadd <[hidden email]>:
>> RIght. It's quite possible that there's something about that beacon
>> frame format that's tripping up the beacon parsing code in net80211.
>>
>> can you please take a snapshot using monitor mode?
>>
>> tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out
>>
>> Run that whilst you're trying to associate, let's see what happens.
>>
>>
>>
>> adrian
>>
>>
>>
>> On 30 July 2012 19:33, 乔楚/HonestQiao <[hidden email]> wrote:
>>> 2012-07-31 03:33, Adrian Chadd<[hidden email]> wrote:
>>>>That SSID looks very odd. And look at the output of wpa_supplicant -
>>>>it isn't finding any WPA enabled APs.
>>>>
>>>>And do an "ifconfig -v wlan0 list scan" at home, to get the entire
>>>>SSID and decoded beacon contents from the scan cache.
>>>>
>>>>
>>>>
>>>>Adrian
>>>
>>> Ok, I 'll test it at home. Now, My local time is 10:32 AM.
>>>
>>> I also think the SSID is very odd. But other devices can get the right SSID.
>>>
>>> HonestQiao
>
> tty0# ifconfig -v wlan0 list scan
> SSID/MESH ID                     BSSID              CHAN RATE   S:N     INT CAPS
> 0x0b071500000000000000           8c:21:0a:43:ef:d4   11   54M -65:-95
> 100 EPS  SSID<OpenBSD> RATES<B2,B4,B11,B22,12,18,24,36> DSPARMS<11>
> ERP<0x0> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK>
> XRATES<48,72,96,108> HTCAP<cap 0x11ef param 0x3 mcsset[0-15] extcap
> 0x400 txbf 0xde7e606 antenna 0x0> MESHCONF<PATH:UNKNOWN LINK:UNKNOWN
> CONGESTION:UNKNOWN SYNC:UNKNOWN AUTH:UNKNOWN FORM:0x0 CAPS:0x0>
> HTINFO<ctl 11, 7,15,0,0 basicmcs[]> MESHID<0x0b07150000000000000.>
> WME<qosinfo 0x85 BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin
> 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2
> cwmin 2 cwmax 3 txop 47]> ATH<0x7fff> WPS<v:1.0 st:C
> uuid-e:00-01-02-03-04-05-06-07-08-09-0a-0b-0c-0d-0e-0f>
>
> tty0#wpa_supplicant -s -i wlan0 -c /etc/wpa_supplicant.conf -D bsd
>
> tty1#tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w pcap.out
>
> tty2#cat /etc/wpa_supplicant.conf
> # /etc/wpa_supplicant.conf written by wifimgr(8)
>
>         ctrl_interface=/var/run/wpa_supplicant
>         ctrl_interface_group=wheel
>
> network={
>         ssid="0x0b071500000000000000"
>         bssid=8c:21:0a:43:ef:d4
>         key_mgmt=WPA-PSK
>         proto=RSN
>         psk="12345678901"
> }
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
In reply to this post by Adrian Chadd-2
Hi,

Also, take a look at the key setup:

RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK>

it's an 802.1x PSK, not WPA-PSK.



Adrian
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
In reply to this post by Adrian Chadd-2
What's the configuration of the openbsd AP? It's announcing 802.11n
IEs and it looks like it's all draft-era fields.

Can you disable 11n on openBSD?



Adrian
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
2012-08-01 04:58, Adrian Chadd<[hidden email]> wrote:
>What's the configuration of the openbsd AP?
>IEs and it looks like it's all draft-era fields.It's announcing 802.11n
>
>Can you disable 11n on openBSD?
>
>
>
>Adrian

My wifi router named OpenBSD support 11n only, 11 bgn mixed, 11 bg mixed, 11g only, 11b only.
I'll test for 11g only and 11b only.

Why it can be used in WEP encryption mode?
I only change the encryption mode between WEP and WPA2/PSK.

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
In reply to this post by Adrian Chadd-2
2012-08-01 04:58, Adrian Chadd<[hidden email]> wrote:
>What's the configuration of the openbsd AP? It's announcing 802.11n
>IEs and it looks like it's all draft-era fields.
>
>Can you disable 11n on openBSD?
>
>
>
>Adrian

Configure of OpenBSD AP:
2.4G / 11bgn mixed / 40MHz / chl:11 / 300Mbps
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
.. but does openbsd actually _support_ 802.11n? I didn't think it did.



adrian


On 31 July 2012 20:28, 乔楚/HonestQiao <[hidden email]> wrote:

> 2012-08-01 04:58, Adrian Chadd<[hidden email]> wrote:
>>What's the configuration of the openbsd AP? It's announcing 802.11n
>>IEs and it looks like it's all draft-era fields.
>>
>>Can you disable 11n on openBSD?
>>
>>
>>
>>Adrian
>
> Configure of OpenBSD AP:
> 2.4G / 11bgn mixed / 40MHz / chl:11 / 300Mbps
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
2012-08-01 12:40, Adrian Chadd<[hidden email]> wrote:
>.. but does openbsd actually _support_ 802.11n? I didn't think it did.
>
>
>
>adrian
>

My AP is TP-LINK TL-WR843N. I set OpenBSD as its SSID.
The official technical documentation says that it supports 802.11n.
I'll also test for 11n only.


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
Oh, ok. Right. Try 11g only. See if that works better.

There's something odd about that beacon frame that is tripping up
net80211. I'll dig a little deeper tomorow.

Thanks again,


adrian

On 31 July 2012 23:36, 乔楚/HonestQiao <[hidden email]> wrote:

> 2012-08-01 12:40, Adrian Chadd<[hidden email]> wrote:
>>.. but does openbsd actually _support_ 802.11n? I didn't think it did.
>>
>>
>>
>>adrian
>>
>
> My AP is TP-LINK TL-WR843N. I set OpenBSD as its SSID.
> The official technical documentation says that it supports 802.11n.
> I'll also test for 11n only.
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
2012-08-01 14:38, Adrian Chadd<[hidden email]> wrote:

>Oh, ok. Right. Try 11g only. See if that works better.
>
>There's something odd about that beacon frame that is tripping up
>net80211. I'll dig a little deeper tomorow.
>
>Thanks again,
>
>
>adrian
>
OK, I'll make all the testings.

If you think it is necessary, we can determine a time-line communication and real-time test, in order to better find the problem.

HonestQiao
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
In reply to this post by Adrian Chadd-2
2012-08-01 14:38, Adrian Chadd<[hidden email]> wrote:

>Oh, ok. Right. Try 11g only. See if that works better.
>
>There's something odd about that beacon frame that is tripping up
>net80211. I'll dig a little deeper tomorow.
>
>Thanks again,
>
>
>adrian
>
You are right.
After several tests, I found the 802.11b 802.11g 802.11 bg mixed can use.
It can't connect to 802.11n AP.

My wifi card is Intel Centrino Wireless-N 1000 which support 802.11 b/g/n.
http://www.intel.com/p/en_US/support/highlights/wireless/n1000/

Is freebsd9/amd64 not support 802.11n ?
Or is the driver of my wifi card not support 802.11n?


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
No, FreeBSD-9 supports 802.11n on the Intel NICs just fine. I
currently have no idea why the 802.11n beacon IE is confusing FreeBSD.

Please file a PR with all the information you've gathered to date.

Thanks!




Adrian
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

乔楚/HonestQiao
2012-08-02 00:56, Adrian Chadd<[hidden email]> wrote:

>No, FreeBSD-9 supports 802.11n on the Intel NICs just fine. I
>currently have no idea why the 802.11n beacon IE is confusing FreeBSD.
>
>Please file a PR with all the information you've gathered to date.
>
>Thanks!
>
>
>
>
>Adrian
What's a PR?

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd-2
A problem report.

http://www.freebsd.org/send-pr.html




Adrian

On 1 August 2012 09:59, 乔楚/HonestQiao <[hidden email]> wrote:

> 2012-08-02 00:56, Adrian Chadd<[hidden email]> wrote:
>>No, FreeBSD-9 supports 802.11n on the Intel NICs just fine. I
>>currently have no idea why the 802.11n beacon IE is confusing FreeBSD.
>>
>>Please file a PR with all the information you've gathered to date.
>>
>>Thanks!
>>
>>
>>
>>
>>Adrian
>
> What's a PR?
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
1234
Loading...