Hey list,

We are trying to use connan as our network manager on an embedded platform. So far we are quite happy and can control it via dbus rather well.

One thing I have not been able to figure out yet however, if connman is able to do a wifi scan while it is also running as accesspoint.

We did run some tests using hostapd and it seemed to work just fine, as hostapd created a monitor device in addition to the regular wlan device. I do see connman create a monitoring device, mon.wlan0, so scanning the wifi while being an accesspoint shouldn't be a problem?

Bringing up an accesspoint via tether works well enough.
connmanctl enable wifi
connmanctl tether wifi on testssid testpassphrase

Here the tether bridge, mon.wlan0 are all brought up.
I suspect the mon.wlan0 device is related to the monitor command?

Anyway, doing a scan wifi, the scan seems to wait for a bit, and then returns with the following:
connmanctl scan wifi
Error /net/connman/technology/wifi: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Running connmand in the foreground with debugging yields the following when starting the scan: connmand[245]: src/technology.c:scan() technology 0x1cadba0 request from :1.7 connmand[245]: plugins/wifi.c:wifi_scan() device 0x1caa1c0 wifi 0x1cac998 hidden ssid (null)

Is this a driver bug for the wifi device? (ath9k_htc) or a bug/limitation of connman? We're using the git version of connman at this moment.

One of the reasons this is an issue, is that connman 'forgets' all available services when run in tethering mode and also does not keep it up to date.

Any thoughts and pointers are welcome,

Olliver

--
Met vriendelijke groeten, Kind regards, 与亲切的问候

Olliver Schinagl
Research & Development
Ultimaker B.V.
http://www.ultimaker.com

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

Reply via email to