iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9
Adrian Chadd
adrian at freebsd.org
Tue Jul 31 20:00:04 UTC 2012
FWIW, you don't need to use -D bsd
Adrian
On 31 July 2012 09:28, 乔楚 <honestqiao at gmail.com> wrote:
> 2012/7/31 Adrian Chadd <adrian at freebsd.org>:
>> 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 <honestqiao at gmail.com> wrote:
>>> 2012-07-31 03:33, Adrian Chadd<honestqiao at gmail.com> 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"
> }
More information about the freebsd-wireless
mailing list