You are not logged in.

#1 2017-02-20 13:23:59

WyRe
Member
Registered: 2015-09-26
Posts: 26

Hostap auth errors

Hi all,

I've got a machine with static IP setup using systemd-networkd to my ethernet interface, I'm trying to setup an interface wifi rtl8812au as AP following this wiki article. Also I've installed this AUR package to install the module in the kernel, also, as is specified in the article I've installed hostapd and I've written the config file in /etc/hostapd/hostapd.conf

ssid=ONO1F8CR3
wpa_passphrase=mypassphrase
interface=wlp0s29f7u8
bridge=br0
auth_algs=3
channel=7
driver=nl80211
hw_mode=g
logger_stdout=-1
logger_stdout_level=2
max_num_sta=5
rsn_pairwise=CCMP
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP

The hostapd.service is running properly as you can see:

$ systemctl status hostapd.service 
● hostapd.service - Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
   Loaded: loaded (/usr/lib/systemd/system/hostapd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2017-02-20 14:17:32 CET; 971ms ago
 Main PID: 2406 (hostapd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/hostapd.service
           └─2406 /usr/bin/hostapd /etc/hostapd/hostapd.conf

feb 20 14:17:32 PentiumServer systemd[1]: Started Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.
feb 20 14:17:32 PentiumServer hostapd[2406]: Configuration file: /etc/hostapd/hostapd.conf
feb 20 14:17:32 PentiumServer hostapd[2406]: Using interface wlp0s29f7u8 with hwaddr 80:3f:5d:21:75:0e and ssid "ONO1F8CR3"
feb 20 14:17:32 PentiumServer hostapd[2406]: wlp0s29f7u8: interface state UNINITIALIZED->ENABLED
feb 20 14:17:32 PentiumServer hostapd[2406]: wlp0s29f7u8: AP-ENABLED

But that's what I get when I try to attach a client in journald:

feb 20 14:19:53 PentiumServer sudo[2420]:     wyre : TTY=pts/4 ; PWD=/home/wyre ; USER=root ; COMMAND=/usr/bin/systemctl restart hostapd.service
feb 20 14:19:53 PentiumServer sudo[2420]: pam_unix(sudo:session): session opened for user root by wyre(uid=0)
feb 20 14:19:53 PentiumServer hostapd[2406]: wlp0s29f7u8: interface state ENABLED->DISABLED
feb 20 14:19:53 PentiumServer hostapd[2406]: wlp0s29f7u8: AP-DISABLED
feb 20 14:19:53 PentiumServer hostapd[2406]: nl80211: deinit ifname=wlp0s29f7u8 disabled_11b_rates=0
feb 20 14:19:53 PentiumServer systemd[1]: Stopping Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator...
feb 20 14:19:53 PentiumServer kernel: device wlp0s29f7u8 left promiscuous mode
feb 20 14:19:53 PentiumServer kernel: br0: port 1(wlp0s29f7u8) entered disabled state
feb 20 14:19:53 PentiumServer systemd[1]: Stopped Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.
feb 20 14:19:53 PentiumServer systemd[1]: Started Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.
feb 20 14:19:53 PentiumServer hostapd[2426]: Configuration file: /etc/hostapd/hostapd.conf
feb 20 14:19:53 PentiumServer sudo[2420]: pam_unix(sudo:session): session closed for user root
feb 20 14:19:53 PentiumServer kernel: br0: port 1(wlp0s29f7u8) entered blocking state
feb 20 14:19:53 PentiumServer kernel: br0: port 1(wlp0s29f7u8) entered disabled state
feb 20 14:19:53 PentiumServer kernel: device wlp0s29f7u8 entered promiscuous mode
feb 20 14:19:53 PentiumServer systemd-udevd[2431]: Could not generate persistent MAC address for br0: No such file or directory
feb 20 14:19:53 PentiumServer hostapd[2426]: Using interface wlp0s29f7u8 with hwaddr 80:3f:5d:21:75:0e and ssid "ONO1F8CR3"
feb 20 14:19:53 PentiumServer hostapd[2426]: wlp0s29f7u8: interface state UNINITIALIZED->ENABLED
feb 20 14:19:53 PentiumServer hostapd[2426]: wlp0s29f7u8: AP-ENABLED
feb 20 14:19:53 PentiumServer kernel: RTL871X: assoc success
feb 20 14:19:53 PentiumServer kernel: RTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:AES
feb 20 14:20:04 PentiumServer hostapd[2426]: wlp0s29f7u8: STA 00:08:22:e6:ff:fb IEEE 802.11: associated
feb 20 14:20:04 PentiumServer hostapd[2426]: wlp0s29f7u8: STA 00:08:22:e6:ff:fb IEEE 802.11: associated
feb 20 14:20:04 PentiumServer kernel: RTL871X: send eapol packet
feb 20 14:20:04 PentiumServer kernel: RTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:AES
feb 20 14:20:04 PentiumServer kernel: RTL871X: recv eapol packet
feb 20 14:20:05 PentiumServer kernel: RTL871X: send eapol packet
feb 20 14:20:05 PentiumServer kernel: RTL871X: recv eapol packet
feb 20 14:20:06 PentiumServer kernel: RTL871X: send eapol packet
feb 20 14:20:06 PentiumServer kernel: RTL871X: recv eapol packet
feb 20 14:20:07 PentiumServer kernel: RTL871X: send eapol packet
feb 20 14:20:07 PentiumServer kernel: RTL871X: recv eapol packet
feb 20 14:20:13 PentiumServer hostapd[2426]: wlp0s29f7u8: STA 00:08:22:e6:ff:fb IEEE 802.11: deauthenticated due to local deauth request
feb 20 14:20:13 PentiumServer hostapd[2426]: wlp0s29f7u8: STA 00:08:22:e6:ff:fb IEEE 802.11: deauthenticated due to local deauth request
feb 20 14:20:14 PentiumServer kernel: RTL871X: OnDeAuth(wlp0s29f7u8) reason=3, ta=00:08:22:e6:ff:fb
feb 20 14:20:14 PentiumServer hostapd[2426]: wlp0s29f7u8: STA 00:08:22:e6:ff:fb IEEE 802.11: disassociated
feb 20 14:20:14 PentiumServer hostapd[2426]: wlp0s29f7u8: STA 00:08:22:e6:ff:fb IEEE 802.11: disassociated

What do you think? Thank you so much.

Offline

Board footer

Powered by FluxBB