#977780 connman: wifi stopped working with net.connman.Error.NoCarrier

Package:
connman
Source:
connman
Description:
Intel Connection Manager daemon
Submitter:
"Francesco Poli (wintermute)"
Date:
2023-01-24 20:42:04 UTC
Severity:
important
#977780#5
Date:
2020-12-20 18:38:52 UTC
From:
To:
Hello and thanks for maintaining this package in Debian!

I've just installed it, in order to give it a try.
It seemed to work like a charm, with connman-gtk GUI: I was able
to connect with the Ethernet LAN, disconnect from it, connect with
the Wireless LAN, disconnect from it, and all looked right.
I rebooted and all looked OK again.

Then, after one more reboot, I suddenly became unable to connect
to the Wireless LAN, getting the following error in a dialog window:

  Failed to toggle connection state.

  GDBus.Error:net.connman.Error.NoCarrier: No carrier

I really cannot understand what's going on.

It seems to me that the WiFi network card is still visible:

  $ /sbin/ifconfig
  [...]
  wlan0: flags=-28669<UP,BROADCAST,MULTICAST,DYNAMIC>  mtu 1500
        ether 20:68:9d:72:70:cc  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Where did I go wrong?
Please help me!

Thanks for your time.

#977780#10
Date:
2020-12-21 23:02:21 UTC
From:
To:
On Sun, 20 Dec 2020 19:38:52 +0100 Francesco Poli (wintermute) wrote:

[...]

Now I understand even less...

I performed some more tests today.
At first I had the same issue again for a while, but then I did the
following: I selected my Wireless LAN (in the connman-gtk GUI), clicked
on the button with the little gear to see its settings, went to the
"Clear settings" tab and clicked on the "Reset" button, in order to set
all properties to defaults.

Guess what?
The issue disappeared and I was able to connect to my Wireless LAN
again (without even having to re-enter my password, which was
remembered, despite the reset!). And then disconnect. And then connect
again.
Even after a reboot.
Everything seems back to normal now.

But I have no idea why.

Unfortunately, I didn't make a copy of the wireless network
configuration file, before resetting its properties.
Hence, I am not sure what changed because of the reset.

Do you happen to know what may have happened?

#977780#15
Date:
2022-04-05 06:14:20 UTC
From:
To:
Надіслано з мого мобільного пристрою Huawei
#977780#20
Date:
2023-01-24 20:32:38 UTC
From:
To:
Dear Maintainer,

I have been able to reproduce this issue in a more restricted manner and get an
output from syslog.

I am able to reproduce this issue with the error described in other emails and
subject to this bug report (as seen in connman-gtk). This error in my case
happens in case I attempt to connect to a hotspot created from my phone. This did
not happen in my case with earlier versions of the connman package.

Attached is a snippet taken from syslog when I attempt to connect to the hotspot enabled
from my phone, and conman fails. After the error, connman deflects to the SSID
for which has valid configs (SSID 'shrimp' in the below snippets).

Cheers,