大家好, 我在fedora(17)下用 hostapd 搭建了一个 AP 模式的 wifi 热点, 供手机使用, 链接是没有问题,
可是出现了无规律反复重连现象(基本不到20秒就重连一次). 我搭建 无线 AP 参考的是这篇文章.
http://roylez.herokuapp.com/2011/08/11/hostapd.html
其中我的 hostapd.conf 文件如下:(没有更改的我没有贴, 如有必要, 请看附件).
interface=wlan1
driver=nl80211
ssid=vlad_is_here
channel=6
hw_mode=g
ignore_broadcast_ssid=0
auth_algs=1
wpa=2
wpa_passphrase=xxxxxxxx
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
当我启动服务时, 出现如下问题.
$sudo hostapd /etc/hostapd/hostapd.conf
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-00000077
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-00000078
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-00000079
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-0000007A
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-0000007B
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-0000007C
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-0000007D
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-0000007E
wlan0: STA c4:6a:b7:54:f2:b1 WPA: pairwise key handshake completed (RSN)
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: authenticated
wlan0: STA c4:6a:b7:54:f2:b1 IEEE 802.11: associated (aid 1)
问题就在这里, 反复出现
wlan0: STA c4:6a:b7:54:f2:b1 RADIUS: starting accounting session
50A71B31-0000007E
每次出现, 伴随的就是手机出现重连.