Ubuntu 12.04.2 LTS (Precise Pangolin) setup AP log

这篇博客详细记录了在Ubuntu 12.04.2 LTS (Precise Pangolin) 上设置无线接入点(AP)的日志,包括安装hostapd和dhcp3-server,配置hostapd.conf和dhcpd.conf文件,以及通过ifconfig和iptables命令进行网络配置。在过程中遇到了无线网卡Realtek RTL8191SEvB连接问题,并展示了hostapd的日志输出,显示了设备连接和认证的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

 

sudo apt-get install hostapd

sudo apt-get install dhcp3-server

 

$ cat /etc/hostapd/hostapd.conf 
#interface=wlan0
interface=wlan1
driver=nl80211
ssid=myAP
country_code=CN
hw_mode=g
channel=10
macaddr_acl=0
auth_algs=1
wpa=2
wpa_passphrase=PassWord
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP

$ tail /etc/dhcp/dhcpd.conf
#  }
#}


subnet 192.168.0.0 netmask 255.255.255.0
{
    range 192.168.0.2 192.168.0.10;
    option routers 192.168.0.1;
    option domain-name-servers 8.8.8.8;
}

 

 

sudo ifconfig wlan0 192.168.0.1 netmask 255.255.255.0

$ sudo killall dhcpd

$ sudo dhcpd wlan1 -pf /var/run/dhcp-server/dhcpd.pid
Internet Systems Consortium DHCP Server 4.1-ESV-R4
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Listening on LPF/wlan1/ec:88:8f:c0:4e:a0/192.168.0.0/24
Sending on   LPF/wlan1/ec:88:8f:c0:4e:a0/192.168.0.0/24
Sending on   Socket/fallback/fallback-net

 

sudo bash -c "echo 1 >/proc/sys/net/ipv4/ip_forward"

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

 

$ lspci |grep Wireless
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)

 

$ lsmod |grep -si rtl
rtl8192se              69156  0 
rtlwifi                76086  1 rtl8192se
mac80211              555198  3 ath9k_htc,rtl8192se,rtlwifi
cfg80211              208382  4 ath9k_htc,ath,rtlwifi,mac80211

 

该网卡在12.04上出现无法连接的问题

sudo hostapd /etc/hostapd/hostapd.conf

nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for our SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for our SSID
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 88:53:d4:26:c4:14 sent probe request for our SSID
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth
authentication: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authentication OK (open system)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-AUTHENTICATE.indication(88:53:d4:26:c4:14, OPEN_SYSTEM)
wlan0: STA 88:53:d4:26:c4:14 MLME: MLME-DELETEKEYS.request(88:53:d4:26:c4:14)
authentication reply: STA=88:53:d4:26:c4:14 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
STA e0:94:67:04:ef:a0 sent probe request for broadcast SSID
STA e0:94:67:04:ef:a0 sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)

以为hostapd版本过低,

$ hostapd -v
hostapd v0.7.3
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2010, Jouni Malinen <j@w1.fi> and contributors

 

下载hostapd源码,

http://wireless.kernel.org/en/users/Documentation/hostapd

git clone git://w1.fi/srv/git/hostap.git
cd hostap/hostapd

编译出错,

 

安装

sudo apt-get install libnl-dev libpopt-dev

sudo apt-get install libssl-dev

编译成功,

$ ./hostapd -v
hostapd v2.1-devel
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> and contributors

$ sudo ./hostapd /etc/hostapd/hostapd.conf 
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Failed to set interface wlan1 into AP mode
nl80211 driver initialization failed.
Failed to initialize interface

无法使用, 原因不明。

 

在13.04系统里, 使用系统安装的hostapdv1.0搭建的hostap可以连接成功,但是会不停的忽断忽连,

 

Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 88:9f:fa:f8:79:83 and ssid 'MyAP'
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: disassociated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: AP-STA-CONNECTED 88:53:d4:26:c4:14
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000000
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000001
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000002
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000003
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000004
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000005
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000006
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000007
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000008
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-00000009
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA ac:f7:f3:e0:00:5f IEEE 802.11: authenticated
wlan0: STA ac:f7:f3:e0:00:5f IEEE 802.11: associated (aid 2)
wlan0: AP-STA-CONNECTED ac:f7:f3:e0:00:5f
wlan0: STA ac:f7:f3:e0:00:5f RADIUS: starting accounting session 520CDFB8-0000000A
wlan0: STA ac:f7:f3:e0:00:5f WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-0000000B
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-0000000C
wlan0: STA 88:53:d4:26:c4:14 WPA: pairwise key handshake completed (RSN)
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: authenticated
wlan0: STA 88:53:d4:26:c4:14 IEEE 802.11: associated (aid 1)
wlan0: STA 88:53:d4:26:c4:14 RADIUS: starting accounting session 520CDFB8-0000000D

 

 

 

参考

 

怀疑无线网卡的问题,换了网卡之后所有问题得以解决。

http://www.atheros.com/technology/technology.php?nav1=47&product=77

 

$ lsusb |grep Atheros

Bus 001 Device 007: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

 

$ lsmod |grep -si ath
ath9k_htc              92780  0 
ath9k_common           14054  1 ath9k_htc
ath9k_hw              399665  2 ath9k_htc,ath9k_common
ath                    24124  3 ath9k_htc,ath9k_common,ath9k_hw
mac80211              555198  3 ath9k_htc,rtl8192se,rtlwifi
cfg80211              208382  4 ath9k_htc,ath,rtlwifi,mac80211

 

$ iwconfig
mon.wlan1  IEEE 802.11bgn  Mode:Monitor  Frequency:2.457 GHz  Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
wlan1     IEEE 802.11bgn  Mode:Master  Frequency:2.457 GHz  Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
eth0      no wireless extensions.


lo        no wireless extensions.


wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          

$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 60:eb:69:bf:b4:5b  
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::62eb:69ff:febf:b45b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:519564 errors:0 dropped:0 overruns:0 frame:0
          TX packets:408896 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:585852282 (585.8 MB)  TX bytes:37459353 (37.4 MB)


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6617 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6617 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:614489 (614.4 KB)  TX bytes:614489 (614.4 KB)


mon.wlan1 Link encap:UNSPEC  HWaddr EC-88-8F-C0-4E-A0-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14765 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3236294 (3.2 MB)  TX bytes:0 (0.0 B)


wlan0     Link encap:Ethernet  HWaddr 88:9f:fa:f8:79:83  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:274 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:58822 (58.8 KB)


wlan1     Link encap:Ethernet  HWaddr ec:88:8f:c0:4e:a0  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ee88:8fff:fec0:4ea0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:250667 errors:0 dropped:0 overruns:0 frame:0
          TX packets:265017 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22252257 (22.2 MB)  TX bytes:327874349 (327.8 MB)

 

 

 

nl80211: Set beacon (beacon_set=0)
wlan1: Setup of interface done.
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan1' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan1' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Unknown event 5
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
Unknown Broadcom information element ignored (type=52 len=26)


unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
Unknown Microsoft information element ignored (type=8 len=7)


STA 10:1c:0c:67:10:39 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
STA 00:1d:e0:6f:82:67 sent probe request for broadcast SSID
STA 00:1d:e0:6f:82:67 sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
STA 00:1d:e0:6f:82:67 sent probe request for broadcast SSID
STA 00:1d:e0:6f:82:67 sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
Unknown Microsoft information element ignored (type=8 len=7)


STA 10:1c:0c:67:10:39 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
Unknown Microsoft information element ignored (type=8 len=7)


STA 10:1c:0c:67:10:39 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
Unknown Microsoft information element ignored (type=8 len=7)


STA 10:1c:0c:67:10:39 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
Unknown Microsoft information element ignored (type=8 len=7)


STA 10:1c:0c:67:10:39 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
Unknown Microsoft information element ignored (type=8 len=7)


unknown vendor specific information element ignored (vendor OUI 50:6f:9a len=17)
STA ac:f7:f3:e0:00:5f sent probe request for our SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=ac:f7:f3:e0:00:5f auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan1: STA ac:f7:f3:e0:00:5f IEEE 802.11: authentication OK (open system)
wlan1: STA ac:f7:f3:e0:00:5f MLME: MLME-AUTHENTICATE.indication(ac:f7:f3:e0:00:5f, OPEN_SYSTEM)
wlan1: STA ac:f7:f3:e0:00:5f MLME: MLME-DELETEKEYS.request(ac:f7:f3:e0:00:5f)
authentication reply: STA=ac:f7:f3:e0:00:5f auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth cb
wlan1: STA ac:f7:f3:e0:00:5f IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=ac:f7:f3:e0:00:5f capab_info=0x431 listen_interval=1
  new AID 1
wlan1: STA ac:f7:f3:e0:00:5f IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan1: STA ac:f7:f3:e0:00:5f IEEE 802.11: associated (aid 1)
wlan1: STA ac:f7:f3:e0:00:5f MLME: MLME-ASSOCIATE.indication(ac:f7:f3:e0:00:5f)
wlan1: STA ac:f7:f3:e0:00:5f MLME: MLME-DELETEKEYS.request(ac:f7:f3:e0:00:5f)
wpa_driver_nl80211_set_key: ifindex=14 alg=0 addr=0x14b6150 key_idx=0 set_tx=1 seq_len=0 key_len=0
   addr=ac:f7:f3:e0:00:5f
wlan1: STA ac:f7:f3:e0:00:5f WPA: event 1 notification
wpa_driver_nl80211_set_key: ifindex=14 alg=0 addr=0x14b6150 key_idx=0 set_tx=1 seq_len=0 key_len=0
   addr=ac:f7:f3:e0:00:5f
wlan1: STA ac:f7:f3:e0:00:5f WPA: start authentication
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=14 alg=0 addr=0x14b6150 key_idx=0 set_tx=1 seq_len=0 key_len=0
   addr=ac:f7:f3:e0:00:5f
wlan1: STA ac:f7:f3:e0:00:5f IEEE 802.1X: unauthorizing port
WPA: ac:f7:f3:e0:00:5f WPA_PTK_GROUP entering state IDLE
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state AUTHENTICATION
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state AUTHENTICATION2
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state INITPSK
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state PTKSTART
wlan1: STA ac:f7:f3:e0:00:5f WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
nl80211: Event message available
nl80211: Ignored unknown event (cmd=19)
IEEE 802.1X: ac:f7:f3:e0:00:5f TX status - version=2 type=3 length=95 - ack=1
IEEE 802.1X: 121 bytes from ac:f7:f3:e0:00:5f
   IEEE 802.1X: version=1 type=3 length=117
wlan1: STA ac:f7:f3:e0:00:5f WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state PTKCALCNEGOTIATING
WPA: PTK derivation - A1=ec:88:8f:c0:4e:a0 A2=ac:f7:f3:e0:00:5f
WPA: PMK - hexdump(len=32): d6 60 61 d8 43 8e ba 3e 2c 55 6f 1e 25 0d e4 74 14 eb 72 88 47 28 e9 44 48 c8 c3 f3 9b a2 92 1d
WPA: PTK - hexdump(len=48): d2 38 6c 2a 35 c7 10 4f 43 e1 d5 53 36 ef 20 fb 0a 55 ab 9b ea 74 2e a2 84 4b 10 50 79 7a b5 73 72 25 bc 41 6f 14 7d cb 6a b1 73 0e 6c 28 50 ab
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state PTKINITNEGOTIATING
wlan1: STA ac:f7:f3:e0:00:5f WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=56): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 01 00 0c 1e 90 18 fe 64 d0 12 8d ba 41 fa dc 74 8b 5f dd 00 00 00 00 00 00 00 00 00
IEEE 802.1X: ac:f7:f3:e0:00:5f TX status - version=2 type=3 length=151 - ack=1
IEEE 802.1X: 99 bytes from ac:f7:f3:e0:00:5f
   IEEE 802.1X: version=1 type=3 length=95
wlan1: STA ac:f7:f3:e0:00:5f WPA: received EAPOL-Key frame (4/4 Pairwise)
WPA: ac:f7:f3:e0:00:5f WPA_PTK entering state PTKINITDONE
wpa_driver_nl80211_set_key: ifindex=14 alg=3 addr=0x14b6150 key_idx=0 set_tx=1 seq_len=0 key_len=16
   addr=ac:f7:f3:e0:00:5f
AP-STA-CONNECTED ac:f7:f3:e0:00:5f
wlan1: STA ac:f7:f3:e0:00:5f IEEE 802.1X: authorizing port
wlan1: STA ac:f7:f3:e0:00:5f RADIUS: starting accounting session 52105DDD-00000000
wlan1: STA ac:f7:f3:e0:00:5f WPA: pairwise key handshake completed (RSN)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)
unknown vendor specific information element ignored (vendor OUI 00:03:7f len=9)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值