Send connman mailing list submissions to connman@lists.01.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.01.org/mailman/listinfo/connman or, via email, send a message with subject or body 'help' to connman-requ...@lists.01.org
You can reach the person managing the list at connman-ow...@lists.01.org When replying, please edit your Subject line so it is more specific than "Re: Contents of connman digest..." Today's Topics: 1. Re: Unable to setup connman using systemd (Tomasz Bursztyka) 2. [PATCH] timeserver: retry whole list indifinitly. (Antoine Aubert) 3. Re: Unable to setup connman using systemd (Fabio Emiliani) ---------------------------------------------------------------------- Message: 1 Date: Thu, 13 Oct 2016 10:17:11 +0200 From: Tomasz Bursztyka <tomasz.burszt...@linux.intel.com> To: Fabio Emiliani <fabio.emili...@artgroup-spa.com>, connman@lists.01.org Subject: Re: Unable to setup connman using systemd Message-ID: <8d09d4f2-e8a3-1b2f-0415-3d99c3ebd...@linux.intel.com> Content-Type: text/plain; charset="windows-1252"; Format="flowed" Hi Fabio, >> root@lam_icu:~/Applications/AudioManager# cat >> /lib/systemd/system/wpa_supplicant.service >> [Unit] >> Description=WPA supplicant >> >> [Service] >> Type=dbus >> BusName=fi.epitest.hostap.WPASupplicant It should be fi.w1.wpa_supplicant1 The above is the old DBus API which nobody use anymore I think. Can you verify that? >> ExecStart=/usr/sbin/wpa_supplicant -u -c /etc/wpa_supplicant.conf >> >> [Install] >> WantedBy=multi-user.target >> Alias=dbus-fi.epitest.hostap.WPASupplicant.service > These are the services on the system bus: > >> method return sender=org.freedesktop.DBus -> dest=:1.26 reply_serial=2 >> array [ >> string "org.freedesktop.DBus" >> string "org.freedesktop.login1" >> string "org.freedesktop.systemd1" >> string ":1.10" >> string ":1.0" >> string ":1.1" >> string ":1.2" >> string ":1.26" >> string ":1.3" >> string "net.connman" >> string "*fi.epitest.hostap.WPASupplicant*" >> string "*fi.w1.wpa_supplicant1*" >> string "org.ofono" >> ] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.01.org/pipermail/connman/attachments/20161013/b4cce38e/attachment-0001.html> ------------------------------ Message: 2 Date: Thu, 13 Oct 2016 10:38:01 +0200 From: Antoine Aubert <a.aub...@overkiz.com> To: connman@lists.01.org Subject: [PATCH] timeserver: retry whole list indifinitly. Message-ID: <1476347881-13459-1-git-send-email-a.aub...@overkiz.com> When devices start at the same time at some adsl modems, these modems act as a 'fake' dns server. Any request respond that it is itself. In this case we only try three times to contact the ntp server, and then give up. It may be safer to retry until we reach at least one server. --- src/timeserver.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/timeserver.c b/src/timeserver.c index f0d33e5..7f372dd 100644 --- a/src/timeserver.c +++ b/src/timeserver.c @@ -130,8 +130,10 @@ void __connman_timeserver_sync_next() __connman_ntp_stop(); /* Get the 1st server in the list */ - if (!ts_list) + if (!ts_list) { + __connman_timeserver_sync(__connman_service_get_default()); return; + } ts_current = ts_list->data; -- 2.7.4 ------------------------------ Message: 3 Date: Thu, 13 Oct 2016 10:53:38 +0200 From: Fabio Emiliani <fabio.emili...@artgroup-spa.com> To: connman@lists.01.org Subject: Re: Unable to setup connman using systemd Message-ID: <bb33dc60-5733-7348-9f63-bd9d74f2a...@artgroup-spa.com> Content-Type: text/plain; charset="windows-1252"; Format="flowed" Hi Tomasz, I've changed the wpa_supplicant.service as you advised but nothing has changed. I see the same D-Bus services as before (there is always a fi.epitest.hostap.WPASupplicant service). No wireless technologies detected. See my new wpa_supplicant.service file: > [Unit] > Description=WPA supplicant > > [Service] > Type=dbus > BusName=fi.w1.wpa_supplicant1 > ExecStart=/usr/sbin/wpa_supplicant -u -c /etc/wpa_supplicant.conf > > [Install] > WantedBy=multi-user.target > Alias=dbus-fi.w1.wpa_supplicant1.service Is it possible that the problem is caused by some strange interactions with RFKILL? How can I check that connman can use RFKILL properly? Regards, Fabio Il 13/10/2016 10:17, Tomasz Bursztyka ha scritto: > Hi Fabio, > >>> root@lam_icu:~/Applications/AudioManager# cat >>> /lib/systemd/system/wpa_supplicant.service >>> [Unit] >>> Description=WPA supplicant >>> >>> [Service] >>> Type=dbus >>> BusName=fi.epitest.hostap.WPASupplicant > > It should be fi.w1.wpa_supplicant1 > The above is the old DBus API which nobody use anymore I think. > > Can you verify that? > >>> ExecStart=/usr/sbin/wpa_supplicant -u -c /etc/wpa_supplicant.conf >>> >>> [Install] >>> WantedBy=multi-user.target >>> Alias=dbus-fi.epitest.hostap.WPASupplicant.service >> These are the services on the system bus: >> >>> method return sender=org.freedesktop.DBus -> dest=:1.26 reply_serial=2 >>> array [ >>> string "org.freedesktop.DBus" >>> string "org.freedesktop.login1" >>> string "org.freedesktop.systemd1" >>> string ":1.10" >>> string ":1.0" >>> string ":1.1" >>> string ":1.2" >>> string ":1.26" >>> string ":1.3" >>> string "net.connman" >>> string "*fi.epitest.hostap.WPASupplicant*" >>> string "*fi.w1.wpa_supplicant1*" >>> string "org.ofono" >>> ] > -- *Fabio Emiliani* */Software Engineer/* /Ph. +39 075 8298 532/ /fabioemili...@artgroup-spa.com/ <mailto:fabioemili...@artgroup-spa.com> DISCLAIMER This email and any attachment may contain confidential information. If you are not the intended recipient you are not authorised to copy or disclose all or any part of it without the prior written consent of ART SpA. /ART SpA ? Step Forward With US - //www.artgroup-spa.com/logo_ART_firma-1// /Ph. +39 075 8298 501 ? Fax +39 075 8298 525 / P*Please consider our environment before printing this e-mail*** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.01.org/pipermail/connman/attachments/20161013/161f592e/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_ART_firma-1.jpg Type: image/jpeg Size: 16420 bytes Desc: not available URL: <http://lists.01.org/pipermail/connman/attachments/20161013/161f592e/attachment.jpg> ------------------------------ Subject: Digest Footer _______________________________________________ connman mailing list connman@lists.01.org https://lists.01.org/mailman/listinfo/connman ------------------------------ End of connman Digest, Vol 12, Issue 10 ***************************************