maybe someone can tell me why
client device is trying to connect many times so pasted messages are repeated periodically
on router i get (nothin special in dmesg):
root@LEDE:~# logread -f
Mon May 29 21:21:35 2017 daemon.err odhcp6c[1216]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Mon May 29 21:21:47 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: authentication OK (open system)
Mon May 29 21:21:47 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b MLME: MLME-AUTHENTICATE.indication(00:13:e8:21:28:9b, OPEN_SYSTEM)
Mon May 29 21:21:47 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b MLME: MLME-DELETEKEYS.request(00:13:e8:21:28:9b)
Mon May 29 21:21:47 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: association OK (aid 1)
Mon May 29 21:21:47 2017 daemon.notice hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: did not acknowledge authentication response
Mon May 29 21:21:47 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: did not acknowledge association response
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: authentication OK (open system)
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b MLME: MLME-AUTHENTICATE.indication(00:13:e8:21:28:9b, OPEN_SYSTEM)
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b MLME: MLME-DELETEKEYS.request(00:13:e8:21:28:9b)
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: association OK (aid 1)
Mon May 29 21:21:48 2017 daemon.notice hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: did not acknowledge authentication response
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: did not acknowledge association response
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: authentication OK (open system)
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b MLME: MLME-AUTHENTICATE.indication(00:13:e8:21:28:9b, OPEN_SYSTEM)
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b MLME: MLME-DELETEKEYS.request(00:13:e8:21:28:9b)
Mon May 29 21:21:48 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: association OK (aid 1)
Mon May 29 21:21:49 2017 daemon.notice hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: did not acknowledge authentication response
Mon May 29 21:21:49 2017 daemon.debug hostapd: wlan2: STA 00:13:e8:21:28:9b IEEE 802.11: did not acknowledge association response
on linux that tryes to connect:
journalctl
[23015.018067] wls3: associated
[23015.587214] wls3: disassociated from 00:aa:ab:03:27:eb (Reason: 7)
[23015.622468] wls3: authenticate with 00:aa:ab:03:27:eb
[23015.622645] wls3: send auth to 00:aa:ab:03:27:eb (try 1/3)
[23015.627549] wls3: authenticated
[23015.631457] wls3: associate with 00:aa:ab:03:27:eb (try 1/3)
[23015.635292] wls3: RX AssocResp from 00:aa:ab:03:27:eb (capab=0x421 status=0 aid=1)
[23015.664442] wls3: associated
[23016.930863] wls3: disassociated from 00:aa:ab:03:27:eb (Reason: 7)
[23016.965780] wls3: authenticate with 00:aa:ab:03:27:eb
[23016.965951] wls3: send auth to 00:aa:ab:03:27:eb (try 1/3)
[23016.970105] wls3: authenticated
[23016.973039] wls3: associate with 00:aa:ab:03:27:eb (try 1/3)
[23016.977292] wls3: RX AssocResp from 00:aa:ab:03:27:eb (capab=0x421 status=0 aid=1)
[23017.002289] wls3: associated
[23017.525154] wls3: disassociated from 00:aa:ab:03:27:eb (Reason: 7)
[23017.557409] wls3: authenticate with 00:aa:ab:03:27:eb
[23017.557583] wls3: send auth to 00:aa:ab:03:27:eb (try 1/3)
[23017.560234] wls3: authenticated
[23017.563052] wls3: associate with 00:aa:ab:03:27:eb (try 1/3)
[23017.566977] wls3: RX AssocResp from 00:aa:ab:03:27:eb (capab=0x421 status=0 aid=1)
dmesg
maj 29 23:15:07 localhost.localdomain kernel: wls3: associated
maj 29 23:15:07 localhost.localdomain wpa_supplicant[933]: wls3: Associated with 00:aa:ab:03:27:eb
maj 29 23:15:07 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-CONNECTED - Connection to 00:aa:ab:03:27:eb completed [id=0 id_str=]
maj 29 23:15:07 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
maj 29 23:15:07 localhost.localdomain NetworkManager[772]: [1496092507.0754] device (wls3): supplicant interface state: associating -> completed
maj 29 23:15:07 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=WORLD
maj 29 23:15:08 localhost.localdomain kernel: wls3: disassociated from 00:aa:ab:03:27:eb (Reason: 7)
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-DISCONNECTED bssid=00:aa:ab:03:27:eb reason=7
maj 29 23:15:08 localhost.localdomain kernel: wls3: authenticate with 00:aa:ab:03:27:eb
maj 29 23:15:08 localhost.localdomain kernel: wls3: send auth to 00:aa:ab:03:27:eb (try 1/3)
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: SME: Trying to authenticate with 00:aa:ab:03:27:eb (SSID='OpenWrt' freq=2432 MHz)
maj 29 23:15:08 localhost.localdomain kernel: wls3: authenticated
maj 29 23:15:08 localhost.localdomain NetworkManager[772]: [1496092508.0677] sup-iface[0x82196200,wls3]: connection disconnected (reason 7)
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: Trying to associate with 00:aa:ab:03:27:eb (SSID='OpenWrt' freq=2432 MHz)
maj 29 23:15:08 localhost.localdomain kernel: wls3: associate with 00:aa:ab:03:27:eb (try 1/3)
maj 29 23:15:08 localhost.localdomain NetworkManager[772]: [1496092508.0706] device (wls3): supplicant interface state: completed -> associating
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
maj 29 23:15:08 localhost.localdomain kernel: wls3: RX AssocResp from 00:aa:ab:03:27:eb (capab=0x421 status=0 aid=1)
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=PL
maj 29 23:15:08 localhost.localdomain kernel: wls3: associated
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: Associated with 00:aa:ab:03:27:eb
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-CONNECTED - Connection to 00:aa:ab:03:27:eb completed [id=0 id_str=]
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
maj 29 23:15:08 localhost.localdomain NetworkManager[772]: [1496092508.1047] device (wls3): supplicant interface state: associating -> completed
maj 29 23:15:08 localhost.localdomain wpa_supplicant[933]: wls3: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=WORLD
router again:
Reboot (SNAPSHOT, r4178-43cc399)
root@LEDE:~# uname -a
Linux LEDE 4.4.69 #0 SMP Mon May 22 21:08:06 2017 mips GNU/Linux
wlan usb card:
WUSB-150HN (with RT3070 chip)
driver modules for that:
rt2x00usb
rt2x00lib
rt2800usb
rt2800lib
- firmware file
dmesg after connecting card to router usb (looks ok - like on laptop):
[293280.090000] ieee80211 phy3: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[293280.150000] ieee80211 phy3: rt2x00_set_rf: Info - RF chipset 0005 detected
[293280.160000] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[293280.170000] ieee80211 phy3: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[293280.180000] ieee80211 phy3: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
root@LEDE:~# cat /etc/config/wireless
....
config wifi-device 'radio2'
option type 'mac80211'
option path 'platform/1e1c0000.xhci/usb1/1-1/1-1:1.0'
option country '00'
option channel '5'
option log_level '1'
option hwmode '11g'
option htmode 'HT40'
....
root@LEDE:~# cat /var/run/hostapd-phy2.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=1
logger_stdout=127
logger_stdout_level=1
country_code=00
ieee80211d=1
hw_mode=g
beacon_int=100
channel=5
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][RX-STBC1]
interface=wlan2
ctrl_interface=/var/run/hostapd
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
auth_algs=1
wpa=0
ssid=OpenWrt
bssid=00:aa:ab:03:27:eb
when card is used in laptop with linux (fedora), hostapd works ok, other devices can join and use ap
i can try to change sources if someone show me way, after searching i think problem is probably in hostapd
i want that because that card have great range