Hi,

I have been working for the last 2 month with Julien Massot on
Wlantest, an automatic wireless testing tool written in Python for
ConnMann.
I think it might be relevant for some people working with Connman to
have a look at the first release (1.0).

Github link : https://github.com/aldebaran/wlantest

It was initially designed to be run on a daily basis on Nao robots to
check ConnMan stability.
We are currently running Wlantest inside a Nao virtual machine where
we setup virtual interfaces with mac80211_hwsim.

What is Wlantest ?
Basically, Wlantest will setup two wireless interfaces an will check
if ConnMan manages to establish the connection between both:
-An AP iface on which hostapd is running and that ConnMan will ignore
-An STA iface on which ConnMan is operating

The sample test plan provided takes ~15min to complete, and tests 15
different wifi setup:
open,wep64/128 raw/pass, wpa-psk, wpa2-psk, hidden service, ieee8021x
(wpa/wpa2, peap/ttls), all in manual and auto-connect.

The test plan could be easily extended with new .cfg files (README
provides more info on syntax and wifi support)

What could be improved ?
To test the connectivity, Wlantest actually read the Status of the
corresponding service through dbus ConnMan. The point is that  the
result is ConnMan dependant.
They are a few time.sleep() calls in the main which may be optimized
or questionned.
TLS is not yet implemented.


Any feedback would be much appreciated,
Thanks
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to