Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

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 scan wifi connman 1.38 (Michael Nazzareno Trimarchi)
   2. Re: Unable to scan wifi connman 1.38 (Michael Nazzareno Trimarchi)


----------------------------------------------------------------------

Date: Sat, 10 Oct 2020 11:56:22 +0200
From: Michael Nazzareno Trimarchi <[email protected]>
Subject: Re: Unable to scan wifi connman 1.38
To: connman <[email protected]>
Message-ID:
        <CAOf5uwmGFASotJvzm6d0L=D1tvuRTKHO=yp8cb6zmjeyxfg...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi

I found that seems that GetAll hook seems not compatible with the
connman because the ubuntu version
is patched to report Stations, but this fail in patched wpa_supplicant

 sudo dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1
/fi/w1/wpa_supplicant1/Interfaces/8
org.freedesktop.DBus.Properties.GetAll
string:fi.w1.wpa_supplicant1.Interface

This kind of command fail on 18.04 but success on 20.04

Can be the reason of my problem?

Michael


On Fri, Oct 9, 2020 at 11:09 AM Michael Nazzareno Trimarchi
<[email protected]> wrote:
>
> Hi all
>
> Where can I start to debug?
>
> connmand[4715]: plugins/wifi.c:interface_state() wifi (nil) interface state 2
> connmand[4715]: gsupplicant/supplicant.c:interface_property() state 
> disconnected
>  (2)
> connmand[4715]: gsupplicant/supplicant.c:signal_name_owner_changed()
> connmand[4715]: src/technology.c:scan() technology 0xaaab04769d50 request 
> from :
> 1.61
> connmand[4715]: src/device.c:connman_device_request_scan() device 
> 0xaaab0476ea00
>  err -67
> connmand[4715]: src/technology.c:reply_scan_pending() technology 
> 0xaaab04769d50
> err -67
> connmand[4715]: src/technology.c:reply_scan_pending() reply to :1.61
> connmand[4715]: src/device.c:device_pending_reset() device 0xaaab0476ea00
>
> rfkill is unblocked
> power is powered.
> I'm using wpa_supplicant
>
> Michael
>
> --
> Michael Nazzareno Trimarchi
> Amarula Solutions BV
> COO Co-Founder
> Cruquiuskade 47 Amsterdam 1018 AM NL
> T. +31(0)851119172
> M. +39(0)3479132170
> [`as] https://www.amarulasolutions.com



--
Michael Nazzareno Trimarchi
Amarula Solutions BV
COO Co-Founder
Cruquiuskade 47 Amsterdam 1018 AM NL
T. +31(0)851119172
M. +39(0)3479132170
[`as] https://www.amarulasolutions.com

------------------------------

Date: Sat, 10 Oct 2020 13:43:56 +0200
From: Michael Nazzareno Trimarchi <[email protected]>
Subject: Re: Unable to scan wifi connman 1.38
To: connman <[email protected]>
Message-ID:
        <CAOf5uwk5apS+hdw3ZZihR6sqXA2d=fyq4dn_4hcww6mhf9o...@mail.gmail.com>
Content-Type: multipart/mixed; boundary="000000000000489d7005b14f95f6"

--000000000000489d7005b14f95f6
Content-Type: text/plain; charset="UTF-8"

HI

I have end up with this patch for ubuntu package

Michael

On Sat, Oct 10, 2020 at 11:56 AM Michael Nazzareno Trimarchi
<[email protected]> wrote:
>
> Hi
>
> I found that seems that GetAll hook seems not compatible with the
> connman because the ubuntu version
> is patched to report Stations, but this fail in patched wpa_supplicant
>
>  sudo dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1
> /fi/w1/wpa_supplicant1/Interfaces/8
> org.freedesktop.DBus.Properties.GetAll
> string:fi.w1.wpa_supplicant1.Interface
>
> This kind of command fail on 18.04 but success on 20.04
>
> Can be the reason of my problem?
>
> Michael
>
>
> On Fri, Oct 9, 2020 at 11:09 AM Michael Nazzareno Trimarchi
> <[email protected]> wrote:
> >
> > Hi all
> >
> > Where can I start to debug?
> >
> > connmand[4715]: plugins/wifi.c:interface_state() wifi (nil) interface state 
> > 2
> > connmand[4715]: gsupplicant/supplicant.c:interface_property() state 
> > disconnected
> >  (2)
> > connmand[4715]: gsupplicant/supplicant.c:signal_name_owner_changed()
> > connmand[4715]: src/technology.c:scan() technology 0xaaab04769d50 request 
> > from :
> > 1.61
> > connmand[4715]: src/device.c:connman_device_request_scan() device 
> > 0xaaab0476ea00
> >  err -67
> > connmand[4715]: src/technology.c:reply_scan_pending() technology 
> > 0xaaab04769d50
> > err -67
> > connmand[4715]: src/technology.c:reply_scan_pending() reply to :1.61
> > connmand[4715]: src/device.c:device_pending_reset() device 0xaaab0476ea00
> >
> > rfkill is unblocked
> > power is powered.
> > I'm using wpa_supplicant
> >
> > Michael
> >
> > --
> > Michael Nazzareno Trimarchi
> > Amarula Solutions BV
> > COO Co-Founder
> > Cruquiuskade 47 Amsterdam 1018 AM NL
> > T. +31(0)851119172
> > M. +39(0)3479132170
> > [`as] https://www.amarulasolutions.com
>
>
>
> --
> Michael Nazzareno Trimarchi
> Amarula Solutions BV
> COO Co-Founder
> Cruquiuskade 47 Amsterdam 1018 AM NL
> T. +31(0)851119172
> M. +39(0)3479132170
> [`as] https://www.amarulasolutions.com



-- 
Michael Nazzareno Trimarchi
Amarula Solutions BV
COO Co-Founder
Cruquiuskade 47 Amsterdam 1018 AM NL
T. +31(0)851119172
M. +39(0)3479132170
[`as] https://www.amarulasolutions.com

--000000000000489d7005b14f95f6
Content-Type: text/x-patch; charset="US-ASCII";
        name="0001-dbus-Fix-GetAll-message-if-ap_ifaces-are-not-availab.patch"
Content-Disposition: attachment;
        
filename="0001-dbus-Fix-GetAll-message-if-ap_ifaces-are-not-availab.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_kg3m1r9h0>
X-Attachment-Id: f_kg3m1r9h0

SW5kZXg6IHdwYS0yLjYvd3BhX3N1cHBsaWNhbnQvZGJ1cy9kYnVzX25ld19oYW5kbGVycy5jCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KLS0tIHdwYS0yLjYub3JpZy93cGFfc3VwcGxpY2FudC9kYnVzL2RidXNfbmV3X2hh
bmRsZXJzLmMKKysrIHdwYS0yLjYvd3BhX3N1cHBsaWNhbnQvZGJ1cy9kYnVzX25ld19oYW5kbG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S8qIExvb3Ag
dGhyb3VnaCBzY2FuIHJlc3VsdHMgYW5kIGFwcGVuZCBlYWNoIHJlc3VsdCdzIG9iamVjdCBwYXRo
ICovCi0JZm9yIChzdGEgPSBoYXBkLT5zdGFfbGlzdDsgc3RhOyBzdGEgPSBzdGEtPm5leHQpIHsK
Kwlmb3IgKDsgc3RhOyBzdGEgPSBzdGEtPm5leHQpIHsKIAkJcGF0aHNbaV0gPSBvc196YWxsb2Mo
V1BBU19EQlVTX09CSkVDVF9QQVRIX01BWCk7CiAJCWlmIChwYXRoc1tpXSA9PSBOVUxMKSB7CiAJ
CQlkYnVzX3NldF9lcnJvcl9jb25zdChlcnJvciwgREJVU19FUlJPUl9OT19NRU1PUlksCkBAIC0z
NzE0LDcgKzM3MTUsNyBAQCBkYnVzX2Jvb2xfdCB3cGFzX2RidXNfZ2V0dGVyX3N0YXMoCiAKIAlz
dWNjZXNzID0gd3Bhc19kYnVzX3NpbXBsZV9hcnJheV9wcm9wZXJ0eV9nZXR0ZXIoaXRlciwKIAkJ
CQkJCQkgREJVU19UWVBFX09CSkVDVF9QQVRILAotCQkJCQkJCSBwYXRocywgaGFwZC0+bnVtX3N0
YSwKKwkJCQkJCQkgcGF0aHMsIG51bSwKIAkJCQkJCQkgZXJyb3IpOwogCiBvdXQ6Cg==
--000000000000489d7005b14f95f6--

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 60, Issue 12
***************************************

Reply via email to