Hello

We appear to have found a bug in ConnMan but would like some verification 
before submitting it on JIRA. This is our environment:


Debian Jessie with ConnMan (1.2.9), built with patches from here:

https://github.com/samnazarko/osmc/tree/master/package/connman-osmc/patches 
with systemd.


If we restart ConnMan with (systemctl restart connman), which we do when 
upgrading the ConnMan package, WiFi is not guaranteed to work.  We sometimes 
get:

Jun 24 20:53:21 rpi2 connmand[849]: wlan0 runs an unsupported 802.11 driver
Jun 24 20:53:21 rpi2 connmand[849]: Adding interface wlan0 [ wifi ]
Jun 24 20:53:21 rpi2 wpa_supplicant[356]: ioctl[SIOCSIWAP]: Operation not 
permitted

When WiFi is not working:

connmanctl> scan wifi
Error /net/connman/technology/wifi: Not supported


This is sporadic and unpredictable. It would appear that Not supported is 
printed if service->immutable is true. It seems that running ifconfig wlan0 
down before restarting the service resolves this issue. Restarting ConnMan 
twice also seems to resolve this issue


sudo systemctl stop connman; sleep 5; sudo systemctl start connman


I think that ConnMan may not be tearing down the interfaces in a timely manner. 
systemd sends SIGTERM when it exits, is ConnMan handling this?


Thanks in advance,


Sam Nazarko
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to