iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9
乔楚
honestqiao at gmail.com
Tue Aug 14 01:17:14 UTC 2012
2012/8/13 Adrian Chadd <adrian at freebsd.org>:
> -v
> list sta
[9:14:42]HonestQiao at x201i.pts/2 ~ % ifconfig -v wlan0 list sta
ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG
8c:21:0a:43:ef:d4 5 11 54M 21.5 0 1355 25136 EPS AQEHTRS
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, f,6,0,0
basicmcs[]> MESHID<0x0b0f060000000000000.> WME<qosinfo 0x83 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>
[9:14:47]HonestQiao at x201i.pts/2 ~ %
% ifconfig -v wlan0 list scan
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
OpenBSD 8c:21:0a:43:ef:d4 11 54M -66:-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, f,6,0,0 basicmcs[]> MESHID<0x0b0f060000000000000.>
WME<qosinfo 0x83 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>
[9:15:09]HonestQiao at x201i.pts/2 ~ %
[9:15:30]HonestQiao at x201i.pts/2 ~ % ifconfig -v wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 8c:a9:82:5a:41:58
inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11ng
status: associated
ssid OpenBSD channel 11 (2462 MHz 11g ht/40-) bssid 8c:21:0a:43:ef:d4
regdomain 0 country US anywhere -ecm authmode WPA2/802.11i -wps -tsn
privacy ON deftxkey UNDEF
AES-CCM 2:128-bit powersavemode OFF powersavesleep 100 txpower 14
txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 10
11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6
11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6
half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6
quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250
roam:11a rssi 7dBm rate 12 Mb/s
roam:11b rssi 7dBm rate 1 Mb/s
roam:11g rssi 7dBm rate 5 Mb/s
roam:turboA rssi 7dBm rate 12 Mb/s
roam:turboG rssi 7dBm rate 12 Mb/s
roam:sturbo rssi 7dBm rate 12 Mb/s
roam:11na rssi 7dBm MCS 1
roam:11ng rssi 7dBm MCS 1
roam:half rssi 7dBm rate 6 Mb/s
roam:quarter rssi 7dBm rate 3 Mb/s
-pureg protmode CTS ht htcompat ampdu ampdulimit 64k ampdudensity NA
-amsdutx amsdurx shortgi htprotmode RTSCTS -puren -smps -rifs wme
-burst -dwds roaming MANUAL bintval 100
AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack
cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm
AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack
cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm
AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack
cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm
AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack
cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm
groups: wlan
[9:15:39]HonestQiao at x201i.pts/2 ~ %
[9:15:39]HonestQiao at x201i.pts/2 ~ % 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="OpenBSD"
#+ any_bssid
key_mgmt=WPA-PSK
proto=RSN
psk="12345678901"
}
[9:15:51]HonestQiao at x201i.pts/2 ~ %
More information about the freebsd-wireless
mailing list