Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Connman/wifi: cannot connect after installation. (Read 317 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Connman/wifi: cannot connect after installation.

Long story short:
I have a laptop with a very recent Intel wifi chipset.
lspci says this about the wifi chip:
0000:3b:00.0 Network controller: Intel Corporation Wi-Fi 7(802.11be) AX1775*/AX1790*/BE20*/BE401/BE1750* 2x2 (rev 1a)

Tried to install at first using the regular boot image with xfce, but it did not see my wifi adapter at all. I decided instead to use the weekly image (2024-08-12) and while booted from it, connman had no issue using the wifi. So I installed using that image.

After rebooting, I an not able to use the wifi. After enabling wifi in connman, it shows nothing in the list of access points.
These are the modules loaded:
lsmod | grep iwl
iwlmvm                749568  0
mac80211             1609728  1 iwlmvm
ptp                    45056  1 iwlmvm
iwlwifi               593920  1 iwlmvm
cfg80211             1372160  3 iwlmvm,iwlwifi,mac80211
rfkill                 40960  4 iwlmvm,bluetooth,cfg80211

And "ifconfig -a" says this about wifi:
wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 90:65:84:ba:a1:9e  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


I tried a couple other things, with the results below:
[host user]# connmanctl agent on
Error: Not supported in non-interactive mode
[host user]# connmanctl scan wifi
Error /net/connman/technology/wifi: Not supported

(edited, my hostname is not "host" and my username is not "user")

So I'm out of ideas. It worked when booted from the install image, but it doesn't work from the installed system. BTW I'm connected through wired ethernet to post this.



Re: Connman/wifi: cannot connect after installation.

Reply #1
Ah. I found the problem.
wpa_supplicant was not installed. I installed it, rebooted and now it works.
Sorry for wasting your time. Solved.


Re: Connman/wifi: cannot connect after installation.

Reply #3
wpa_supplicant was not installed.
Nice catch, but which XFCE ISO was you used? It's supposed to be installed by default.

Because of the reasons I stated above (the default xfce4 iso from 2023-08-13 does not contain the firmware for my wifi adapter) I used the weekly iso dated 2024-08-12. And with that one, wpa_supplicant was not installed by default. Using the older iso (which I did to install on other computers) it is indeed installed as it should.
So to sum it up:
2023-08-13: wpa_supplicant gets installed, but couldn't use it on this particular machine due to it missing firmware for wifi
2024-08-12: has the necessary firmware to connect to wifi during installation, but wpa_supplicant doesn't get installed