lwfinger / rtw89

Driver for Realtek 8852AE, an 802.11ax device
GNU General Public License v2.0
1.28k stars 163 forks source link

Network connection activation issue in Ubuntu 24.04 LTS #363

Open Narsimha96 opened 2 months ago

Narsimha96 commented 2 months ago

I have successfully installed the drivers from this repository, but I'm unable to connect to a network. Error: Activation of Network connection failed.

Dmesg Logs:

desktop:~$ sudo dmesg | grep rtw
[    3.601736] rtw89core: loading out-of-tree module taints kernel.
[    3.601739] rtw89core: module verification failed: signature and/or required key missing - tainting kernel
[    3.639245] rtw89_8851be: disagrees about version of symbol rtw89_pci_fill_txaddr_info
[    3.639247] rtw89_8851be: Unknown symbol rtw89_pci_fill_txaddr_info (err -22)
[    3.639251] rtw89_8851be: disagrees about version of symbol rtw89_pci_recognize_intrs
[    3.639251] rtw89_8851be: Unknown symbol rtw89_pci_recognize_intrs (err -22)
[    3.639253] rtw89_8851be: disagrees about version of symbol rtw8851b_chip_info
[    3.639254] rtw89_8851be: Unknown symbol rtw8851b_chip_info (err -22)
[    3.639255] rtw89_8851be: disagrees about version of symbol rtw89_pci_config_intr_mask
[    3.639255] rtw89_8851be: Unknown symbol rtw89_pci_config_intr_mask (err -22)
[    3.639256] rtw89_8851be: disagrees about version of symbol rtw89_pci_ltr_set
[    3.639257] rtw89_8851be: Unknown symbol rtw89_pci_ltr_set (err -22)
[    3.639259] rtw89_8851be: disagrees about version of symbol rtw89_pci_gen_ax
[    3.639260] rtw89_8851be: Unknown symbol rtw89_pci_gen_ax (err -22)
[    3.639261] rtw89_8851be: disagrees about version of symbol rtw89_pci_enable_intr
[    3.639262] rtw89_8851be: Unknown symbol rtw89_pci_enable_intr (err -22)
[    3.639264] rtw89_8851be: disagrees about version of symbol rtw89_pci_disable_intr
[    3.639265] rtw89_8851be: Unknown symbol rtw89_pci_disable_intr (err -22)
[    3.660159] rtw89_8851be 0000:07:00.0: loaded firmware rtw89/rtw8851b_fw.bin
[    3.660222] rtw89_8851be 0000:07:00.0: enabling device (0000 -> 0003)
[    3.661331] rtw89_8851be 0000:07:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 5
[    3.661333] rtw89_8851be 0000:07:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 3
[    3.987166] rtw89_8851be 0000:07:00.0: chip rfe_type is 2
[    4.038424] rtw89_8851be 0000:07:00.0 wlp7s0: renamed from wlan0

ip link show:

desktop:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether cc:28:aa:11:51:aa brd ff:ff:ff:ff:ff:ff
    altname enp6s0
3: wlp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
    link/ether e8:65:38:7a:02:61 brd ff:ff:ff:ff:ff:ff
4: enxc6524f9d038f: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether c6:52:4f:9d:03:8f brd ff:ff:ff:ff:ff:ff

journalctl -xe NM_CONNECTION=8887a854-65bc-4410-8fb5-09c700dfbe64 + NM_DEVICE=wlp7s0

Sep 09 09:44:19 lnr-desktop NetworkManager[1104]: <info>  [1725893059.3328] device (wlp7s0): Activation: (wifi) connection 'Hawks' has security, and secrets exist. >
Sep 09 09:44:22 lnr-desktop NetworkManager[1104]: <info>  [1725893062.4503] device (wlp7s0): supplicant interface state: disconnected -> scanning
Sep 09 09:44:25 lnr-desktop NetworkManager[1104]: <info>  [1725893065.8042] device (wlp7s0): supplicant interface state: scanning -> authenticating
Sep 09 09:44:25 lnr-desktop NetworkManager[1104]: <info>  [1725893065.9580] device (wlp7s0): supplicant interface state: authenticating -> disconnected
Sep 09 09:44:36 lnr-desktop NetworkManager[1104]: <info>  [1725893076.0662] device (wlp7s0): supplicant interface state: disconnected -> scanning
Sep 09 09:44:36 lnr-desktop NetworkManager[1104]: <info>  [1725893076.3298] device (wlp7s0): supplicant interface state: scanning -> authenticating
Sep 09 09:44:36 lnr-desktop NetworkManager[1104]: <info>  [1725893076.4910] device (wlp7s0): supplicant interface state: authenticating -> disconnected
Sep 09 09:44:44 lnr-desktop NetworkManager[1104]: <warn>  [1725893084.0967] device (wlp7s0): Activation: (wifi) association took too long, failing activation
Sep 09 09:44:44 lnr-desktop NetworkManager[1104]: <info>  [1725893084.0968] device (wlp7s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-stat>
Sep 09 09:44:44 lnr-desktop NetworkManager[1104]: <warn>  [1725893084.0976] device (wlp7s0): Activation: failed for connection 'Hawks'
Sep 09 09:44:44 lnr-desktop NetworkManager[1104]: <info>  [1725893084.0978] device (wlp7s0): state change: failed -> disconnected (reason 'none', sys-iface-state: '>
Sep 09 09:44:47 lnr-desktop NetworkManager[1104]: <info>  [1725893087.4943] device (wlp7s0): supplicant interface state: disconnected -> inactive
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.0995] device (wlp7s0): Activation: starting connection 'Hawks' (8a20c5a5-3a2b-4265-887d-3ac99c>
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.0997] device (wlp7s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: >
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1003] device (wlp7s0): state change: prepare -> config (reason 'none', sys-iface-state: 'manag>
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1007] device (wlp7s0): Activation: (wifi) access point 'Hawks' has security, but secrets are r>
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1007] device (wlp7s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'man>
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1010] sup-iface[c70109f1f811e1d6,0,wlp7s0]: wps: type pbc start...
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1029] device (wlp7s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'ma>
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1034] device (wlp7s0): state change: prepare -> config (reason 'none', sys-iface-state: 'manag>
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.1038] device (wlp7s0): Activation: (wifi) connection 'Hawks' has security, and secrets exist. >
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.3148] device (wlp7s0): supplicant interface state: inactive -> authenticating
Sep 09 09:45:09 lnr-desktop NetworkManager[1104]: <info>  [1725893109.4719] device (wlp7s0): supplicant interface state: authenticating -> disconnected
lines 193-215/215 (END)

I tried switching MAC randomization off. Switching off power control for wifi card. Nothing works. Any advice is greatly appreciated. Thanks for your time.

pankaj512 commented 2 months ago

I was facing same issue in 24.04 LTS, WiFi was not getting connected. My kernel version was 6.8.0. I updated the kernel to 6.9.0 and it worked.

I used utility sudo apt install -y mainline to install the kernel. Thanks