Skip to contentSkip to conversation

Connected network only shown after iwd restart

DISCUSSION Toke Høiland-Jørgensen 2 participants 3 messages Feb 4, 2020 – Feb 7, 2020

lore
Share & tools
lore
#0 lore raw

Hi

I'm having some trouble with getting iwctl to show which network is currently connected. If I leave iwctl running while I start (or restart) iwd, everything is fine:

[iwd]# station wlan0 show
Station: wlan0
--------------------------------------------------------------------------------
Settable Property Value
--------------------------------------------------------------------------------

            Scanning            no
            State               connected
            Connected network   myssid

But if I start iwctl after iwd (or, I suspect, after the network is connected?), e.g. from the command line, I just get this:

$ iwctl station wlan0 show
                                 Station: wlan0                                
--------------------------------------------------------------------------------
  Settable  Property            Value                                          
--------------------------------------------------------------------------------
            Scanning            no
            State               connected

Is this a bug, or am I doing something wrong when using iwctl?

-Toke

#1 lore raw

Hi Toke,

-----Original Message-----
From: Toke Høiland-Jørgensen <[email protected]>
Date: Tuesday, February 4, 2020 at 7:36 AM
To: "iwd(a)lists.01.org" <[email protected]>
Subject: Connected network only shown after iwd restart

    $ iwctl station wlan0 show
                                     Station: wlan0                                
    --------------------------------------------------------------------------------
      Settable  Property            Value                                          
    --------------------------------------------------------------------------------
                Scanning            no
                State               connected

Is this a bug, or am I doing something wrong when using iwctl?

Indeed, this was a bug and it should now be fixed upstream.

Thanks for the report.

Regards,
Tim

#2 lore raw
Quoted 18 lines · Tim A

Hi Toke,

-----Original Message-----
From: Toke Høiland-Jørgensen <[email protected]>
Date: Tuesday, February 4, 2020 at 7:36 AM
To: "iwd(a)lists.01.org" <[email protected]>
Subject: Connected network only shown after iwd restart

    $ iwctl station wlan0 show
                                     Station: wlan0                                
    --------------------------------------------------------------------------------
      Settable  Property            Value                                          
    --------------------------------------------------------------------------------
                Scanning            no
                State               connected
Quoted 5 lines

Is this a bug, or am I doing something wrong when using iwctl?

Indeed, this was a bug and it should now be fixed upstream.

Thanks for the report.

Yup, can confirm that this now works as expected in current git head. Thank you for the quick fix! :)

-Toke