Добро пожаловать, Гость. Пожалуйста авторизуйтесь здесь.
FGHIGate на GaNJa NeTWoRK ST@Ti0N - Просмотр сообщения в эхоконференции RU.UNIX.BSD
Введите FGHI ссылку:


Присутствуют сообщения из эхоконференции RU.UNIX.BSD с датами от 18 Jan 11 22:51:00 до 18 Jan 24 18:16:22, всего сообщений: 10753
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 10231 из 10753 ==================================== RU.UNIX.BSD =
От   : Sergey Anohin                    2:5034/10.1        12 Jun 21 13:32:06
Кому : All                                                 12 Jun 21 13:32:06
Тема : wifi
FGHI : area://RU.UNIX.BSD?msgid=2:5034/10.1+c7ada118
= Кодировка сообщения определена как: CP866 ==================================
Ответ: area://RU.UNIX.BSD?msgid=grosbein.net+6462d2c1
Ответ: area://RU.UNIX.BSD?msgid=grosbein.net+dbc7cd0c
==============================================================================
Hello!

А не подскажете ли как пофиксить сабж, чтобы он не отваливался со временем. Выглядит это таким образом, что устройство 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"


Это понятно что:
# cat /etc/hostapd.conf
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=MYSSID
wpa=2
wpa_passphrase=<mykey>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
channel=0
ieee80211n=1
hw_mode=g
country_code=RU
#ieee80211ac=1
ieee80211d=1
wmm_enabled=1
#ht_capab=[SHORT-GI-40]
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2

Девайс:
ath0@pci0:1:0:0:        class=0x028000 card=0x30a4168c chip=0x002e168c rev=0x01 hdr=0x00
    vendor     = 'Qualcomm Atheros'
    device     = 'AR9287 Wireless Network Adapter (PCI-Express)'
    class      = network
    cap 01[40] = powerspec 3  supports D0 D1 D3  current D0
    cap 05[50] = MSI supports 1 message
    cap 10[60] = PCI-Express 2 legacy endpoint max data 128(128) RO
                 max read 512
                 link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1)
    ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
    ecap 0002[140] = VC 1 max VC0
    ecap 0003[160] = Serial 1 001517ffff241412
    ecap 0004[170] = Power Budgeting 1


ЗЫ чем-то мне напомнило известный баг openwrt:
ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
который фиксился через option disassoc_low_ack '0'


С наилучшими пожеланиями, Sergey Anohin.

--- wfido
* Origin: https://5034.ru/wfido (2:5034/10.1)

К главной странице гейта
Powered by NoSFeRaTU`s FGHIGate
Открытие страницы: 0.097058 секунды