Page 1 of 1

Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 1:18 pm
by Tod
I have bought a new PC and have replaced Windows by installing MX-23.3_x64 "ahs" from a usb stick. It seems to be working fine, but unfortunately does not detect my wifi (which does work with MX Linux on my old computer). I can connect the new PC to the internet via an ethernet cable, so the wifi connection is the problem. I would be grateful for some help on how to get my wifi working. My system info is below.

Code: Select all

System:
  Kernel: 6.8.9-3-liquorix-amd64 [6.8-12~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-6.8.9-3-liquorix-amd64
    root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.3_ahs_x64 Libretto May 19  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Mini-pc Mobo: Trigkey model: S5 v: V1.0 serial: <superuser required> UEFI: American
    Megatrends LLC. v: 5800H507 date: 12/11/2023
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3 gen: 4
    level: v3 note: check built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80)
    stepping: 0 microcode: 0xA50000D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1094 high: 3208 min/max: 400/4463 scaling: driver: amd-pstate-epp
    governor: performance cores: 1: 3169 2: 400 3: 400 4: 400 5: 400 6: 400 7: 3169 8: 400 9: 400
    10: 400 11: 3168 12: 400 13: 3208 14: 400 15: 400 16: 400 bogomips: 102206
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: always-on; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series] driver: amdgpu v: kernel
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 04:00.0
    chip-ID: 1002:1638 class-ID: 0300 temp: 51.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: HP OMEN 24 serial: <filter> built: 2024
    res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: AMD Radeon Graphics (renoir LLVM 15.0.6 DRM
    3.57 6.8.9-3-liquorix-amd64) direct-render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.8.9-3-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: N/A modules: iwlwifi, wl pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:3 chip-ID: 8087:0029
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 2090 hci-v: 5.2 rev: 2090
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 931.51 GiB used: 6.49 GiB (0.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P3PSSD8 size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: P9CR40A temp: 38.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 50 GiB size: 48.91 GiB (97.83%) used: 6.37 GiB (13.0%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 288 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 873.01 GiB size: 858.23 GiB (98.31%) used: 124.9 MiB (0.0%) fs: ext4
    dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
    maj-min: 259:3
Sensors:
  System Temperatures: cpu: 55.5 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2115 libs: 1052 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bookworm main non-free
    2: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bookworm ahs
Info:
  Processes: 382 Uptime: 16m wakeups: 1 Memory: 28.32 GiB used: 1.7 GiB (6.0%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 2:05 pm
by j2mcgreg
What is the make and model of your WiFi router? I'm asking this because of this dialogue:
https://community.intel.com/t5/Wireless ... -p/1577809

The gist is that card should connect fine if it is accessing a WiFi 4 (A/C) network but will fail with WiFi 6 in Linux systems. I'd like to download the router's manual to see if it has the capability to broadcast in A/C only which should force your card to use that protocol as well (and then tell you how to make that adjustment.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 2:10 pm
by CharlesV
I would think that no driver is the issue.

Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: N/A modules: iwlwifi, wl pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280


You might want to have a look at this thread.. start here .. and work down. If it is still an issue, then work back up a little.

viewtopic.php?p=757125#p757125

Re: Installed MX on new pc but wifi not connecting  [Solved]

Posted: Mon Jun 24, 2024 3:00 pm
by Stevo
CharlesV wrote: Mon Jun 24, 2024 2:10 pm I would think that no driver is the issue.

Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: N/A modules: iwlwifi, wl pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280


You might want to have a look at this thread.. start here .. and work down. If it is still an issue, then work back up a little.

viewtopic.php?p=757125#p757125
Yeah, my laptop has the same chip, but it's loading the driver:

Code: Select all

 Device-2: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer driver: iwlwifi v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlan0 state: up mac: <filter>

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 3:31 pm
by Tod
Stevo, did you make any changes after installing MX Linux, or did the driver work straight away?

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 3:40 pm
by Tod
j2mcgreg wrote: Mon Jun 24, 2024 2:05 pm What is the make and model of your WiFi router? I'm asking this because of this dialogue:
https://community.intel.com/t5/Wireless ... -p/1577809

The gist is that card should connect fine if it is accessing a WiFi 4 (A/C) network but will fail with WiFi 6 in Linux systems. I'd like to download the router's manual to see if it has the capability to broadcast in A/C only which should force your card to use that protocol as well (and then tell you how to make that adjustment.
My router is Vodafone 11CC61, thanks.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 6:10 pm
by Tod
CharlesV wrote: Mon Jun 24, 2024 2:10 pm I would think that no driver is the issue.

Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: N/A modules: iwlwifi, wl pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280


You might want to have a look at this thread.. start here .. and work down. If it is still an issue, then work back up a little.

viewtopic.php?p=757125#p757125
Thanks for the link. I have tried everything that applied, but with no joy. I did download the driver from the Intel site as there was none with the right name in /lib/firmware. However, the wifi is still not working, so any further suggestions would be gratefully received.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 7:01 pm
by j2mcgreg
I notice that you are using a Liquorix 6.8.xxx kernel. Try the 6.6.12-1 instead which is known to solve a lot of wifi problems. Because it's a slightly older kernel, you will have to use Boot Options in MX Tools to set it as the default and then reboot.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 7:24 pm
by siamhie
Did you ever start the device with Windows installed? It's possible fast boot has locked that device.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 7:46 pm
by Tod
siamhie wrote: Mon Jun 24, 2024 7:24 pm Did you ever start the device with Windows installed? It's possible fast boot has locked that device.
Yes, I started the pc in Windows before installing Linux. I then used a usb iso to create the GPT partitions and disabled Fast Boot and Secure Boot and installed Linux. Is there any way I can check if this has happened and fix it?

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 8:04 pm
by Tod
j2mcgreg wrote: Mon Jun 24, 2024 7:01 pm I notice that you are using a Liquorix 6.8.xxx kernel. Try the 6.6.12-1 instead which is known to solve a lot of wifi problems. Because it's a slightly older kernel, you will have to use Boot Options in MX Tools to set it as the default and then reboot.
I have moved to the 6.6.12-1 version, but unfortunately the wifi is still not showing up.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 8:07 pm
by siamhie
Tod wrote: Mon Jun 24, 2024 7:46 pm
siamhie wrote: Mon Jun 24, 2024 7:24 pm Did you ever start the device with Windows installed? It's possible fast boot has locked that device.
Yes, I started the pc in Windows before installing Linux. I then used a usb iso to create the GPT partitions and disabled Fast Boot and Secure Boot and installed Linux. Is there any way I can check if this has happened and fix it?

Not sure but you can try turning the device off and unplugging it's power source, then plug back in. Maybe also try rebooting several times.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 8:10 pm
by j2mcgreg
There's enough evidence available on the internet that the Intel Wi-Fi 6 AX200 is a problem card in both Windows and Linux that you might consider returning the unit as defective, You could point out that even the fix suggested by Intel doesn't work.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 8:26 pm
by CharlesV
You have loaded this driver from intel?
iwlwifi-cc-46.3cfab8da.0.tgz

if the modprobe reconfigure didnt work, then the next place I would head is to the very latest linux-firmware... but yes j2mcgreg is correct there are a lot of reports of issues with that controller.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 9:30 pm
by Tod
CharlesV wrote: Mon Jun 24, 2024 8:26 pm You have loaded this driver from intel?
iwlwifi-cc-46.3cfab8da.0.tgz

if the modprobe reconfigure didnt work, then the next place I would head is to the very latest linux-firmware... but yes j2mcgreg is correct there are a lot of reports of issues with that controller.
Yes, I have downloaded the driver from Intel and put it in /lib/firmware. It is not linking it with the device. I found the following error message in the log:

$ dmesg | grep iwlwifi
dmesg: read kernel buffer failed: Operation not permitted

So it looks like it may be something to do with iwlwifi not having the right permissions to read the kernel buffer (which I don't understand how to fix).

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 10:34 pm
by kmathern
Tod wrote: Mon Jun 24, 2024 9:30 pm

Code: Select all

$ dmesg | grep iwlwifi
dmesg: read kernel buffer failed: Operation not permitted
So it looks like it may be something to do with iwlwifi not having the right permissions to read the kernel buffer (which I don't understand how to fix).
You need to run dmesg with sudo

Code: Select all

sudo dmesg | grep iwlwifi

Or maybe this

Code: Select all

sudo dmesg | grep iwlwifi | grep firmware

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 10:39 pm
by Tod
siamhie wrote: Mon Jun 24, 2024 8:07 pm
Tod wrote: Mon Jun 24, 2024 7:46 pm
siamhie wrote: Mon Jun 24, 2024 7:24 pm Did you ever start the device with Windows installed? It's possible fast boot has locked that device.
Yes, I started the pc in Windows before installing Linux. I then used a usb iso to create the GPT partitions and disabled Fast Boot and Secure Boot and installed Linux. Is there any way I can check if this has happened and fix it?

Not sure but you can try turning the device off and unplugging it's power source, then plug back in. Maybe also try rebooting several times.
Many thanks for this suggestion. Turning off my pc at the wall solved the problem and the wifi is now working! I did not realise that Windows could leave parts locked if I only rebooted.

And many thanks to all others who contributed suggestions.

Re: Installed MX on new pc but wifi not connecting

Posted: Mon Jun 24, 2024 10:42 pm
by CharlesV
Very nice! Happy to hear that fixed it !

And yes, long as the bits have juice, windows can affect it after running.

Re: Installed MX on new pc but wifi not connecting

Posted: Tue Jun 25, 2024 2:00 am
by Stevo
Tod wrote: Mon Jun 24, 2024 3:31 pm Stevo, did you make any changes after installing MX Linux, or did the driver work straight away?
It's "just worked" to connect anyplace I take it.

Re: Installed MX on new pc but wifi not connecting

Posted: Tue Jun 25, 2024 2:22 pm
by Stevo
CharlesV wrote: Mon Jun 24, 2024 10:42 pm Very nice! Happy to hear that fixed it !

And yes, long as the bits have juice, windows can affect it after running.
Windows still spits at thee from Hell's heart, apparently....

Re: Installed MX on new pc but wifi not connecting

Posted: Wed Jun 26, 2024 1:07 am
by CharlesV
Stevo wrote: Tue Jun 25, 2024 2:22 pm
CharlesV wrote: Mon Jun 24, 2024 10:42 pm Very nice! Happy to hear that fixed it !

And yes, long as the bits have juice, windows can affect it after running.
Windows still spits at thee from Hell's heart, apparently....
lol... And trying to do far more than just spit it seems... :-)