Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AX200 WiFi not recognized on NixOS #130280

Closed
stefanDeveloper opened this issue Jul 15, 2021 · 1 comment
Closed

AX200 WiFi not recognized on NixOS #130280

stefanDeveloper opened this issue Jul 15, 2021 · 1 comment

Comments

@stefanDeveloper
Copy link

Describe the bug
Currently I'm trying to set up my Intel WiFi AX200. However, I run into the problem that iwlwifi doesn't find it although Intel firmware is provided by the Linux kernel.

lsmod | grep iwl
iwlmvm                380928  0
mac80211              819200  1 iwlmvm
led_class              20480  4 snd_hda_codec_generic,input_leds,iwlmvm,thinkpad_acpi
iwlwifi               348160  1 iwlmvm
cfg80211              831488  3 iwlmvm,iwlwifi,mac80211

$ lspci | grep AX doesn't output anything.

$ dmesg | grep iwlwifi doesn't output anything.

$ rfkill
ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 1 wwan      tpacpi_wwan_sw        blocked unblocked
 3 bluetooth hci0                unblocked unblocked

I'm not sure if I oversee something in my configuration or if this is general bug. I also checked the other issue #93452, but that didn't help me either.

To Reproduce
Steps to reproduce the behavior:

1. Install AX200 card
2. rfkill -> check that there is no wireless interface or whatsoever

Expected behavior
For wifi to work

Notify maintainers

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.10.48, NixOS, 21.05.1493.1f4e50f03c5 (Okapi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.12
  • channels(root): "nixos-21.05.1493.1f4e50f03c5, nixos-hardware"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

Additionally, I added my configuration.

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      <nixos-hardware/lenovo/thinkpad/t14/amd/gen1>
      ./hardware-configuration.nix
    ];
  
  nixpkgs.config.allowUnfree = true;
  # Use the systemd-boot EFI boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;
  boot.kernelModules = [ "iwlwifi" "iwlmvm "]; 
  boot.extraModprobeConfig = ''
    options bt_coex_active=0 swcrypto=1 11n_disable=8
  '';
  hardware.enableAllFirmware = true;
  hardware.enableRedistributableFirmware = true;
  hardware.firmware = with pkgs; [ 
    wireless-regdb 
  ];

  networking.hostName = "nixos"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
  networking.networkmanager.enable = true;

@stefanDeveloper stefanDeveloper changed the title AX200 not recognized AX200 WiFi not recognized on NIxOS Jul 15, 2021
@stefanDeveloper stefanDeveloper changed the title AX200 WiFi not recognized on NIxOS AX200 WiFi not recognized on NixOS Jul 15, 2021
@stefanDeveloper
Copy link
Author

Oke, I found out what my actual problem was:

After checking my network controller, it turned out that I have an Realtek Semiconductor Co. Ltd Device 8852. By the help of this I had to include rtw89 as following in my configuration:

boot.extraModulePackages = [config.boot.kernelPackages.rtw89];

However, this nixospkgs is still unstable, and therefore you have to update your channel to unstable.
Regarding the issue, I'll close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants