It might be a bug in your Wi-Fi driver.

If the driver is trying to send data frames before it's fully authenticated, 
you'll see this happen.

I've seen this with some Realtek chips in Linux before, so it's certainly a 
possibility, but not likely connman.

> On Nov 17, 2014, at 10:52 AM, Tim Tisdall <tisd...@gmail.com> wrote:
> 
> Before filing a bug of any kind, I was wondering if someone could glance
> over this and let me know if this is actually something wrong with connman
> or if it's something else.  Please forgive my ignorance...
> 
> Basically what happened is my device lost its wifi connection and then
> never tried reconnecting again.  The "Reason: 6" seems to indicate that
> data was pushed into the interface before a connection was established (
> http://www.aboutcher.co.uk/2012/07/linux-wifi-deauthenticated-reason-codes/).
> I'm just establishing TCP connections in my client code and am relying on
> connman to maintain a working connection...  Is this a bug in connman or do
> I need to be doing something more in my code to maintain the connection?
> 
> Here are the pertinent syslog lines:
> 
> 
> Nov 12 17:01:53 cubieboard011 bluetoothd[269]: Unable to find matching
> adapter
> Nov 12 17:02:06 cubieboard011 wpa_supplicant[356]: message repeated 4
> times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
> Nov 12 17:02:08 cubieboard011 wpa_supplicant[356]: nl80211:
> send_and_recv->nl_recvmsgs failed: -33
> Nov 12 17:02:37 cubieboard011 bluetoothd[269]: Unable to find matching
> adapter
> 
> ...
> 
> Nov 12 17:05:01 cubieboard011 bluetoothd[269]: message repeated 3 times: [
> No matching adapter found]
> Nov 12 17:05:01 cubieboard011 bluetoothd[269]: Unable to find matching
> adapter
> Nov 12 17:05:52 cubieboard011 kernel: [70617.287240] wlan0: deauthenticated
> from 00:18:b0:82:d5:06 (Reason: 6)
> Nov 12 17:05:52 cubieboard011 connmand[290]: wlan0 {RX} 113341 packets
> 9238519 bytes
> Nov 12 17:05:52 cubieboard011 connmand[290]: wlan0 {TX} 11552 packets
> 2049569 bytes
> Nov 12 17:05:52 cubieboard011 connmand[290]: wlan0 {update} flags 36867 <UP>
> Nov 12 17:05:52 cubieboard011 connmand[290]: wlan0 {newlink} index 4
> address E8:94:F6:15:71:AC mtu 1500
> Nov 12 17:05:52 cubieboard011 connmand[290]: wlan0 {newlink} index 4
> operstate 2 <DOWN>
> Nov 12 17:05:52 cubieboard011 wpa_supplicant[356]: wlan0:
> CTRL-EVENT-DISCONNECTED bssid=00:18:b0:82:d5:06 reason=6
> Nov 12 17:05:52 cubieboard011 kernel: [70617.576607] cfg80211: Calling CRDA
> for country: CN
> Nov 12 17:05:52 cubieboard011 wpa_supplicant[356]: wlan0: SME: Trying to
> authenticate with 00:18:b0:82:d5:06 (SSID='SRHC-Guest' freq=2462 MHz)
> Nov 12 17:05:52 cubieboard011 wpa_supplicant[356]: wlan0:
> CTRL-EVENT-SCAN-STARTED
> Nov 12 17:05:52 cubieboard011 connmand[290]: Probably roaming right now!
> Staying connected...
> Nov 12 17:05:53 cubieboard011 kernel: [70618.247168] wlan0: authenticate
> with 00:18:b0:82:d5:06
> Nov 12 17:05:53 cubieboard011 kernel: [70618.490361] wlan0: send auth to
> 00:18:b0:82:d5:06 (try 1/3)
> Nov 12 17:05:53 cubieboard011 kernel: [70618.503159] wlan0: authenticated
> Nov 12 17:05:53 cubieboard011 wpa_supplicant[356]: wlan0: Trying to
> associate with 00:18:b0:82:d5:06 (SSID='SRHC-Guest' freq=2462 MHz)
> Nov 12 17:05:53 cubieboard011 kernel: [70618.745853] wlan0: associate with
> 00:18:b0:82:d5:06 (try 1/3)
> Nov 12 17:05:53 cubieboard011 kernel: [70618.955813] wlan0: associate with
> 00:18:b0:82:d5:06 (try 2/3)
> Nov 12 17:05:54 cubieboard011 kernel: [70619.170926] wlan0: associate with
> 00:18:b0:82:d5:06 (try 3/3)
> Nov 12 17:05:54 cubieboard011 kernel: [70619.385947] wlan0: association
> with 00:18:b0:82:d5:06 timed out
> Nov 12 17:05:53 cubieboard011 connmand[290]: Probably roaming right now!
> Staying connected...
> Nov 12 17:05:54 cubieboard011 connmand[290]: wlan0 {del} address
> 10.140.120.24/24 label wlan0
> Nov 12 17:05:54 cubieboard011 connmand[290]: wlan0 {del} route 10.140.120.0
> gw 0.0.0.0 scope 253 <LINK>
> Nov 12 17:05:56 cubieboard011 ntpd[508]: Deleting interface #2 wlan0,
> 10.140.120.24#123, interface stats: received=760, sent=764, dropped=0,
> active_time=70596 secs
> Nov 12 17:05:56 cubieboard011 ntpd[508]: 91.189.89.199 interface
> 10.140.120.24 -> (none)
> Nov 12 17:05:56 cubieboard011 ntpd[508]: 206.108.0.132 interface
> 10.140.120.24 -> (none)
> Nov 12 17:05:56 cubieboard011 ntpd[508]: 69.28.67.150 interface
> 10.140.120.24 -> (none)
> Nov 12 17:05:56 cubieboard011 ntpd[508]: 24.215.0.24 interface
> 10.140.120.24 -> (none)
> Nov 12 17:05:56 cubieboard011 ntpd[508]: 72.51.27.50 interface
> 10.140.120.24 -> (none)
> Nov 12 17:05:56 cubieboard011 ntpd[508]: peers refreshed
> Nov 12 17:05:58 cubieboard011 bluetoothd[269]: Unable to find matching
> adapter
> Nov 12 17:06:02 cubieboard011 bluetoothd[269]: No matching adapter found
> Nov 12 17:06:02 cubieboard011 bluetoothd[269]: No matching adapter found
> _______________________________________________
> connman mailing list
> connman@connman.net
> https://lists.connman.net/mailman/listinfo/connman
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to