错误信息如下:
ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
+rtl871x_sta_deauth_ops, 20:f3:a3:e0:37:1e is deauth, reason=2
wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: deauthenticated due to local deauth request
+rtl871x_sta_remove_ops, 20:f3:a3:e0:37:1e is sta address removed
wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: disassociated
+rtl871x_get_sta_wpaie, 20:f3:a3:e0:37:1e is sta's address
wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: associated
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
+rtl871x_send_eapol
+rtl871x_get_sta_wpaie, 20:f3:a3:e0:37:1e is sta's address
wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: associated
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
+rtl871x_send_eapol
wlan0: STA 20:f3:a3:e0:37:1e WPA: received EAPOL-Key 2/4 Pairwise with unexpected replay counter
^Crtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
+rtl871x_sta_remove_ops, 20:f3:a3:e0:37:1e is sta address removed
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2
ELOOP: remaining socket: sock=6 eloop_data=0x2f36b8 user_data=(nil) handler=0x29df0
在hostapd 1.1中设置wpa密码后就不能正常工作,但删除掉wpa密码,没密码时能正常连接,能正常获取ip
错误信息如下: ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument Failed to set encryption. +rtl871x_sta_deauth_ops, 20:f3:a3:e0:37:1e is deauth, reason=2 wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: deauthenticated due to local deauth request +rtl871x_sta_remove_ops, 20:f3:a3:e0:37:1e is sta address removed wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: disassociated +rtl871x_get_sta_wpaie, 20:f3:a3:e0:37:1e is sta's address wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: associated rtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument Failed to set encryption. rtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument Failed to set encryption. +rtl871x_send_eapol +rtl871x_get_sta_wpaie, 20:f3:a3:e0:37:1e is sta's address wlan0: STA 20:f3:a3:e0:37:1e IEEE 802.11: associated rtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument Failed to set encryption. rtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument Failed to set encryption. +rtl871x_send_eapol wlan0: STA 20:f3:a3:e0:37:1e WPA: received EAPOL-Key 2/4 Pairwise with unexpected replay counter ^Crtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Invalid argument Failed to set encryption. +rtl871x_sta_remove_ops, 20:f3:a3:e0:37:1e is sta address removed +rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2 ELOOP: remaining socket: sock=6 eloop_data=0x2f36b8 user_data=(nil) handler=0x29df0
我不确定这是驱动方面问题还是hostapd1.1的问题
以下是我的hostapd.conf的配置:
Basic configuration
interface=wlan0 ssid=raspberry_wifi channel=6
bridge=br0
WPA and WPA2 configuration
macaddr_acl=0 auth_algs=3
ignore_broadcast_ssid=0
wpa=3 wpa_passphrase=yw1997521 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP
Hardware configuration
driver=rtl871xdrv ieee80211n=1 hw_mode=g device_name=RTL8192CU manufacturer=Realtek
问题困扰了两三天了,希望答复