You are not logged in.

#1 2020-02-24 10:48:04

DrFrankenstein
Member
Registered: 2015-06-30
Posts: 6

connman + iwd, connman disables autoconnect after recent update

Hello,

since the last connman update my wifi does not automatically connect anymore. I use iwd for wifi and I found out that in the files in /var/lib/iwd the AutoConnect property is set to false for every network every time connman is started. That is really annoying and I only got it to stop by disabling connman, which is also bad because then only wifi works. Does anyone else have that problem and knows how to fix it?

To clarify at the end of each file in /var/lib/iwd, there is a section like this

...

[Settings]
AutoConnect=true

after running

# systemctl start connman

is says

...

[Settings]
AutoConnect=false

and I have to change it back after stopping connman or run

[iwd]# station wlan0 known-networks <network> set-property AutoConnect true

Here is my connman config:

# /etc/connman/main.conf
[General]
DefaultAutoConnectTechnologies = ethernet,wifi
PreferredTechnologies = ethernet,wifi
NetworkInterfaceBlacklist = wwp0s20u4i6
AllowHostnameUpdates = false

Last edited by DrFrankenstein (2020-02-24 10:48:28)

Offline

#2 2020-02-24 13:42:09

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 337

Re: connman + iwd, connman disables autoconnect after recent update

Why not just ditch connman?

Setup IWD to auto connect using its internal dhcp client, and also install dhcpcd.

Then, if you need to use a wired connection just stop iwd and use dhcpcd to connect.

Offline

#3 2020-02-25 15:39:49

DrFrankenstein
Member
Registered: 2015-06-30
Posts: 6

Re: connman + iwd, connman disables autoconnect after recent update

I have thought about diction connman, but I also use connman-vpn and manually starting a dhcp client on a wired connection doesn't sound great. The whole point of using connman is that I do not have to become root to do everyday networking. So that's not the kind of solution I'm looking for.

Offline

#4 2020-02-25 23:42:40

b3n10
Member
Registered: 2018-11-03
Posts: 13

Re: connman + iwd, connman disables autoconnect after recent update

this also happened to me and downgrading connman to previous version (1.37-2) fixes the problem.

$ sudo pacman -U https://archive.archlinux.org/packages/ … pkg.tar.xz
$ sudo pacman -Q connman
connman 1.37-2

Then removed my WiFi network and re-connected using iwctl:

$ sudo rm /var/lib/iwd/MyWiFi.psk
$ iwctl station wlan0 connect-hidden MyWiFi

Reboot and works fine. smile

Offline

Board footer

Powered by FluxBB