#20584: ctrl-event-disconnected reason=4
---------------------------------------+-----------------------------------
Reporter: bastian-openwrttrac2015@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Barrier Breaker 14.07
Keywords: wifi disconnect |
---------------------------------------+-----------------------------------
I run two TP-link 841N with BARRIER BREAKER (14.07, r42625)
With one of my wifi clients (a sony ericsson, xperia, cyanogenmod) I get
very frequent disconnects to any type of wifi access point I create on
openwrt (WPA, WPA2, plain, ...)
openwrt log:
{{{
...
Wed Sep 23 18:45:28 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: authenticated
Wed Sep 23 18:45:28 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: associated (aid 1)
Wed Sep 23 18:45:29 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
WPA: pairwise key handshake completed (RSN)
Wed Sep 23 18:45:40 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: authenticated
Wed Sep 23 18:45:40 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: associated (aid 1)
Wed Sep 23 18:45:40 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
WPA: pairwise key handshake completed (RSN)
Wed Sep 23 18:45:51 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: authenticated
Wed Sep 23 18:45:51 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: associated (aid 1)
Wed Sep 23 18:45:51 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
WPA: pairwise key handshake completed (RSN)
Wed Sep 23 18:46:06 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: authenticated
Wed Sep 23 18:46:06 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
IEEE 802.11: associated (aid 1)
Wed Sep 23 18:46:06 2015 daemon.info hostapd: wlan0: STA 90:c1:15:6a:f6:eb
WPA: pairwise key handshake completed (RSN)
...
}}}
On the cyanogemod side I could see in the wpa log for one dis-/reconnect:
{{{
...
<3>CTRL-EVENT-DISCONNECTED bssid=10:fe:ed:7d:86:4c reason=4
<3>CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:00:00:00:00:00
SSID=myessid
<3>CTRL-EVENT-STATE-CHANGE id=0 state=3 BSSID=00:00:00:00:00:00
SSID=myessid
<3>CTRL-EVENT-SCAN-RESULTS
<3>SME: Trying to authenticate with 10:fe:ed:7d:86:4c (SSID='myessid'
freq=2417 MHz)
<3>CTRL-EVENT-STATE-CHANGE id=0 state=4 BSSID=10:fe:ed:7d:86:4c
SSID=myessid
<3>Trying to associate with 10:fe:ed:7d:86:4c (SSID='myessid' freq=2417
MHz)
<3>CTRL-EVENT-STATE-CHANGE id=0 state=5 BSSID=10:fe:ed:7d:86:4c
SSID=myessid
<3>CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=10:fe:ed:7d:86:4c
SSID=myessid
<3>Associated with 10:fe:ed:7d:86:4c
<3>CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00:00:00:00:00:00
SSID=myessid
<3>CTRL-EVENT-STATE-CHANGE id=0 state=8 BSSID=00:00:00:00:00:00
SSID=myessid
<3>WPA: Key negotiation completed with 10:fe:ed:7d:86:4c [PTK=CCMP
GTK=CCMP]
<3>CTRL-EVENT-CONNECTED - Connection to 10:fe:ed:7d:86:4c completed
(reauth) [id=0 id_str=]
<3>CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00:00:00:00:00:00
SSID=myessid
<3>CTRL-EVENT-SCAN-RESULTS
...
}}}
All other devices work pretty well on my openwrts. And the android does
work well on other APs.
I assume I have some troubles in firmware/software of the openwrt, but
failed to identify any.
I also tried to set nohwcrypt = 1 with no success.
wifi config looks like:
{{{
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/ar934x_wmac'
option country 'DE'
option txpower '20'
option channel '2'
}}}
To tackle the problem of beeing 'inactive' I tried to run a continious
'ping $GATEWAY' which tentatively ends in a more stable connection, but
still disconnections happen. And that is really not a workaround.
Any hints?
--
Ticket URL: <https://dev.openwrt.org/ticket/20584>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets