А не подскажете ли как пофиксить сабж, чтобы он не отваливался со временем. Выглядит это таким образом, что устройство SSID видит, но не может подключиться. В логах hostapd:
Jun 7 15:21:39 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 IEEE 802.11: associated Jun 7 15:21:39 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 RADIUS: starting accounting session D2D738F4ADB95911 Jun 7 15:21:39 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 WPA: pairwise key handshake completed (RSN) Jun 7 15:27:27 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b IEEE 802.11: associated Jun 7 15:27:27 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b RADIUS: starting accounting session 924DEE4E52CBAE67 Jun 7 15:27:27 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: pairwise key handshake completed (RSN) Jun 7 15:31:35 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 WPA: group key handshake completed (RSN) Jun 7 15:31:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 15:41:35 server syslogd: last message repeated 1 times Jun 7 15:41:35 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 WPA: group key handshake completed (RSN) Jun 7 15:51:35 server syslogd: last message repeated 1 times Jun 7 15:51:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 16:01:35 server syslogd: last message repeated 1 times Jun 7 16:01:35 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 WPA: group key handshake completed (RSN) Jun 7 16:11:39 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake failed (RSN) after 4 tries Jun 7 16:11:39 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 WPA: group key handshake failed (RSN) after 4 tries Jun 7 16:11:39 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b IEEE 802.11: disassociated Jun 7 16:11:39 server hostapd[41074]: wlan0: STA 5a:09:c5:8c:36:73 IEEE 802.11: disassociated Jun 7 17:22:06 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b IEEE 802.11: associated Jun 7 17:22:06 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b RADIUS: starting accounting session E4BD9862EFBCC56B Jun 7 17:22:06 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: pairwise key handshake completed (RSN) Jun 7 17:22:42 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b IEEE 802.11: disassociated Jun 7 17:22:45 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b IEEE 802.11: associated Jun 7 17:22:45 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b RADIUS: starting accounting session 2F8FD86F12A638F9 Jun 7 17:22:45 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: pairwise key handshake completed (RSN) Jun 7 17:31:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 17:41:35 server syslogd: last message repeated 1 times Jun 7 17:51:35 server syslogd: last message repeated 1 times Jun 7 18:01:35 server syslogd: last message repeated 1 times Jun 7 18:11:35 server syslogd: last message repeated 1 times Jun 7 18:21:35 server syslogd: last message repeated 1 times Jun 7 18:31:35 server syslogd: last message repeated 1 times Jun 7 18:32:40 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d IEEE 802.11: associated Jun 7 18:32:40 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d RADIUS: starting accounting session 33F015ABBBA898CA Jun 7 18:32:40 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: pairwise key handshake completed (RSN) Jun 7 18:41:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 18:41:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 18:51:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 18:51:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 19:01:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 19:01:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 19:11:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 19:11:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 19:21:35 server syslogd: last message repeated 1 times Jun 7 19:21:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 19:31:35 server syslogd: last message repeated 1 times Jun 7 19:31:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 19:41:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 19:41:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 19:51:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 19:51:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 20:01:35 server syslogd: last message repeated 1 times Jun 7 20:01:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 20:11:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 20:11:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 20:21:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 20:21:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 20:31:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 20:31:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 20:41:35 server syslogd: last message repeated 1 times Jun 7 20:41:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 20:51:35 server syslogd: last message repeated 1 times Jun 7 20:51:36 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 21:01:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 21:01:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 21:11:35 server syslogd: last message repeated 1 times Jun 7 21:11:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 21:21:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 21:21:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 21:31:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 21:31:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 21:41:35 server syslogd: last message repeated 1 times Jun 7 21:41:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 21:51:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 21:51:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 22:01:35 server syslogd: last message repeated 1 times Jun 7 22:01:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 22:11:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 22:11:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 22:21:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 22:21:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 22:31:35 server syslogd: last message repeated 1 times Jun 7 22:31:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 22:41:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 22:41:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 22:51:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 22:51:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 23:01:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 23:01:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 23:11:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 23:11:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 23:21:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 23:21:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 23:31:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 23:31:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 23:41:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 7 23:41:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 7 23:51:35 server syslogd: last message repeated 1 times Jun 7 23:51:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 8 00:01:35 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d WPA: group key handshake completed (RSN) Jun 8 00:01:35 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b WPA: group key handshake completed (RSN) Jun 8 00:07:24 server hostapd[41074]: wlan0: STA fa:5e:f0:89:2f:4b IEEE 802.11: disassociated Jun 8 00:07:24 server hostapd[41074]: wlan0: STA a4:50:46:35:dd:4d IEEE 802.11: disassociated
Типа пару дней проработало. Если hostapd перезапустить, то все работает. Отваливается со временем.
Конфиги: это кусок из rc.conf:
wlans_ath0="wlan0" #create_args_wlan0="wlanmode hostap mode 11ng channel 6:ht/20 country RU regdomain etsi shortgi" create_args_wlan0="wlanmode hostap mode 11ng" #ifconfig_wlan0="ssid MYSSID" hostapd_enable="YES" hostapd_program="/usr/local/sbin/hostapd"