Hi Cliff,
Okay, so let's get this right. Supplicant is started by D-bus when Connman
contacts D-bus? So there is no need for start up files
for supplicant or any of that? Is there anyway Connman could be at fault here
by not contacting D-bus properly?
No it works properly.
There is surely an issue with your wpa_supplicant installation and/or dbus.
DBus needs the proper .service and .conf for wpa_supplicant.
So you said you have already the proper
/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service
What about /etc/dbus-1/system.d/wpa_supplicant.conf ?
Its content should be:
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
<allow own="fi.w1.wpa_supplicant1"/>
<allow send_destination="fi.w1.wpa_supplicant1"/>
<allow send_interface="fi.w1.wpa_supplicant1"/>
<allow receive_sender="fi.w1.wpa_supplicant1"
receive_type="signal"/>
</policy>
<policy context="default">
<deny own="fi.epitest.hostap.WPASupplicant"/>
<deny send_destination="fi.epitest.hostap.WPASupplicant"/>
<deny send_interface="fi.epitest.hostap.WPASupplicant"/>
<deny own="fi.w1.wpa_supplicant1"/>
<deny send_destination="fi.w1.wpa_supplicant1"/>
<deny send_interface="fi.w1.wpa_supplicant1"/>
<deny receive_sender="fi.w1.wpa_supplicant1"
receive_type="signal"/>
</policy>
</busconfig>
Of course same applies to connman with /etc/dbus-1/system.d/connman.conf
Your built config file for wpa_supplicant seems fine to me, at least
after a quick review.
After all: when running it manually it has proven to work fine.
Tomasz
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman