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: connman wifi disconnect problem (KeithG)
----------------------------------------------------------------------
Date: Mon, 28 Sep 2020 05:43:23 -0500
From: KeithG <[email protected]>
Subject: Re: connman wifi disconnect problem
To: Daniel Wagner <[email protected]>
Cc: "Ryll, Jan (GED-SDD2)" <[email protected]>, "[email protected]"
<[email protected]>
Message-ID:
<CAG17S_OQzPCFStS50szZOXCQ-kuVAzSyNcnpv=n3fvzypcz...@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="000000000000945d9005b05d5610"
--000000000000945d9005b05d5610
Content-Type: text/plain; charset="UTF-8"
On Sun, Sep 27, 2020 at 8:24 PM KeithG <[email protected]> wrote:
>
>
> On Thu, Sep 24, 2020 at 7:56 AM KeithG <[email protected]> wrote:
>
>> Daniel,
>>
>> I pulled the latest connman and was able to run monitor-connman. The
>> attached log is what I got when I:
>> 1) stopped connman
>> 2) started connman
>> 3) turned off the radio
>> 4) waited until my phone and other devices were online with that SSID
>> 5) typed 'connmanctl scan wifi' got no return
>> 6) typed ctrl c
>> 7) typed 'connmanctl services'
>>
>> I noted that after I initiated the scan even though connman reported
>> nothing, it had already begun the connection and connected. We have noticed
>> that if we type 'iwctl station wlan0 scan' or, apparently 'connmanctl scan
>> wifi' that it will initiate and complete a scan. I wonder if the fact that
>> connman 1.38 never returns with a scan complete message is a hint? The
>> monitor-connman.txt is what showed in the terminal when I ran the script.
>> The monitor-connman-journal.txt is what appeared in the journal for u-
>> connman. At the same time the journalctl -iwd shows this:
>>
>> Sep 24 07:29:14 keith-dell iwd[405]: Received Deauthentication event,
>> reason: 3, from_ap: false
>> Sep 24 07:39:08 keith-dell iwd[405]: Received Deauthentication event,
>> reason: 3, from_ap: true
>> Sep 24 07:39:08 keith-dell iwd[405]: Connected BSS not in scan results
>> Sep 24 07:39:08 keith-dell iwd[405]: authentication timed out
>>
>> Is there some sort of timing problem?
>>
>> Keith
>>
>> On Wed, Sep 23, 2020 at 2:18 AM Daniel Wagner <[email protected]> wrote:
>>
>>> On Tue, Sep 22, 2020 at 08:59:57AM -0500, KeithG wrote:
>>> > I cannot find the monitor-iwd script.
>>>
>>> This script is part of the iwd sources.
>>>
>>> > I found the monitor-connman script,
>>> > but when I try to run the monitor-connman script, I get a gobject
>>> error:
>>> >
>>> > $ ./monitor-connman
>>> > Traceback (most recent call last):
>>> > File "./monitor-connman", line 3, in <module>
>>> > import gobject
>>> > ModuleNotFoundError: No module named 'gobject'
>>>
>>> The Python support for GLib gobject was always a bit troublesome and it
>>> seems it aged really badly.
>>>
>>> > This is even though I believe that python-gobject is installed and I
>>> can
>>> > run the hello.py script on this page:
>>> > https://pygobject.readthedocs.io/en/latest/getting_started.html
>>> > python 3.8.5 and
>>> > $ pacman -Q | grep gobject
>>> > gobject-introspection 1.66.0-1
>>> > gobject-introspection-runtime 1.66.0-1
>>> > pygobject-devel 3.36.1-1
>>> > python-gobject 3.36.1-1
>>>
>>> I have the same problem with Python 3 on my distro. It still works with
>>> Python 2. The test script need to use the dynamic version of the GLib
>>> binding. See the other patch.
>>>
>>> > I am now running on a pretty common dell laptop with an intel wifi
>>> card and
>>> > get the same behavior. iwd 1.9 connman 1.38. I connected via connman
>>> then
>>> > powered down the radio on the router then back on then had to
>>> reconnect by
>>> > typing in teh password. The journal of this event is attached.
>>> >
>>> > I did notice that in order to reconnect on this laptop (Arch Linux
>>> x86_64)
>>> > that I had to type in the password again though I was just connected
>>> before
>>> > I turned off the SSID. The journal running /usr/bin/connmand -n -d
>>> > plugins/iwd.c:src/service.c though this event is attached.
>>>
>>> I'll try to reproduce it later.
>>>
>>> Thanks,
>>> Daniel
>>>
>>
> I see this with all my Arch Linux installs. I made a basic install on an
> RPi with nothing but the base system and connman and iwd and a few other
> programs. When I use connman to manage the wifi interface and run
> ./monitor-iwd, nothing ever displays even when the wifi goes down. I'd show
> the tect capture, but it is blank. When I run systemd-networks/dhcpcd with
> iwd, and have the network go down, I get a lot of messages and it
> reconnects when the radio comes back online:
> # ./monitor-iwd
> {Station} [/net/connman/iwd/0/3] State = disconnected
> {Network} [/net/connman/iwd/0/3/73706733_psk] Connected = False
> {Station} [/net/connman/iwd/0/3] Scanning = True
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/52756e65417564696f4150_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4154546a435336706932_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541525f455854_open]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/456476656e7475726573_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541523938_psk]
> {Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/73706733_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4d65617374657761_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/456476656e747572657333_psk]
> {Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/73706732_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/415454785a4951347761_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/486f757365537461726b3031_psk]
> {Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/456c4a656665_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/426964656e486172726973_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/415454654865544b4932_psk]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541523633_psk]
> {Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e41_psk]
> {Station} [/net/connman/iwd/0/3] Scanning = False
> {Station} [/net/connman/iwd/0/3] Scanning = True
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/52756e65417564696f4150_psk]
> Name = RuneAudioAP
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e41_psk]
> Name = HANNA
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network} [/net/connman/iwd/0/3/456c4a656665_psk]
> Name = ElJefe
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/486f757365537461726b3031_psk]
> Name = HouseStark01
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541523633_psk]
> Name = NETGEAR63
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/456476656e7475726573_psk]
> Name = Edventures
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541523938_psk]
> Name = NETGEAR98
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/415454654865544b4932_psk]
> Name = ATTeHeTKI2
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4974204275726e73205768656e204950_psk]
> Name = It Burns When IP
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e4135_psk]
> Name = HANNA5
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/456476656e747572657333_psk]
> Name = Edventures3
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Station} [/net/connman/iwd/0/3] Scanning = False
> {Station} [/net/connman/iwd/0/3] Scanning = True
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/426964656e486172726973_psk]
> Name = BidenHarris
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Station} [/net/connman/iwd/0/3] Scanning = False
> {Station} [/net/connman/iwd/0/3] Scanning = True
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/415454785a4951347761_psk]
> Name = ATTxZIQ4wa
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk]
> Name = MOTOROLA-FE0D1
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541525f455854_open]
> Name = NETGEAR_EXT
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = open
> {Station} [/net/connman/iwd/0/3] Scanning = False
> {Station} [/net/connman/iwd/0/3] Scanning = True
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541525f455854_open]
> {Removed net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4d4f544f524f4c412d4645304431_psk]
> {Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e4135_psk]
> {Added net.connman.iwd.Network} [/net/connman/iwd/0/3/73706733_psk]
> Name = spg3
> Connected = True
> Device = /net/connman/iwd/0/3
> Type = psk
> KnownNetwork = /net/connman/iwd/73706733_psk
> {Added net.connman.iwd.Network} [/net/connman/iwd/0/3/73706732_psk]
> Name = spg2
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Added net.connman.iwd.Network}
> [/net/connman/iwd/0/3/4e4554474541523336_psk]
> Name = NETGEAR36
> Connected = False
> Device = /net/connman/iwd/0/3
> Type = psk
> {Station} [/net/connman/iwd/0/3] Scanning = False
> {Station} [/net/connman/iwd/0/3] State = connecting
> {Station} [/net/connman/iwd/0/3] ConnectedNetwork =
> /net/connman/iwd/0/3/73706733_psk
> {Network} [/net/connman/iwd/0/3/73706733_psk] Connected = True
> {Station} [/net/connman/iwd/0/3] State = connected
> {KnownNetwork} [/net/connman/iwd/73706733_psk] LastConnectedTime =
> 2020-09-28T01:10:45Z
>
> The attached journal shows this for downing the radio when connman was
> controlling the network. It ignores it. My guess is there is some strange
> setting in Arch Linux which stops this from working when connman is
> managing things. What more can I do to help? I see this same behavior on my
> arm devices (RPis) and x86_64 full desktop installs.
>
> Keith
>
>
Daniel,
I woke up this morning and I think I get it now. I need to run monitor-iwd
when I run networkd/dhcpcd and monitor-connman when connman is managing the
connections. Well, with the same process, this is the report from
monitor-connman when connman is managing the interface (I am monitoring it
over ssh by logging into the ethernet IP address):
# ./monitor-connman
{Service} [/net/connman/service/wifi_b827eb52ccd0_73706732_managed_psk]
Strength = 62
{Service}
[/net/connman/service/wifi_b827eb52ccd0_52756e65417564696f4150_managed_psk]
Strength = 56
{Service}
[/net/connman/service/wifi_b827eb52ccd0_415454785a4951347761_managed_psk]
Strength = 22
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk]
Strength = 21
{Service}
[/net/connman/service/wifi_b827eb52ccd0_44617272656e333231_managed_psk]
Strength = 15
{Service}
[/net/connman/service/wifi_b827eb52ccd0_464249205375727665696c6c616e63652056616e_managed_psk]
Strength = 15
{Service}
[/net/connman/service/wifi_b827eb52ccd0_52756e65417564696f4150_managed_psk]
Strength = 55
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 34
{Service}
[/net/connman/service/wifi_b827eb52ccd0_486f757365537461726b3031_managed_psk]
Strength = 19
{Service} [/net/connman/service/wifi_b827eb52ccd0_456c4a656665_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4154546a435336706932_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_managed_psk]
Strength = 20
{Service}
[/net/connman/service/wifi_b827eb52ccd0_456476656e747572657333_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_44617272656e333231_managed_psk]
Strength = 18
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523336_managed_psk]
Strength = 15
*{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
State = association{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] State =
configuration{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Ethernet = {
Method=auto Interface=wlan0 Address=B8:27:EB:52:CC:D0 MTU=1500 }{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Ethernet = {
Method=auto Interface=wlan0 Address=B8:27:EB:52:CC:D0 MTU=1500 }{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Timeservers =
[ ]{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
State = ready{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Favorite =
1{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
Domains = [ ]{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Proxy = {
}{Technology} [/net/connman/technology/wifi] Connected = 1*
*{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
IPv6 = { Method=auto Address=2600:1700:4320:6caf:ba27:ebff:fe52:ccd0
PrefixLength=64 Privacy=disabled }{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Domains = [
griders ]{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Timeservers =
[ ]{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
IPv4 = { Method=dhcp Address=192.168.2.41 Netmask=255.255.255.0 }{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Nameservers =
[ 192.168.2.3 xxxx:xxxx:xxxx:xxxx:ba27:ebff:fe0b:9be6 ]{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Domains = [
]{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
Timeservers = [ ]{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Timeservers =
[ ]{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
State = disconnect{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Domains = [
]{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
Proxy = { }{Technology} [/net/connman/technology/wifi] Connected = 0*
*{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
Timeservers = [ ]{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Timeservers =
[ ]{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
State = idle{Service} [/net/connman/service/ethernet_b827eb079985_cable]
IPv4 = { Method=dhcp Address=192.168.2.193 Netmask=255.255.255.0 }{Service}
[/net/connman/service/ethernet_b827eb079985_cable] IPv4 = { Method=dhcp
Address=192.168.2.193 Netmask=255.255.255.0 Gateway=192.168.2.1 }{Service}
[/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Nameservers =
[ ]*
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 15
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 33
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 37
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk]
Strength = 25
{Service} [/net/connman/service/wifi_b827eb52ccd0_456c4a656665_managed_psk]
Strength = 22
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_managed_psk]
Strength = 24
{Service} [/net/connman/service/wifi_b827eb52ccd0_48414e4e41_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_415454654865544b4932_managed_psk]
Strength = 15
{Service}
[/net/connman/service/wifi_b827eb52ccd0_464249205375727665696c6c616e63652056616e_managed_psk]
Strength = 17
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 33
{Service}
[/net/connman/service/wifi_b827eb52ccd0_456476656e7475726573_managed_psk]
Strength = 29
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_managed_psk]
Strength = 21
{Service} [/net/connman/service/wifi_b827eb52ccd0_456c4a656665_managed_psk]
Strength = 20
{Service} [/net/connman/service/wifi_b827eb52ccd0_48414e4e41_managed_psk]
Strength = 17
{Service}
[/net/connman/service/wifi_b827eb52ccd0_426964656e486172726973_managed_psk]
Strength = 17
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523336_managed_psk]
Strength = 17
{Service}
[/net/connman/service/wifi_b827eb52ccd0_415454654865544b4932_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_415454785a4951347761_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4154546a435336706932_managed_psk]
Strength = 16
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk]
Strength = 18
{Service}
[/net/connman/service/wifi_b827eb52ccd0_456476656e747572657333_managed_psk]
Strength = 16
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4d65617374657761_managed_psk]
Strength = 16
{Service}
[/net/connman/service/wifi_b827eb52ccd0_464249205375727665696c6c616e63652056616e_managed_psk]
Strength = 16
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 36
{Service}
[/net/connman/service/wifi_b827eb52ccd0_456476656e7475726573_managed_psk]
Strength = 30
{Service} [/net/connman/service/wifi_b827eb52ccd0_48414e4e41_managed_psk]
Strength = 20
{Service}
[/net/connman/service/wifi_b827eb52ccd0_415454785a4951347761_managed_psk]
Strength = 23
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4154546a435336706932_managed_psk]
Strength = 18
{Service}
[/net/connman/service/wifi_b827eb52ccd0_456476656e747572657333_managed_psk]
Strength = 19
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523336_managed_psk]
Strength = 15
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk]
Strength = 17
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4d65617374657761_managed_psk]
Strength = 15
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541525f455854_managed_none]
Strength = 13
*{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk]
Strength = 44*
{Service} [/net/connman/service/wifi_b827eb52ccd0_73706732_managed_psk]
Strength = 59
{Service}
[/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk]
Strength = 37
{Service}
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_managed_psk]
Strength = 21
{Service}
[/net/connman/service/wifi_b827eb52ccd0_456476656e747572657333_managed_psk]
Strength = 20
{Service}
[/net/connman/service/wifi_b827eb52ccd0_464249205375727665696c6c616e63652056616e_managed_psk]
Strength = 17
(while typing this I notice that it scanned again, sees the SSID, but does
not initiate a connection...
I can see in the log when I use the connmanctl interface to connect to the
SSID then I can see it disconnect, then that it scans and 'sees' it again,
but it never re-connects even after it scans again. Looking at the
difference between the monitor-* logs, it looks like connman, somehow does
not recognize that it knows that network.
When I query connman, it looks like it is supposed to autoconnect:
connmanctl> services --properties wifi_b827eb52ccd0_73706733_managed_psk
/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk
Type = wifi
Security = [ psk ]
State = idle
Strength = 45
Favorite = True
Immutable = False
*AutoConnect = True*
Name = spg3
Ethernet = [ Method=auto ]
IPv4 = [ ]
IPv4.Configuration = [ Method=dhcp ]
IPv6 = [ ]
IPv6.Configuration = [ Method=auto, Privacy=disabled ]
Nameservers = [ ]
Nameservers.Configuration = [ ]
Timeservers = [ ]
Timeservers.Configuration = [ ]
Domains = [ ]
Domains.Configuration = [ ]
Proxy = [ ]
Proxy.Configuration = [ ]
mDNS = False
mDNS.Configuration = False
Provider = [ ]
The system:
Arch Linux aarch64 on an RPi, kernel 5.4.65-1-ARCH, iwd 1.9-1, connman
1.38-1
systemd 246.6-1-arch running in system mode. (+PAM +AUDIT -SELINUX -IMA
-APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ
+LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2
default-hierarchy=hybrid)
I get the same response on all Arch Linux systems: armv6 armv7 and x86_64.
Also, if I reboot with nothing connected to the ethernet port, it will
connect to the wifi SSID, but only at boot. If I connect the ethernet cable
then ssh into it and type 'connmanctl scan wifi', the prompt does not
return though the journalctl log shows that it did scan and that it did
'see' the SSID but it will not connect.
Sep 28 10:28:09 gretarune connmand[211]: plugins/iwd.c:object_added()
net.connman.iwd.Network /net/connman/iwd/0/3/73706733_psk
Sep 28 10:28:05 gretarune connmand[211]:
plugins/iwd.c:station_property_change() /net/connman/iwd/0/3 scanning 1
If I restart connman it does reconnect to the SSID (systemctl restart
connman). I tried adding imd.service to the After= line in the
connman.service file and that made no change to the behavior.
My connman.service file:
[Unit]
Description=Connection service
DefaultDependencies=false
Conflicts=shutdown.target
RequiresMountsFor=/var/lib/connman
After=dbus.service network-pre.target systemd-sysusers.service
Before=network.target multi-user.target shutdown.target
Wants=network.target
[Service]
Type=dbus
BusName=net.connman
Restart=on-failure
ExecStart=/usr/bin/connmand -n -d plugins/iwd.c
StandardOutput=null
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_ADMIN
ProtectHome=true
ProtectSystem=true
[Install]
WantedBy=multi-user.target
Thanks for any help.
Keith
--000000000000945d9005b05d5610
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div><br> </div></div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Sep 27, 2020 at 8=
:24 PM KeithG <<a href=3D"mailto:[email protected]">[email protected]<=
/a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><=
div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><=
div dir=3D"ltr" class=3D"gmail_attr">On Thu, Sep 24, 2020 at 7:56 AM KeithG=
<<a href=3D"mailto:[email protected]" target=3D"_blank">ys3al35l@gmail=
.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr"><div>Daniel,</div><div><br></div><div>I pulled the lat=
est connman and was able to run monitor-connman. The attached log is what I=
got when I:</div><div>1) stopped connman</div><div>2) started connman</div=
><div>3) turned off the radio</div><div>4) waited until my phone and other =
devices were online with that SSID</div><div>5) typed 'connmanctl scan =
wifi' got no return <br></div><div>6) typed ctrl c</div><div>7) typed &=
#39;connmanctl services'</div><div><br></div><div>I noted that after I =
initiated the scan even though connman reported nothing, it had already beg=
un the connection and connected. We have noticed that if we type 'iwctl=
station wlan0 scan' or, apparently 'connmanctl scan wifi' that=
it will initiate and complete a scan. I wonder if the fact that connman 1.=
38 never returns with a scan complete message is a hint? The monitor-connma=
n.txt is what showed in the terminal when I ran the script. The monitor-con=
nman-journal.txt is what appeared in the journal for u- connman. At the sam=
e time the journalctl -iwd shows this:</div><div><br></div><div>Sep 24 07:2=
9:14 keith-dell iwd[405]: Received Deauthentication event, reason: 3, from_=
ap: false<br>Sep 24 07:39:08 keith-dell iwd[405]: Received Deauthentication=
event, reason: 3, from_ap: true<br>Sep 24 07:39:08 keith-dell iwd[405]: Co=
nnected BSS not in scan results<br>Sep 24 07:39:08 keith-dell iwd[405]: aut=
hentication timed out<br></div><div><br></div><div>Is there some sort of ti=
ming problem?</div><div><br></div><div>Keith<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Sep 23, 2020=
at 2:18 AM Daniel Wagner <<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex">On Tue, Sep 22, 2020 at 08:59:57AM -0500, KeithG wrote=
:<br>
> I cannot find the monitor-iwd script.<br>
<br>
This script is part of the iwd sources. <br>
<br>
> I found the monitor-connman script,<br>
> but when I try to run the monitor-connman script, I get a gobject erro=
r:<br>
> <br>
> $ ./monitor-connman<br>
> Traceback (most recent call last):<br>
>=C2=A0 =C2=A0File "./monitor-connman", line 3, in <module&=
gt;<br>
>=C2=A0 =C2=A0 =C2=A0import gobject<br>
> ModuleNotFoundError: No module named 'gobject'<br>
<br>
The Python support for GLib gobject was always a bit troublesome and it<br>
seems it aged really badly.<br>
<br>
> This is even though I believe that python-gobject is installed and I c=
an<br>
> run the hello.py script on this page:<br>
> <a href=3D"https://pygobject.readthedocs.io/en/latest/getting_started.=
html" rel=3D"noreferrer" target=3D"_blank">https://pygobject.readthedocs.io=
/en/latest/getting_started.html</a><br>
> python 3.8.5 and<br>
> $ pacman -Q | grep gobject<br>
> gobject-introspection 1.66.0-1<br>
> gobject-introspection-runtime 1.66.0-1<br>
> pygobject-devel 3.36.1-1<br>
> python-gobject 3.36.1-1<br>
<br>
I have the same problem with Python 3 on my distro. It still works with<br>
Python 2. The test script need to use the dynamic version of the GLib<br>
binding. See the other patch.<br>
<br>
> I am now running on a pretty common dell laptop with an intel wifi car=
d and<br>
> get the same behavior. iwd 1.9 connman 1.38. I connected via connman t=
hen<br>
> powered down the radio on the router then back on then had to reconnec=
t by<br>
> typing in teh password.=C2=A0 The journal of this event is attached.<b=
r>
> <br>
> I did notice that in order to reconnect on this laptop (Arch Linux x86=
_64)<br>
> that I had to type in the password again though I was just connected b=
efore<br>
> I turned off the SSID. The journal running /usr/bin/connmand -n -d<br>
> plugins/iwd.c:src/service.c though this event is attached.<br>
<br>
I'll try to reproduce it later.<br>
<br>
Thanks,<br>
Daniel<br></blockquote></div></blockquote><div><br></div><div>I see this wi=
th all my Arch Linux installs. I made a basic install on an RPi with nothin=
g but the base system and connman and iwd and a few other programs. When I =
use connman to manage the wifi interface and run ./monitor-iwd, nothing eve=
r displays even when the wifi goes down. I'd show the tect capture, but=
it is blank. When I run systemd-networks/dhcpcd with iwd, and have the net=
work go down, I get a lot of messages and it reconnects when the radio come=
s back online:</div><div># ./monitor-iwd<br>{Station} [/net/connman/iwd/0/3=
] State =3D disconnected<br>{Network} [/net/connman/iwd/0/3/73706733_psk] C=
onnected =3D False<br>{Station} [/net/connman/iwd/0/3] Scanning =3D True<br=
>{Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/52756e65417564696f=
4150_psk]<br>{Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/415454=
6a435336706932_psk]<br>{Removed net.connman.iwd.Network} [/net/connman/iwd/=
0/3/4e4554474541525f455854_open]<br>{Removed net.connman.iwd.Network} [/net=
/connman/iwd/0/3/456476656e7475726573_psk]<br>{Removed net.connman.iwd.Netw=
ork} [/net/connman/iwd/0/3/4e4554474541523938_psk]<br>{Removed net.connman.=
iwd.Network} [/net/connman/iwd/0/3/73706733_psk]<br>{Removed net.connman.iw=
d.Network} [/net/connman/iwd/0/3/4d65617374657761_psk]<br>{Removed net.conn=
man.iwd.Network} [/net/connman/iwd/0/3/456476656e747572657333_psk]<br>{Remo=
ved net.connman.iwd.Network} [/net/connman/iwd/0/3/73706732_psk]<br>{Remove=
d net.connman.iwd.Network} [/net/connman/iwd/0/3/415454785a4951347761_psk]<=
br>{Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/486f757365537461=
726b3031_psk]<br>{Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/45=
6c4a656665_psk]<br>{Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/=
426964656e486172726973_psk]<br>{Removed net.connman.iwd.Network} [/net/conn=
man/iwd/0/3/4d4f544f524f4c412d4645304431_psk]<br>{Removed net.connman.iwd.N=
etwork} [/net/connman/iwd/0/3/415454654865544b4932_psk]<br>{Removed net.con=
nman.iwd.Network} [/net/connman/iwd/0/3/4e4554474541523633_psk]<br>{Removed=
net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e41_psk]<br>{Station=
} [/net/connman/iwd/0/3] Scanning =3D False<br>{Station} [/net/connman/iwd/=
0/3] Scanning =3D True<br>{Added net.connman.iwd.Network} [/net/connman/iwd=
/0/3/52756e65417564696f4150_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D RuneAudio=
AP<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=A0 =C2=A0 Devi=
ce =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added =
net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e41_psk]<br>=C2=A0 =
=C2=A0 =C2=A0 Name =3D HANNA<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br=
>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=
=A0 Type =3D psk<br>{Added net.connman.iwd.Network} [/net/connman/iwd/0/3/4=
56c4a656665_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D ElJefe<br>=C2=A0 =C2=A0 =
=C2=A0 Connected =3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/=
iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added net.connman.iwd.Netw=
ork} [/net/connman/iwd/0/3/486f757365537461726b3031_psk]<br>=C2=A0 =C2=A0 =
=C2=A0 Name =3D HouseStark01<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br=
>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=
=A0 Type =3D psk<br>{Added net.connman.iwd.Network} [/net/connman/iwd/0/3/4=
e4554474541523633_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D NETGEAR63<br>=C2=A0=
=C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/=
connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added net.connman.=
iwd.Network} [/net/connman/iwd/0/3/456476656e7475726573_psk]<br>=C2=A0 =C2=
=A0 =C2=A0 Name =3D Edventures<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<=
br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =
=C2=A0 Type =3D psk<br>{Added net.connman.iwd.Network} [/net/connman/iwd/0/=
3/4e4554474541523938_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D NETGEAR98<br>=C2=
=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /n=
et/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added net.connm=
an.iwd.Network} [/net/connman/iwd/0/3/415454654865544b4932_psk]<br>=C2=A0 =
=C2=A0 =C2=A0 Name =3D ATTeHeTKI2<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D Fal=
se<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0=
=C2=A0 Type =3D psk<br>{Added net.connman.iwd.Network} [/net/connman/iwd/0=
/3/4974204275726e73205768656e204950_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D I=
t Burns When IP<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=
=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D=
psk<br>{Added net.connman.iwd.Network} [/net/connman/iwd/0/3/48414e4e4135_=
psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D HANNA5<br>=C2=A0 =C2=A0 =C2=A0 Connec=
ted =3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=
=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added net.connman.iwd.Network} [/net/=
connman/iwd/0/3/456476656e747572657333_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =
=3D Edventures3<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=
=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D=
psk<br>{Station} [/net/connman/iwd/0/3] Scanning =3D False<br>{Station} [/=
net/connman/iwd/0/3] Scanning =3D True<br>{Added net.connman.iwd.Network} [=
/net/connman/iwd/0/3/426964656e486172726973_psk]<br>=C2=A0 =C2=A0 =C2=A0 Na=
me =3D BidenHarris<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =
=C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =
=3D psk<br>{Station} [/net/connman/iwd/0/3] Scanning =3D False<br>{Station}=
[/net/connman/iwd/0/3] Scanning =3D True<br>{Added net.connman.iwd.Network=
} [/net/connman/iwd/0/3/415454785a4951347761_psk]<br>=C2=A0 =C2=A0 =C2=A0 N=
ame =3D ATTxZIQ4wa<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =
=C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =
=3D psk<br>{Added net.connman.iwd.Network} [/net/connman/iwd/0/3/4d4f544f52=
4f4c412d4645304431_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D MOTOROLA-FE0D1<br>=
=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D=
/net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added net.co=
nnman.iwd.Network} [/net/connman/iwd/0/3/4e4554474541525f455854_open]<br>=
=C2=A0 =C2=A0 =C2=A0 Name =3D NETGEAR_EXT<br>=C2=A0 =C2=A0 =C2=A0 Connected=
=3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=
=A0 =C2=A0 =C2=A0 Type =3D open<br>{Station} [/net/connman/iwd/0/3] Scannin=
g =3D False<br>{Station} [/net/connman/iwd/0/3] Scanning =3D True<br>{Remov=
ed net.connman.iwd.Network} [/net/connman/iwd/0/3/4e4554474541525f455854_op=
en]<br>{Removed net.connman.iwd.Network} [/net/connman/iwd/0/3/4d4f544f524f=
4c412d4645304431_psk]<br>{Removed net.connman.iwd.Network} [/net/connman/iw=
d/0/3/48414e4e4135_psk]<br>{Added net.connman.iwd.Network} [/net/connman/iw=
d/0/3/73706733_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D spg3<br>=C2=A0 =C2=A0 =
=C2=A0 Connected =3D True<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/i=
wd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>=C2=A0 =C2=A0 =C2=A0 KnownNe=
twork =3D /net/connman/iwd/73706733_psk<br>{Added net.connman.iwd.Network} =
[/net/connman/iwd/0/3/73706732_psk]<br>=C2=A0 =C2=A0 =C2=A0 Name =3D spg2<b=
r>=C2=A0 =C2=A0 =C2=A0 Connected =3D False<br>=C2=A0 =C2=A0 =C2=A0 Device =
=3D /net/connman/iwd/0/3<br>=C2=A0 =C2=A0 =C2=A0 Type =3D psk<br>{Added net=
.connman.iwd.Network} [/net/connman/iwd/0/3/4e4554474541523336_psk]<br>=C2=
=A0 =C2=A0 =C2=A0 Name =3D NETGEAR36<br>=C2=A0 =C2=A0 =C2=A0 Connected =3D =
False<br>=C2=A0 =C2=A0 =C2=A0 Device =3D /net/connman/iwd/0/3<br>=C2=A0 =C2=
=A0 =C2=A0 Type =3D psk<br>{Station} [/net/connman/iwd/0/3] Scanning =3D Fa=
lse<br>{Station} [/net/connman/iwd/0/3] State =3D connecting<br>{Station} [=
/net/connman/iwd/0/3] ConnectedNetwork =3D /net/connman/iwd/0/3/73706733_ps=
k<br>{Network} [/net/connman/iwd/0/3/73706733_psk] Connected =3D True<br>{S=
tation} [/net/connman/iwd/0/3] State =3D connected<br>{KnownNetwork} [/net/=
connman/iwd/73706733_psk] LastConnectedTime =3D 2020-09-28T01:10:45Z</div><=
div><br></div><div>The attached journal shows this for downing the radio wh=
en connman was controlling the network. It ignores it. My guess is there is=
some strange setting in Arch Linux which stops this from working when conn=
man is managing things. What more can I do to help? I see this same behavio=
r on my arm devices (RPis) and x86_64 full desktop installs. <br></div><div=
><br></div><div>Keith<br></div><div><br></div></div></div></blockquote><div=
>=C2=A0
<div>Daniel,</div><div><br></div><div>I woke up this morning and I think I =
get it now. I need to run monitor-iwd when I run networkd/dhcpcd and monito=
r-connman when connman is managing the connections. Well, with the same pro=
cess, this is the report from monitor-connman when connman is managing the =
interface (I am monitoring it over ssh by logging into the ethernet IP addr=
ess):</div><div><br></div><div># ./monitor-connman<br>{Service} [/net/connm=
an/service/wifi_b827eb52ccd0_73706732_managed_psk] Strength =3D 62<br>{Serv=
ice} [/net/connman/service/wifi_b827eb52ccd0_52756e65417564696f4150_managed=
_psk] Strength =3D 56<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_=
415454785a4951347761_managed_psk] Strength =3D 22<br>{Service} [/net/connma=
n/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk] Strength =3D 21=
<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_44617272656e333231_ma=
naged_psk] Strength =3D 15<br>{Service} [/net/connman/service/wifi_b827eb52=
ccd0_464249205375727665696c6c616e63652056616e_managed_psk] Strength =3D 15<=
br>{Service} [/net/connman/service/wifi_b827eb52ccd0_52756e65417564696f4150=
_managed_psk] Strength =3D 55<br>{Service} [/net/connman/service/wifi_b827e=
b52ccd0_41545458495849537069_managed_psk] Strength =3D 34<br>{Service} [/ne=
t/connman/service/wifi_b827eb52ccd0_486f757365537461726b3031_managed_psk] S=
trength =3D 19<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_456c4a6=
56665_managed_psk] Strength =3D 19<br>{Service} [/net/connman/service/wifi_=
b827eb52ccd0_4154546a435336706932_managed_psk] Strength =3D 19<br>{Service}=
[/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_managed_psk] St=
rength =3D 19<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4e455447=
4541523633_managed_psk] Strength =3D 20<br>{Service} [/net/connman/service/=
wifi_b827eb52ccd0_456476656e747572657333_managed_psk] Strength =3D 19<br>{S=
ervice} [/net/connman/service/wifi_b827eb52ccd0_44617272656e333231_managed_=
psk] Strength =3D 18<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4=
e4554474541523336_managed_psk] Strength =3D 15<br><b>{Service} [/net/connma=
n/service/wifi_b827eb52ccd0_73706733_managed_psk] State =3D association<br>=
{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Sta=
te =3D configuration<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_7=
3706733_managed_psk] Ethernet =3D { Method=3Dauto Interface=3Dwlan0 Address=
=3DB8:27:EB:52:CC:D0 MTU=3D1500 }<br>{Service} [/net/connman/service/wifi_b=
827eb52ccd0_73706733_managed_psk] Ethernet =3D { Method=3Dauto Interface=3D=
wlan0 Address=3DB8:27:EB:52:CC:D0 MTU=3D1500 }<br>{Service} [/net/connman/s=
ervice/wifi_b827eb52ccd0_73706733_managed_psk] Timeservers =3D [ ]<br>{Serv=
ice} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] State =
=3D ready<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_man=
aged_psk] Favorite =3D 1<br>{Service} [/net/connman/service/wifi_b827eb52cc=
d0_73706733_managed_psk] Domains =3D [ ]<br>{Service} [/net/connman/service=
/wifi_b827eb52ccd0_73706733_managed_psk] Proxy =3D { }<br>{Technology} [/ne=
t/connman/technology/wifi] Connected =3D 1</b><br><b>{Service} [/net/connma=
n/service/wifi_b827eb52ccd0_73706733_managed_psk] IPv6 =3D { Method=3Dauto =
Address=3D2600:1700:4320:6caf:ba27:ebff:fe52:ccd0 PrefixLength=3D64 Privacy=
=3Ddisabled }<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733=
_managed_psk] Domains =3D [ griders ]<br>{Service} [/net/connman/service/wi=
fi_b827eb52ccd0_73706733_managed_psk] Timeservers =3D [ ]<br>{Service} [/ne=
t/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] IPv4 =3D { Method=
=3Ddhcp Address=3D192.168.2.41 Netmask=3D255.255.255.0 }<br>{Service} [/net=
/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Nameservers =3D [ =
192.168.2.3 xxxx:xxxx:xxxx:xxxx:ba27:ebff:fe0b:9be6 ]<br>{Service} [/net/co=
nnman/service/wifi_b827eb52ccd0_73706733_managed_psk] Domains =3D [ ]<br>{S=
ervice} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Times=
ervers =3D [ ]<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_7370673=
3_managed_psk] Timeservers =3D [ ]<br>{Service} [/net/connman/service/wifi_=
b827eb52ccd0_73706733_managed_psk] State =3D disconnect<br>{Service} [/net/=
connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Domains =3D [ ]<br>=
{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Pro=
xy =3D { }<br>{Technology} [/net/connman/technology/wifi] Connected =3D 0</=
b><br><b>{Service} [/net/connman/service/wifi_b827eb52ccd0_73706733_managed=
_psk] Timeservers =3D [ ]<br>{Service} [/net/connman/service/wifi_b827eb52c=
cd0_73706733_managed_psk] Timeservers =3D [ ]<br>{Service} [/net/connman/se=
rvice/wifi_b827eb52ccd0_73706733_managed_psk] State =3D idle<br>{Service} [=
/net/connman/service/ethernet_b827eb079985_cable] IPv4 =3D { Method=3Ddhcp =
Address=3D192.168.2.193 Netmask=3D255.255.255.0 }<br>{Service} [/net/connma=
n/service/ethernet_b827eb079985_cable] IPv4 =3D { Method=3Ddhcp Address=3D1=
92.168.2.193 Netmask=3D255.255.255.0 Gateway=3D192.168.2.1 }<br>{Service} [=
/net/connman/service/wifi_b827eb52ccd0_73706733_managed_psk] Nameservers =
=3D [ ]</b><br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4154545849=
5849537069_managed_psk] Strength =3D 15<br>{Service} [/net/connman/service/=
wifi_b827eb52ccd0_41545458495849537069_managed_psk] Strength =3D 33<br>{Ser=
vice} [/net/connman/service/wifi_b827eb52ccd0_41545458495849537069_managed_=
psk] Strength =3D 37<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4=
e4554474541523938_managed_psk] Strength =3D 25<br>{Service} [/net/connman/s=
ervice/wifi_b827eb52ccd0_456c4a656665_managed_psk] Strength =3D 22<br>{Serv=
ice} [/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_managed_psk=
] Strength =3D 24<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4841=
4e4e41_managed_psk] Strength =3D 19<br>{Service} [/net/connman/service/wifi=
_b827eb52ccd0_415454654865544b4932_managed_psk] Strength =3D 15<br>{Service=
} [/net/connman/service/wifi_b827eb52ccd0_464249205375727665696c6c616e63652=
056616e_managed_psk] Strength =3D 17<br>{Service} [/net/connman/service/wif=
i_b827eb52ccd0_41545458495849537069_managed_psk] Strength =3D 33<br>{Servic=
e} [/net/connman/service/wifi_b827eb52ccd0_456476656e7475726573_managed_psk=
] Strength =3D 29<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4e45=
54474541523633_managed_psk] Strength =3D 21<br>{Service} [/net/connman/serv=
ice/wifi_b827eb52ccd0_456c4a656665_managed_psk] Strength =3D 20<br>{Service=
} [/net/connman/service/wifi_b827eb52ccd0_48414e4e41_managed_psk] Strength =
=3D 17<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_426964656e48617=
2726973_managed_psk] Strength =3D 17<br>{Service} [/net/connman/service/wif=
i_b827eb52ccd0_4e4554474541523336_managed_psk] Strength =3D 17<br>{Service}=
[/net/connman/service/wifi_b827eb52ccd0_415454654865544b4932_managed_psk] =
Strength =3D 19<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_415454=
785a4951347761_managed_psk] Strength =3D 19<br>{Service} [/net/connman/serv=
ice/wifi_b827eb52ccd0_4154546a435336706932_managed_psk] Strength =3D 16<br>=
{Service} [/net/connman/service/wifi_b827eb52ccd0_4e4554474541523938_manage=
d_psk] Strength =3D 18<br>{Service} [/net/connman/service/wifi_b827eb52ccd0=
_456476656e747572657333_managed_psk] Strength =3D 16<br>{Service} [/net/con=
nman/service/wifi_b827eb52ccd0_4d65617374657761_managed_psk] Strength =3D 1=
6<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_46424920537572766569=
6c6c616e63652056616e_managed_psk] Strength =3D 16<br>{Service} [/net/connma=
n/service/wifi_b827eb52ccd0_41545458495849537069_managed_psk] Strength =3D =
36<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_456476656e747572657=
3_managed_psk] Strength =3D 30<br>{Service} [/net/connman/service/wifi_b827=
eb52ccd0_48414e4e41_managed_psk] Strength =3D 20<br>{Service} [/net/connman=
/service/wifi_b827eb52ccd0_415454785a4951347761_managed_psk] Strength =3D 2=
3<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4e4554474541523633_m=
anaged_psk] Strength =3D 19<br>{Service} [/net/connman/service/wifi_b827eb5=
2ccd0_4154546a435336706932_managed_psk] Strength =3D 18<br>{Service} [/net/=
connman/service/wifi_b827eb52ccd0_456476656e747572657333_managed_psk] Stren=
gth =3D 19<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4e455447454=
1523336_managed_psk] Strength =3D 15<br>{Service} [/net/connman/service/wif=
i_b827eb52ccd0_4e4554474541523938_managed_psk] Strength =3D 17<br>{Service}=
[/net/connman/service/wifi_b827eb52ccd0_4d65617374657761_managed_psk] Stre=
ngth =3D 15<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_4e45544745=
41525f455854_managed_none] Strength =3D 13<br><b>{Service} [/net/connman/se=
rvice/wifi_b827eb52ccd0_73706733_managed_psk] Strength =3D 44</b><br>{Servi=
ce} [/net/connman/service/wifi_b827eb52ccd0_73706732_managed_psk] Strength =
=3D 59<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_415454584958495=
37069_managed_psk] Strength =3D 37<br>{Service} [/net/connman/service/wifi_=
b827eb52ccd0_4e4554474541523633_managed_psk] Strength =3D 21<br>{Service} [=
/net/connman/service/wifi_b827eb52ccd0_456476656e747572657333_managed_psk] =
Strength =3D 20<br>{Service} [/net/connman/service/wifi_b827eb52ccd0_464249=
205375727665696c6c616e63652056616e_managed_psk] Strength =3D 17</div>
</div><div>(while typing this I notice that it scanned again, sees the SSID=
, but does not initiate a connection...</div><div><br></div><div>I can see =
in the log when I use the connmanctl interface to connect to the SSID then =
I can see it disconnect, then that it scans and 'sees' it again, bu=
t it never re-connects even after it scans again. Looking at the difference=
between the monitor-* logs, it looks like connman, somehow does not recogn=
ize that it knows that network.</div><div><br></div><div>When I query connm=
an, it looks like it is supposed to autoconnect:</div><div>connmanctl> s=
ervices --properties wifi_b827eb52ccd0_73706733_managed_psk<br>/net/connman=
/service/wifi_b827eb52ccd0_73706733_managed_psk<br>=C2=A0 Type =3D wifi<br>=
=C2=A0 Security =3D [ psk ]<br>=C2=A0 State =3D idle<br>=C2=A0 Strength =3D=
45<br>=C2=A0 Favorite =3D True<br>=C2=A0 Immutable =3D False<br>=C2=A0 <b>=
AutoConnect =3D True</b><br>=C2=A0 Name =3D spg3<br>=C2=A0 Ethernet =3D [ M=
ethod=3Dauto ]<br>=C2=A0 IPv4 =3D [ =C2=A0]<br>=C2=A0 IPv4.Configuration =
=3D [ Method=3Ddhcp ]<br>=C2=A0 IPv6 =3D [ =C2=A0]<br>=C2=A0 IPv6.Configura=
tion =3D [ Method=3Dauto, Privacy=3Ddisabled ]<br>=C2=A0 Nameservers =3D [ =
=C2=A0]<br>=C2=A0 Nameservers.Configuration =3D [ =C2=A0]<br>=C2=A0 Timeser=
vers =3D [ =C2=A0]<br>=C2=A0 Timeservers.Configuration =3D [ =C2=A0]<br>=C2=
=A0 Domains =3D [ =C2=A0]<br>=C2=A0 Domains.Configuration =3D [ =C2=A0]<br>=
=C2=A0 Proxy =3D [ =C2=A0]<br>=C2=A0 Proxy.Configuration =3D [ =C2=A0]<br>=
=C2=A0 mDNS =3D False<br>=C2=A0 mDNS.Configuration =3D False<br>=C2=A0 Prov=
ider =3D [ =C2=A0]</div><div><br></div><div>The system:<br></div><div>Arch =
Linux aarch64 on an RPi, kernel 5.4.65-1-ARCH, iwd 1.9-1, connman 1.38-1<br=
></div><div>systemd 246.6-1-arch running in system mode. (+PAM +AUDIT -SELI=
NUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +A=
CL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default=
-hierarchy=3Dhybrid)</div><div><br></div><div>I get the same response on al=
l Arch Linux systems: armv6 armv7 and x86_64. Also, if I reboot with nothin=
g connected to the ethernet port, it will connect to the wifi SSID, but onl=
y at boot. If I connect the ethernet cable then ssh into it and type 'c=
onnmanctl scan wifi', the prompt does not return though the journalctl =
log shows that it did scan and that it did 'see' the SSID but it wi=
ll not connect. <br></div><div><br>Sep 28 10:28:09 gretarune connmand[211]:=
plugins/iwd.c:object_added() net.connman.iwd.Network /net/connman/iwd/0/3/=
73706733_psk<br>Sep 28 10:28:05 gretarune connmand[211]: plugins/iwd.c:stat=
ion_property_change() /net/connman/iwd/0/3 scanning 1</div><div><br></div><=
div>If I restart connman it does reconnect to the SSID (systemctl restart c=
onnman). I tried adding imd.service to the After=3D line in the connman.ser=
vice file and that made no change to the behavior.</div><div><br></div><div=
>My connman.service file:</div><div>[Unit]<br>Description=3DConnection serv=
ice<br>DefaultDependencies=3Dfalse<br>Conflicts=3Dshutdown.target<br>Requir=
esMountsFor=3D/var/lib/connman<br>After=3Ddbus.service network-pre.target s=
ystemd-sysusers.service<br>Before=3Dnetwork.target multi-user.target shutdo=
wn.target<br>Wants=3Dnetwork.target<br><br>[Service]<br>Type=3Ddbus<br>BusN=
ame=3Dnet.connman<br>Restart=3Don-failure<br>ExecStart=3D/usr/bin/connmand =
-n -d plugins/iwd.c<br>StandardOutput=3Dnull<br>CapabilityBoundingSet=3DCAP=
_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SYS_TIME CAP_SYS_MODULE CAP=
_SYS_ADMIN<br>ProtectHome=3Dtrue<br>ProtectSystem=3Dtrue<br><br>[Install]<b=
r>WantedBy=3Dmulti-user.target</div><div><br></div><div>Thanks for any help=
.</div><div><br></div><div>Keith<br></div></div></div>
--000000000000945d9005b05d5610--
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 59, Issue 30
***************************************