Send connman mailing list submissions to
        connman@lists.01.org

To subscribe or unsubscribe 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: [PATCH 09/11] service: Change IPv6 support if split routing value 
changes on IPv4 VPN
      (David Woodhouse)
   2. Re: connman iwd reconnect problems (KeithG)


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

Date: Thu, 08 Apr 2021 15:53:27 +0100
From: David Woodhouse <dw...@infradead.org>
Subject: Re: [PATCH 09/11] service: Change IPv6 support if split
        routing value changes on IPv4 VPN
To: Jussi Laakkonen <jussi.laakko...@jolla.com>, connman@lists.01.org
Message-ID:
        <af14bf59e2524b09f595fb36d1d685ba85a78c97.ca...@infradead.org>
Content-Type: multipart/signed; micalg="sha-256";
        protocol="application/x-pkcs7-signature";
        boundary="=-rf5EGesUo3X7NNJlzEMp"


--=-rf5EGesUo3X7NNJlzEMp
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, 2021-04-08 at 13:09 +0300, Jussi Laakkonen wrote:
>=20
> As I said, there is no straightforward way to disable IPv4 AFAIK. Using=
=20
> disable_ipv6 with autoconf at this time when ConnMan relies on kernel on=
=20
> IPv6 management seemed to be a proper solution as existing functionality=
=20
> already supported more than half of it.

That's only because you're fixated on this idea of *disabling* it which
as I've already pointed out is the wrong thing to do anyway. You might
actually be talking to the VPN server over the protocol that you want
to disable.

If you stop thinking about "disable", it should be simple enough to do
using unreachable routes and/or route tables.

ip route add unreachable 0.0.0.0/0 table 16383
ip route add $VPNGW via $LOCALGW table 16383
ip rule add from all table 16383

> I've already spent too much time on this. Some things are good to have,=
=20
> some may be theoretical only and some just work for the specific problem.

I am hearing a lot of "I don't have time to do this properly in a
correct and protocol-agnostic fashion, so let's just pile in some nasty
non-future-proof hacks."

My time is also limited; I suppose it's up to Daniel whether he wants
to accept that kind of thing in ConnMan or whether he expects a higher
standard. So I'll leave my heckling there for now, with the observation
that it isn't *hard* to get this right.

"However far down the wrong road you have travelled, turn back."

--=-rf5EGesUo3X7NNJlzEMp
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCECow
ggUcMIIEBKADAgECAhEA4rtJSHkq7AnpxKUY8ZlYZjANBgkqhkiG9w0BAQsFADCBlzELMAkGA1UE
BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG
A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhl
bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0EwHhcNMTkwMTAyMDAwMDAwWhcNMjIwMTAxMjM1
OTU5WjAkMSIwIAYJKoZIhvcNAQkBFhNkd213MkBpbmZyYWRlYWQub3JnMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEAsv3wObLTCbUA7GJqKj9vHGf+Fa+tpkO+ZRVve9EpNsMsfXhvFpb8
RgL8vD+L133wK6csYoDU7zKiAo92FMUWaY1Hy6HqvVr9oevfTV3xhB5rQO1RHJoAfkvhy+wpjo7Q
cXuzkOpibq2YurVStHAiGqAOMGMXhcVGqPuGhcVcVzVUjsvEzAV9Po9K2rpZ52FE4rDkpDK1pBK+
uOAyOkgIg/cD8Kugav5tyapydeWMZRJQH1vMQ6OVT24CyAn2yXm2NgTQMS1mpzStP2ioPtTnszIQ
Ih7ASVzhV6csHb8Yrkx8mgllOyrt9Y2kWRRJFm/FPRNEurOeNV6lnYAXOymVJwIDAQABo4IB0zCC
Ac8wHwYDVR0jBBgwFoAUgq9sjPjF/pZhfOgfPStxSF7Ei8AwHQYDVR0OBBYEFL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PTU9ETyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1h
aWwgQ0ECEQDiu0lIeSrsCenEpRjxmVhmMIHABgsqhkiG9w0BCRACCzGBsKCBrTCBlzELMAkGA1UE
BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG
A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhl
bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEQDiu0lIeSrsCenEpRjxmVhmMA0GCSqGSIb3
DQEBAQUABIIBAH/8mjfTK0s5e68pNp0FagIJsugO5qXF4NjXi/gU12272rVELlTdp/YEMP46t59+
rHXNamVT0A+Qckaad8DJSBL9yFPvWgxbAcCcDKnJDMwYEn9NUE04wthZJRdn1hQRYDlelZmjLMG5
Ml42M3eTsRhQCuTOJZevdbIWfMunW7KDLA1KXJH1RLbxsKcgyTeVHnnNAGDka2PtNZhzpyB9B5pr
FrjllgbqnSucOA5v80d59pNSrVQesBFA+ykjXb78Vrfn5aswCVbJk3hvRyTMoyyaIeu4D/WpA3Mp
F90phziGSCZrjlFsbFV0QfbW/IeCZ59pWCA49WlgZDLJ00vsMCkAAAAAAAA=


--=-rf5EGesUo3X7NNJlzEMp--

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

Date: Tue, 12 Jan 2021 19:19:53 -0600
From: KeithG <ys3al...@gmail.com>
Subject: Re: connman iwd reconnect problems
To: Daniel Wagner <w...@monom.org>
Cc: connman@lists.01.org
Message-ID:
        <CAG17S_OabgUtOnhbr43VkfKcB1whmk9_rs3pjKY0G5-Ro0=f...@mail.gmail.com>
Content-Type: multipart/alternative;
        boundary="000000000000567ba905b8bdf0e9"

--000000000000567ba905b8bdf0e9
Content-Type: text/plain; charset="UTF-8"

On Tue, Jan 12, 2021 at 2:31 AM Daniel Wagner <w...@monom.org> wrote:

>  Sun, Jan 03, 2021 at 04:36:36PM -0600, KeithG wrote:
> > I have been busy with other things for a while and have recently built
> > connman with the latest from git (connman-git 1.38.r74.gf3726863) and
> > decided to test again. It does not reconnect when the radio goes down.
> If I
> > reboot the router, it does reconnect (mostly). So there must be
> something a
> > bit different between the 2 states.
>
> Which was the previous version you tested against?
>
> Daniel
>
Daniel,

The previous version was 1.38.r65.g40947be3. I fear that the test may have
been flawed as I had the 'background scan' set in main.conf and also had
wpa_supplicant installed. I apologize for the confusion, but with all the
dev work, I kind of got my wires crossed a bit. When I went back and tested
again with wpa_supplicant removed, I noticed that it did not want to
reconnect. Neither with ipv6 nor ipv4. So, I built the latest from git,
tried again and noticed similar behavior to what I saw before.

What I 'think' I see in the logs is that the SSID goes away and it clears
the IP addresses and starts scanning. 'scanning 1 ... scanning 0' but it
never sees the 'known network'. If I take the interface down then back up,
it reconnects. I am not great at this, but when I look through the log, it
acts differently when the interface is brought up than when it has been
disconnected then starts scanning again. If I restart the radio on the
router, I get this:

plugins/iwd.c:network_property_change() /net/connman/iwd/0/3/73706733_psk
connected 0

then it disconnects and deletes the routes and addresses. Then it continues
scanning but only periodically reports that it has found an SSID and for
whatever reason never sees my SSID and from scanning 1 to scanning 0 it
usually only 'sees' one SSID at a time if at all and for whatever reason,
it never 'sees' the autoconnect qSSID.

Jan 12 18:37:24 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:37:28 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network
/net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk
Jan 12 18:37:28 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0
Jan 12 18:37:28 rune64 connmand[262]: plugins/iwd.c:ordered_networks_cb()
Jan 12 18:37:28 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:37:32 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0
Jan 12 18:37:32 rune64 connmand[262]: plugins/iwd.c:ordered_networks_cb()
Jan 12 18:37:32 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:37:36 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0
Jan 12 18:37:36 rune64 connmand[262]: plugins/iwd.c:ordered_networks_cb()
Jan 12 18:37:36 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:37:40 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0
Jan 12 18:37:40 rune64 connmand[262]: plugins/iwd.c:ordered_networks_cb()
Jan 12 18:37:40 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:37:44 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/486f757365537461726b3031_psk
Jan 12 18:37:44 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0
Jan 12 18:37:44 rune64 connmand[262]: plugins/iwd.c:ordered_networks_cb()
Jan 12 18:37:44 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:37:48 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network
/net/connman/iwd/0/3/53756c6c6976616e2046616d696c79_psk
Jan 12 18:37:48 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0

If I take the network down, it removes all the traces of scanned SSIDS:

Jan 12 18:45:08 rune64 connmand[262]: wlan0 {RX} 14872 packets 19669052
bytes
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {TX} 8253 packets 809028 bytes
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {update} flags 4098 <DOWN>
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {newlink} index 3 address
B8:27:EB:xx;xx:xx mtu 1500
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {newlink} index 3 operstate 2
<DOWN>
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Station /net/connman/iwd/0/3
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.SimpleConfiguration /net/connman/iwd/0/3
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/4c6f6164696e672e2e2e_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/456476656e7475726573_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/4e4554474541523938_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/73706733_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/4d65617374657761_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network
/net/connman/iwd/0/3/53756c6c6976616e2046616d696c79_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/4e45544745415236332d3547_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/456476656e747572657333_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/4368696d652d366139366161_open
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/73706732_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/415454785a4951347761_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/56697275735f3547_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/456c4a656665_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/486f757365537461726b3031_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/41545458495849537069_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/5669727573_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network
/net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/415454654865544b4932_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/4e4554474541523633_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/48414e4e41_psk
Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()
net.connman.iwd.Network /net/connman/iwd/0/3/48414e4e4135_psk

and when the interface comes back, it scans and sees more than one network
between 'scanning 1' to 'scanning 0' and it 'sees' the saved interface and
connects:

*Jan 12 18:45:08 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1*
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {RX} 14872 packets 19669052
bytes
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {TX} 8253 packets 809028 bytes
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {update} flags 4099 <UP>
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {newlink} index 3 address
B8:27:EB:52:CC:D0 mtu 1500
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {newlink} index 3 operstate 2
<DOWN>
*Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/73706733_psk*
*Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network()
device /net/connman/iwd/0/3 name 'spg3' type psk connected 1 known_network
/net/connman/iwd/73706733_psk*
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 1
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:update_auto_connect()
auto_connect 1 autoconnect 1
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/73706732_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'spg2' type psk connected 0 known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/41545458495849537069_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'ATTXIXISpi' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/456476656e747572657333_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Edventures3' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/5669727573_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Virus' type psk connected 0 known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/456476656e7475726573_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Edventures' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/4e4554474541523633_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'NETGEAR63' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/48414e4e41_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'HANNA' type psk connected 0 known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/4c6f6164696e672e2e2e_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Loading...' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/456c4a656665_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'ElJefe' type psk connected 0 known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network
/net/connman/iwd/0/3/53756c6c6976616e2046616d696c79_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Sullivan Family' type psk connected 0
known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/4e45544745415236332d3547_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'NETGEAR63-5G' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/415454654865544b4932_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'ATTeHeTKI2' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/486f757365537461726b3031_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'HouseStark01' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/415454785a4951347761_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'ATTxZIQ4wa' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network
/net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'MOTOROLA-FE0D1' type psk connected 0
known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/56697275735f3547_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Virus_5G' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/4d65617374657761_psk
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Meastewa' type psk connected 0 known_network
(null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/4368696d652d366139366161_open
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device
/net/connman/iwd/0/3 name 'Chime-6a96aa' type open connected 0
known_network (null)
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0
*Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0*
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 state
connecting
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3
connected_network /net/connman/iwd/0/3/73706733_psk
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:network_property_change() /net/connman/iwd/0/3/73706733_psk
connected 1
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:update_network_connected() interface name wlan0 index 3
Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:ordered_networks_cb()
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {RX} 14873 packets 19669151
bytes
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {TX} 8253 packets 809028 bytes
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {update} flags 69635
<UP,LOWER_UP>
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {newlink} index 3 address
B8:27:EB:xx:x:xx mtu 1500
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {newlink} index 3 operstate 5
<DORMANT>
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {add} route fe80:: gw :: scope
0 <UNIVERSE>
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {RX} 14874 packets 19669306
bytes
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {TX} 8256 packets 809438 bytes
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {update} flags 69699
<UP,RUNNING,LOWER_UP>
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {newlink} index 3 address
B8:27:EB:xx:xx:xx mtu 1500
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {newlink} index 3 operstate 6
<UP>
Jan 12 18:45:09 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 state connected
Jan 12 18:45:10 rune64 connmand[262]: wlan0 {add} route
2600:1700:4320:6caf:: gw :: scope 0 <UNIVERSE>
Jan 12 18:45:10 rune64 connmand[262]: wlan0 {add} route fd21:98c8:1d28:: gw
:: scope 0 <UNIVERSE>
Jan 12 18:45:11 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
Jan 12 18:45:11 rune64 connmand[262]: wlan0 {add} address
2600:1700:4320:6caf:baxx:xxff:fexx:xxxx/64 label (null) family 10
Jan 12 18:45:12 rune64 connmand[262]: wlan0 {add} address
fd21:98c8:1d28:0:ba27:ebff:fexx:xxxx/64 label (null) family 10
Jan 12 18:45:15 rune64 connmand[262]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 0

It immediately connects. Between 'scanning 1' and 'scanning 0' it gets all
available networks. This is one thing I see as 'different' from taking an
interface down then up versus restarting the SSID on the router. When it is
connected, it works similarly in that it gets one network at a time

On the IWD side, the /var/lib/iwd/spg.psk has 'AutoConnect=true' set in it,
now.

Hope this is helpful.

Regards,

Keith

--000000000000567ba905b8bdf0e9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr" class=3D"gmail_attr">On =
Tue, Jan 12, 2021 at 2:31 AM Daniel Wagner &lt;<a href=3D"mailto:wagi@monom=
.org">w...@monom.org</a>&gt; wrote:<br></div></div><div class=3D"gmail_quot=
e"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0Sun, Jan 03, 202=
1 at 04:36:36PM -0600, KeithG wrote:<br>
&gt; I have been busy with other things for a while and have recently built=
<br>
&gt; connman with the latest from git (connman-git 1.38.r74.gf3726863) and<=
br>
&gt; decided to test again. It does not reconnect when the radio goes down.=
 If I<br>
&gt; reboot the router, it does reconnect (mostly). So there must be someth=
ing a<br>
&gt; bit different between the 2 states.<br>
<br>
Which was the previous version you tested against?<br>
<br>
Daniel<br></blockquote><div>
<div>Daniel,</div><div><br></div><div>The previous version was 1.38.r65.g40=
947be3. I fear that the test may have been flawed as I had the &#39;backgro=
und scan&#39; set in main.conf and also had wpa_supplicant installed. I apo=
logize for the confusion, but with all the dev work, I kind of got my wires=
 crossed a bit. When I went back and tested again with wpa_supplicant remov=
ed, I noticed that it did not want to reconnect. Neither with ipv6 nor ipv4=
. So, I built the latest from git, tried again and noticed similar behavior=
 to what I saw before. <br></div></div><div><br></div><div>What I &#39;thin=
k&#39; I see in the logs is that the SSID goes away and it clears the IP ad=
dresses and starts scanning. &#39;scanning 1 ... scanning 0&#39; but it nev=
er sees the &#39;known network&#39;. If I take the interface down then back=
 up, it reconnects. I am not great at this, but when I look through the log=
, it acts differently when the interface is brought up than when it has bee=
n disconnected then starts scanning again. If I restart the radio on the ro=
uter, I get this:</div><div><br></div><div>plugins/iwd.c:network_property_c=
hange() /net/connman/iwd/0/3/73706733_psk connected 0</div><div><br></div><=
div>then it disconnects and deletes the routes and addresses. Then it conti=
nues scanning but only periodically reports that it has found an SSID and f=
or whatever reason never sees my SSID and from scanning 1 to scanning 0 it =
usually only &#39;sees&#39; one SSID at a time if at all and for whatever r=
eason, it never &#39;sees&#39; the autoconnect qSSID. <br></div><div><br></=
div><div>Jan 12 18:37:24 rune64 connmand[262]: plugins/iwd.c:station_proper=
ty_change() /net/connman/iwd/0/3 scanning 1<br>Jan 12 18:37:28 rune64 connm=
and[262]: plugins/iwd.c:object_removed() net.connman.iwd.Network /net/connm=
an/iwd/0/3/4d4f544f524f4c412d4645304431_psk<br>Jan 12 18:37:28 rune64 connm=
and[262]: plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scan=
ning 0<br>Jan 12 18:37:28 rune64 connmand[262]: plugins/iwd.c:ordered_netwo=
rks_cb()<br>Jan 12 18:37:28 rune64 connmand[262]: plugins/iwd.c:station_pro=
perty_change() /net/connman/iwd/0/3 scanning 1<br>Jan 12 18:37:32 rune64 co=
nnmand[262]: plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 s=
canning 0<br>Jan 12 18:37:32 rune64 connmand[262]: plugins/iwd.c:ordered_ne=
tworks_cb()<br>Jan 12 18:37:32 rune64 connmand[262]: plugins/iwd.c:station_=
property_change() /net/connman/iwd/0/3 scanning 1<br>Jan 12 18:37:36 rune64=
 connmand[262]: plugins/iwd.c:station_property_change() /net/connman/iwd/0/=
3 scanning 0<br>Jan 12 18:37:36 rune64 connmand[262]: plugins/iwd.c:ordered=
_networks_cb()<br>Jan 12 18:37:36 rune64 connmand[262]: plugins/iwd.c:stati=
on_property_change() /net/connman/iwd/0/3 scanning 1<br>Jan 12 18:37:40 run=
e64 connmand[262]: plugins/iwd.c:station_property_change() /net/connman/iwd=
/0/3 scanning 0<br>Jan 12 18:37:40 rune64 connmand[262]: plugins/iwd.c:orde=
red_networks_cb()<br>Jan 12 18:37:40 rune64 connmand[262]: plugins/iwd.c:st=
ation_property_change() /net/connman/iwd/0/3 scanning 1<br>Jan 12 18:37:44 =
rune64 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Networ=
k /net/connman/iwd/0/3/486f757365537461726b3031_psk<br>Jan 12 18:37:44 rune=
64 connmand[262]: plugins/iwd.c:station_property_change() /net/connman/iwd/=
0/3 scanning 0<br>Jan 12 18:37:44 rune64 connmand[262]: plugins/iwd.c:order=
ed_networks_cb()<br>Jan 12 18:37:44 rune64 connmand[262]: plugins/iwd.c:sta=
tion_property_change() /net/connman/iwd/0/3 scanning 1<br>Jan 12 18:37:48 r=
une64 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Network=
 /net/connman/iwd/0/3/53756c6c6976616e2046616d696c79_psk<br>Jan 12 18:37:48=
 rune64 connmand[262]: plugins/iwd.c:station_property_change() /net/connman=
/iwd/0/3 scanning 0<br></div><div><br></div><div><div>If I take the network=
 down, it removes all the traces of scanned SSIDS:</div><div><br></div><div=
>Jan 12 18:45:08 rune64 connmand[262]: wlan0 {RX} 14872 packets 19669052 by=
tes<br>Jan 12 18:45:08 rune64 connmand[262]: wlan0 {TX} 8253 packets 809028=
 bytes<br>Jan 12 18:45:08 rune64 connmand[262]: wlan0 {update} flags 4098 &=
lt;DOWN&gt;<br>Jan 12 18:45:08 rune64 connmand[262]: wlan0 {newlink} index =
3 address B8:27:EB:xx;xx:xx mtu 1500<br>Jan 12 18:45:08 rune64 connmand[262=
]: wlan0 {newlink} index 3 operstate 2 &lt;DOWN&gt;<br>Jan 12 18:45:08 rune=
64 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Station /n=
et/connman/iwd/0/3<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:o=
bject_removed() net.connman.iwd.SimpleConfiguration /net/connman/iwd/0/3<br=
>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed() net.c=
onnman.iwd.Network /net/connman/iwd/0/3/4c6f6164696e672e2e2e_psk<br>Jan 12 =
18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed() net.connman.i=
wd.Network /net/connman/iwd/0/3/456476656e7475726573_psk<br>Jan 12 18:45:08=
 rune64 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Netwo=
rk /net/connman/iwd/0/3/4e4554474541523938_psk<br>Jan 12 18:45:08 rune64 co=
nnmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Network /net/co=
nnman/iwd/0/3/73706733_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins=
/iwd.c:object_removed() net.connman.iwd.Network /net/connman/iwd/0/3/4d6561=
7374657761_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:objec=
t_removed() net.connman.iwd.Network /net/connman/iwd/0/3/53756c6c6976616e20=
46616d696c79_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:obj=
ect_removed() net.connman.iwd.Network /net/connman/iwd/0/3/4e45544745415236=
332d3547_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_=
removed() net.connman.iwd.Network /net/connman/iwd/0/3/456476656e7475726573=
33_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_remove=
d() net.connman.iwd.Network /net/connman/iwd/0/3/4368696d652d366139366161_o=
pen<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed()=
 net.connman.iwd.Network /net/connman/iwd/0/3/73706732_psk<br>Jan 12 18:45:=
08 rune64 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Net=
work /net/connman/iwd/0/3/415454785a4951347761_psk<br>Jan 12 18:45:08 rune6=
4 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Network /ne=
t/connman/iwd/0/3/56697275735f3547_psk<br>Jan 12 18:45:08 rune64 connmand[2=
62]: plugins/iwd.c:object_removed() net.connman.iwd.Network /net/connman/iw=
d/0/3/456c4a656665_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd=
.c:object_removed() net.connman.iwd.Network /net/connman/iwd/0/3/486f757365=
537461726b3031_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:o=
bject_removed() net.connman.iwd.Network /net/connman/iwd/0/3/41545458495849=
537069_psk<br>Jan 12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_re=
moved() net.connman.iwd.Network /net/connman/iwd/0/3/5669727573_psk<br>Jan =
12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed() net.connma=
n.iwd.Network /net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk<br>Jan =
12 18:45:08 rune64 connmand[262]: plugins/iwd.c:object_removed() net.connma=
n.iwd.Network /net/connman/iwd/0/3/415454654865544b4932_psk<br>Jan 12 18:45=
:08 rune64 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Ne=
twork /net/connman/iwd/0/3/4e4554474541523633_psk<br>Jan 12 18:45:08 rune64=
 connmand[262]: plugins/iwd.c:object_removed() net.connman.iwd.Network /net=
/connman/iwd/0/3/48414e4e41_psk<br>Jan 12 18:45:08 rune64 connmand[262]: pl=
ugins/iwd.c:object_removed() net.connman.iwd.Network /net/connman/iwd/0/3/4=
8414e4e4135_psk<br></div><div><br></div>and when the interface comes back, =
it scans and sees more than one network between &#39;scanning 1&#39; to &#3=
9;scanning 0&#39; and it &#39;sees&#39; the saved interface and connects:</=
div><div><br></div><div><b>Jan 12 18:45:08 rune64 connmand[262]: plugins/iw=
d.c:station_property_change() /net/connman/iwd/0/3 scanning 1</b><br>Jan 12=
 18:45:08 rune64 connmand[262]: wlan0 {RX} 14872 packets 19669052 bytes<br>=
Jan 12 18:45:08 rune64 connmand[262]: wlan0 {TX} 8253 packets 809028 bytes<=
br></div><div>Jan 12 18:45:08 rune64 connmand[262]: wlan0 {update} flags 40=
99 &lt;UP&gt;<br>Jan 12 18:45:08 rune64 connmand[262]: wlan0 {newlink} inde=
x 3 address B8:27:EB:52:CC:D0 mtu 1500<br>Jan 12 18:45:08 rune64 connmand[2=
62]: wlan0 {newlink} index 3 operstate 2 &lt;DOWN&gt;<br><b>Jan 12 18:45:09=
 rune64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.Network=
 /net/connman/iwd/0/3/73706733_psk</b><br><b>Jan 12 18:45:09 rune64 connman=
d[262]: plugins/iwd.c:create_network() device /net/connman/iwd/0/3 name &#3=
9;spg3&#39; type psk connected 1 known_network /net/connman/iwd/73706733_ps=
k</b><br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_network_set=
_autoconnect() autoconnect 1<br>Jan 12 18:45:09 rune64 connmand[262]: plugi=
ns/iwd.c:update_auto_connect() auto_connect 1 autoconnect 1<br>Jan 12 18:45=
:09 rune64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.Netw=
ork /net/connman/iwd/0/3/73706732_psk<br>Jan 12 18:45:09 rune64 connmand[26=
2]: plugins/iwd.c:create_network() device /net/connman/iwd/0/3 name &#39;sp=
g2&#39; type psk connected 0 known_network (null)<br>Jan 12 18:45:09 rune64=
 connmand[262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br=
>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added() net.con=
nman.iwd.Network /net/connman/iwd/0/3/41545458495849537069_psk<br>Jan 12 18=
:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device /net/con=
nman/iwd/0/3 name &#39;ATTXIXISpi&#39; type psk connected 0 known_network (=
null)<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_network_set=
_autoconnect() autoconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugi=
ns/iwd.c:object_added() net.connman.iwd.Network /net/connman/iwd/0/3/456476=
656e747572657333_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c=
:create_network() device /net/connman/iwd/0/3 name &#39;Edventures3&#39; ty=
pe psk connected 0 known_network (null)<br>Jan 12 18:45:09 rune64 connmand[=
262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br>Jan 12 18=
:45:09 rune64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.N=
etwork /net/connman/iwd/0/3/5669727573_psk<br>Jan 12 18:45:09 rune64 connma=
nd[262]: plugins/iwd.c:create_network() device /net/connman/iwd/0/3 name &#=
39;Virus&#39; type psk connected 0 known_network (null)<br>Jan 12 18:45:09 =
rune64 connmand[262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnec=
t 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added() n=
et.connman.iwd.Network /net/connman/iwd/0/3/456476656e7475726573_psk<br>Jan=
 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device /n=
et/connman/iwd/0/3 name &#39;Edventures&#39; type psk connected 0 known_net=
work (null)<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_netwo=
rk_set_autoconnect() autoconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]:=
 plugins/iwd.c:object_added() net.connman.iwd.Network /net/connman/iwd/0/3/=
4e4554474541523633_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd=
.c:create_network() device /net/connman/iwd/0/3 name &#39;NETGEAR63&#39; ty=
pe psk connected 0 known_network (null)<br>Jan 12 18:45:09 rune64 connmand[=
262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br>Jan 12 18=
:45:09 rune64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.N=
etwork /net/connman/iwd/0/3/48414e4e41_psk<br>Jan 12 18:45:09 rune64 connma=
nd[262]: plugins/iwd.c:create_network() device /net/connman/iwd/0/3 name &#=
39;HANNA&#39; type psk connected 0 known_network (null)<br>Jan 12 18:45:09 =
rune64 connmand[262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnec=
t 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added() n=
et.connman.iwd.Network /net/connman/iwd/0/3/4c6f6164696e672e2e2e_psk<br>Jan=
 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device /n=
et/connman/iwd/0/3 name &#39;Loading...&#39; type psk connected 0 known_net=
work (null)<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_netwo=
rk_set_autoconnect() autoconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]:=
 plugins/iwd.c:object_added() net.connman.iwd.Network /net/connman/iwd/0/3/=
456c4a656665_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cre=
ate_network() device /net/connman/iwd/0/3 name &#39;ElJefe&#39; type psk co=
nnected 0 known_network (null)<br>Jan 12 18:45:09 rune64 connmand[262]: plu=
gins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br>Jan 12 18:45:09 ru=
ne64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.Network /n=
et/connman/iwd/0/3/53756c6c6976616e2046616d696c79_psk<br>Jan 12 18:45:09 ru=
ne64 connmand[262]: plugins/iwd.c:create_network() device /net/connman/iwd/=
0/3 name &#39;Sullivan Family&#39; type psk connected 0 known_network (null=
)<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_network_set_aut=
oconnect() autoconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/i=
wd.c:object_added() net.connman.iwd.Network /net/connman/iwd/0/3/4e45544745=
415236332d3547_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:c=
reate_network() device /net/connman/iwd/0/3 name &#39;NETGEAR63-5G&#39; typ=
e psk connected 0 known_network (null)<br>Jan 12 18:45:09 rune64 connmand[2=
62]: plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br>Jan 12 18:=
45:09 rune64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.Ne=
twork /net/connman/iwd/0/3/415454654865544b4932_psk<br>Jan 12 18:45:09 rune=
64 connmand[262]: plugins/iwd.c:create_network() device /net/connman/iwd/0/=
3 name &#39;ATTeHeTKI2&#39; type psk connected 0 known_network (null)<br>Ja=
n 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_network_set_autoconnec=
t() autoconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:ob=
ject_added() net.connman.iwd.Network /net/connman/iwd/0/3/486f7573655374617=
26b3031_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_n=
etwork() device /net/connman/iwd/0/3 name &#39;HouseStark01&#39; type psk c=
onnected 0 known_network (null)<br>Jan 12 18:45:09 rune64 connmand[262]: pl=
ugins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br>Jan 12 18:45:09 r=
une64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.Network /=
net/connman/iwd/0/3/415454785a4951347761_psk<br>Jan 12 18:45:09 rune64 conn=
mand[262]: plugins/iwd.c:create_network() device /net/connman/iwd/0/3 name =
&#39;ATTxZIQ4wa&#39; type psk connected 0 known_network (null)<br>Jan 12 18=
:45:09 rune64 connmand[262]: plugins/iwd.c:cm_network_set_autoconnect() aut=
oconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_ad=
ded() net.connman.iwd.Network /net/connman/iwd/0/3/4d4f544f524f4c412d464530=
4431_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:create_netw=
ork() device /net/connman/iwd/0/3 name &#39;MOTOROLA-FE0D1&#39; type psk co=
nnected 0 known_network (null)<br>Jan 12 18:45:09 rune64 connmand[262]: plu=
gins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br>Jan 12 18:45:09 ru=
ne64 connmand[262]: plugins/iwd.c:object_added() net.connman.iwd.Network /n=
et/connman/iwd/0/3/56697275735f3547_psk<br>Jan 12 18:45:09 rune64 connmand[=
262]: plugins/iwd.c:create_network() device /net/connman/iwd/0/3 name &#39;=
Virus_5G&#39; type psk connected 0 known_network (null)<br>Jan 12 18:45:09 =
rune64 connmand[262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnec=
t 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:object_added() n=
et.connman.iwd.Network /net/connman/iwd/0/3/4d65617374657761_psk<br>Jan 12 =
18:45:09 rune64 connmand[262]: plugins/iwd.c:create_network() device /net/c=
onnman/iwd/0/3 name &#39;Meastewa&#39; type psk connected 0 known_network (=
null)<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:cm_network_set=
_autoconnect() autoconnect 0<br>Jan 12 18:45:09 rune64 connmand[262]: plugi=
ns/iwd.c:object_added() net.connman.iwd.Network /net/connman/iwd/0/3/436869=
6d652d366139366161_open<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iw=
d.c:create_network() device /net/connman/iwd/0/3 name &#39;Chime-6a96aa&#39=
; type open connected 0 known_network (null)<br>Jan 12 18:45:09 rune64 conn=
mand[262]: plugins/iwd.c:cm_network_set_autoconnect() autoconnect 0<br><b>J=
an 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:station_property_change(=
) /net/connman/iwd/0/3 scanning 0</b><br>Jan 12 18:45:09 rune64 connmand[26=
2]: plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 state conn=
ecting<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:station_prope=
rty_change() /net/connman/iwd/0/3 connected_network /net/connman/iwd/0/3/73=
706733_psk<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iwd.c:network_p=
roperty_change() /net/connman/iwd/0/3/73706733_psk connected 1<br>Jan 12 18=
:45:09 rune64 connmand[262]: plugins/iwd.c:update_network_connected() inter=
face name wlan0 index 3<br>Jan 12 18:45:09 rune64 connmand[262]: plugins/iw=
d.c:ordered_networks_cb()<br>Jan 12 18:45:09 rune64 connmand[262]: wlan0 {R=
X} 14873 packets 19669151 bytes<br>Jan 12 18:45:09 rune64 connmand[262]: wl=
an0 {TX} 8253 packets 809028 bytes<br>Jan 12 18:45:09 rune64 connmand[262]:=
 wlan0 {update} flags 69635 &lt;UP,LOWER_UP&gt;<br>Jan 12 18:45:09 rune64 c=
onnmand[262]: wlan0 {newlink} index 3 address B8:27:EB:xx:x:xx mtu 1500<br>=
Jan 12 18:45:09 rune64 connmand[262]: wlan0 {newlink} index 3 operstate 5 &=
lt;DORMANT&gt;<br>Jan 12 18:45:09 rune64 connmand[262]: wlan0 {add} route f=
e80:: gw :: scope 0 &lt;UNIVERSE&gt;<br>Jan 12 18:45:09 rune64 connmand[262=
]: wlan0 {RX} 14874 packets 19669306 bytes<br>Jan 12 18:45:09 rune64 connma=
nd[262]: wlan0 {TX} 8256 packets 809438 bytes<br>Jan 12 18:45:09 rune64 con=
nmand[262]: wlan0 {update} flags 69699 &lt;UP,RUNNING,LOWER_UP&gt;<br>Jan 1=
2 18:45:09 rune64 connmand[262]: wlan0 {newlink} index 3 address B8:27:EB:x=
x:xx:xx mtu 1500<br>Jan 12 18:45:09 rune64 connmand[262]: wlan0 {newlink} i=
ndex 3 operstate 6 &lt;UP&gt;<br>Jan 12 18:45:09 rune64 connmand[262]: plug=
ins/iwd.c:station_property_change() /net/connman/iwd/0/3 state connected<br=
>Jan 12 18:45:10 rune64 connmand[262]: wlan0 {add} route 2600:1700:4320:6ca=
f:: gw :: scope 0 &lt;UNIVERSE&gt;<br>Jan 12 18:45:10 rune64 connmand[262]:=
 wlan0 {add} route fd21:98c8:1d28:: gw :: scope 0 &lt;UNIVERSE&gt;<br>Jan 1=
2 18:45:11 rune64 connmand[262]: plugins/iwd.c:station_property_change() /n=
et/connman/iwd/0/3 scanning 1<br>Jan 12 18:45:11 rune64 connmand[262]: wlan=
0 {add} address 2600:1700:4320:6caf:baxx:xxff:fexx:xxxx/64 label (null) fam=
ily 10<br>Jan 12 18:45:12 rune64 connmand[262]: wlan0 {add} address fd21:98=
c8:1d28:0:ba27:ebff:fexx:xxxx/64 label (null) family 10<br>Jan 12 18:45:15 =
rune64 connmand[262]: plugins/iwd.c:station_property_change() /net/connman/=
iwd/0/3 scanning 0<br></div><div><br></div><div>It immediately connects. Be=
tween &#39;scanning 1&#39; and &#39;scanning 0&#39; it gets all available n=
etworks. This is one thing I see as &#39;different&#39; from taking an inte=
rface down then up versus restarting the SSID on the router. When it is con=
nected, it works similarly in that it gets one network at a time <br></div>=
<div><br></div><div>On the IWD side, the /var/lib/iwd/spg.psk has &#39;Auto=
Connect=3Dtrue&#39; set in it, now. <br></div><div><br></div><div>Hope this=
 is helpful.</div><div><br></div><div>Regards,</div><div><br></div><div>Kei=
th<br></div><div><br></div><div>=C2=A0 <br></div></div></div>

--000000000000567ba905b8bdf0e9--

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

Subject: Digest Footer

_______________________________________________
connman mailing list -- connman@lists.01.org
To unsubscribe send an email to connman-le...@lists.01.org


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

End of connman Digest, Vol 66, Issue 15
***************************************

Reply via email to