Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Cannot connect to 5Ghz wireless network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 9

PostPosted: Sat Dec 18, 2021 4:48 am    Post subject: [SOLVED] Cannot connect to 5Ghz wireless network Reply with quote

My Intel Corporation Comet Lake PCH-LP CNVi WiFi network card also doesn't connect to my 5GHz network, however, it works fine in other distros, for example on Arch Linux. I still haven't found a solution.

Split from iwlwifi keeps disconnecting with Reason: 3=DEAUTH_LEAVING to create a new topic so it gets more exposure -- NeddySeagoon


Last edited by mauricio.historia on Sun Dec 19, 2021 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3875

PostPosted: Sat Dec 18, 2021 11:33 am    Post subject: Reply with quote

It uses the "iwlwifi" module.
Plz see
https://wiki.gentoo.org/wiki/Iwlwifi
to configure your kernel.
You ABSOLUTELY need
linux-firmware
installed also.
You need
Code:

CONFIG_IWLWIFI CONFIG_WLAN CONFIG_WLAN_VENDOR_INTEL

and better a kernel from 5.7 to 5.12
according to
https://linux-hardware.org/index.php?id=pci:8086-02f0-8086-02a4
but maybe its outdated.
_________________
:)
Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 9

PostPosted: Sat Dec 18, 2021 9:33 pm    Post subject: Reply with quote

alamahant wrote:
It uses the "iwlwifi" module.
Plz see
https://wiki.gentoo.org/wiki/Iwlwifi
to configure your kernel.
You ABSOLUTELY need
linux-firmware
installed also.
You need
Code:

CONFIG_IWLWIFI CONFIG_WLAN CONFIG_WLAN_VENDOR_INTEL

and better a kernel from 5.7 to 5.12
according to
https://linux-hardware.org/index.php?id=pci:8086-02f0-8086-02a4
but maybe its outdated.


I had already followed these procedures:

CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_INTEL=y
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEVICE_TRACING=y

The problem persists. I've tried testing with other managers with iwd or wpa_supplicant, but openrc doesn't start these services. I've been doing this for 2 days on a stable branch :roll: ...I give up. I'm going to try Funtoo. Thanks.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3875

PostPosted: Sat Dec 18, 2021 10:01 pm    Post subject: Reply with quote

Quote:

I give up. I'm going to try Funtoo.

Did you try with
gentoo-kernel-bin
?
Better try that before switching to funtoo.
_________________
:)
Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 9

PostPosted: Sat Dec 18, 2021 11:24 pm    Post subject: Reply with quote

alamahant wrote:
Quote:

I give up. I'm going to try Funtoo.

Did you try with
gentoo-kernel-bin
?
Better try that before switching to funtoo.


Yes, I tried it with gentoo-kernel-bin, but the problem persists. I suspect it's something NetworkManager related. The 5G network appears, but when I select it networkmanager it displays "configuring interface" and ends with "network not found" The 2Ghz network works as normal. Unfortunately I couldn't test with iwd or wpa_supplicant.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3875

PostPosted: Sat Dec 18, 2021 11:31 pm    Post subject: Reply with quote

Find your wifi connection
Code:

nmcli con show
nmcli con mod <name-of-wifi-con> wifi-sec.pmf optional

Does it help?
NOTE if there is no wifi connection plz create it manually
Code:

nmcli con add con-name <give-a-name> ifname <wifi-iface-name> type wifi ssid <ssid-name> ###### if static ip needed then   ip4 192.168.100.101/24 gw4 192.168.100.1
#### if static ip needed then also nmcli con mod <con-name> ipv4.dns 8.8.8.8 ipv4.method manual
nmcli con modify <con-name> wifi-sec.key-mgmt wpa-psk
nmcli con modify <con-name > wifi-sec.psk <ssid-password>


_________________
:)
Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 9

PostPosted: Sun Dec 19, 2021 12:27 am    Post subject: Reply with quote

alamahant wrote:
Find your wifi connection
Code:

nmcli con show
nmcli con mod <name-of-wifi-con> wifi-sec.pmf optional

Does it help?
NOTE if there is no wifi connection plz create it manually
Code:

nmcli con add con-name <give-a-name> ifname <wifi-iface-name> type wifi ssid <ssid-name> ###### if static ip needed then   ip4 192.168.100.101/24 gw4 192.168.100.1
#### if static ip needed then also nmcli con mod <con-name> ipv4.dns 8.8.8.8 ipv4.method manual
nmcli con modify <con-name> wifi-sec.key-mgmt wpa-psk
nmcli con modify <con-name > wifi-sec.psk <ssid-password>



I deleted all stored connections and tried to reconnect with the command:
nmcli device wifi connect <MYSSID> --ask

I entered the password and it didn't work. System reports: Error: Activation of connection failed: (53) Cannot find Wi-Fi network.
Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 9

PostPosted: Sun Dec 19, 2021 1:39 am    Post subject: [SOLVED] Does not connect to 5Ghz wireless network Reply with quote

My suspicions were correct. This problem is somewhere in NetworkManager. I used Connman and success! Connected to my 5Ghz network. :D

PS* networkmanager version 1.32.12.

Thanks for the encouragement alamahant :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum