Killer AX1650 in Debian/Ubuntu 16.04+

很多笔记本例如Alienware,官方没有提供能够适配Ubuntu系统的的相关硬件驱动如灯光、无线网卡驱动等。但是,既然是笔记本,就不可能一直使用有线网,因此本篇我们将介绍能够适配 Alienware M17 R2Killer AX1650无线网卡驱动。

本指南包含有关如何安装有效的Iwlwifi驱动程序的一些选项。 我们已经确认,下列这些安装选项可在Ubuntu 16.04 / 18.04 / 19.04中使AX1650无线网卡恢复无线连接。

如果您尝试在其上安装WI-FI驱动程序的设备根本无法访问Internet,可通过有线网下载安装相关无线网卡驱动程序,或者参考这篇文章

There are three primary ways to solve the problem:

  • Linux Kernel 5.1 or Linux Kernel 5.3
    Use the Intel Wi-Fi 6 AX200 160MHz Firmware while running Linux Kernel 5.1 or 5.3. This will require you to install and use the newer Linux Kernel and copy the Firmware files into your ‘/lib/firmware/‘ folder. You might be able to install a newer Release of your chosen Linux also. For example, Ubuntu 19.10 should work immediately as it installs with Linux Kernel 5.3 and the necessary Firmware.

    Newer Linux Kernels like 5.4+ might have bugs and compatibility issues, so if you see issues using them, try downgrading to 5.3

  • Use a Package Manager like APT to install an automatically Backported Iwlwifi Driver
    Run the following commands one by one and reboot your Computer. If your AX1650 is still not detected/used you can scroll down and try the older Backport steps.
    $ sudo add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi $ sudo apt-get update $ sudo apt-get install backport-iwlwifi-dkms $ reboot

  • Manually Backport the Iwlwifi Driver for older Linux Kernels
    The Iwlwifi Driver that works with the AX1650 is included in Linux Kernels 5.1+.
    If you would like to Backport that Iwlwifi Driver to your older Linux Kernel, you can follow the steps below.

Backported Drivers are created for your current environment. If you Backport a Driver, and then upgrade your system, it’s possible the Backported Driver won’t run correctly. You will have to uninstall the previously Backported Driver and then create another for your current environment.


Backport the Iwlwifi Driver for older Linux Kernels

Before you begin the Manual Backport process, here is a quick description and example of the three necessary steps for Backporting the Iwlwifi Driver for your AX1650:

Step 1 – Download the Latest Git and Build-Essential packages

    • Build-Essential contains the ‘Make’ package and a few other packages necessary for creating the Driver.

Step 2 – Download the Iwlwifi-Firmware.git repository

    • You will then move the Iwlwifi files to your /lib/firmware/ folder so your newly created Driver can operate correctly after reboot.

Step 3 – Download the Backport-Iwlwifi.git repository

    • Use ‘Make’ and the ‘Backport-Iwlwifi’ repository to build the Iwlwifi Driver.
    • Because ‘Make will be producing an Unsigned Driver, you will probably see SSL errors / warnings.
      This is fine, but this is the reason Secure Boot must be Disabled.
      If Secure Boot is Enabled your Computer will not use an Unsigned Driver!

Here is an Example of these steps being performed

    • Starting Conditions for this Example Output:
      Dell XPS 13 9360
      AX1650
      Legacy Boot Mode; Secure Boot OFF
      Ubuntu 18.04 is then Installed as an EXT4 partition with a Mount point set to ‘/’
      The Computer restarts and boots into Ubuntu 18.04
    • Backport_Iwlwifi-Example
      The AX1650 is using the Iwlwifi Driver as shown within the output of ‘sudo lshw -C network’ and WiFi is accessible.

Please note that Secure Boot MUST be disabled in your BIOS before following these steps. If you are unsure how to disable Secure Boot, please refer to your machine or motherboard’s support materials or website.

Let’s Begin!

Enter the following commands into a Terminal one line at a time.

Step 1 – Download the Latest Git and Build-Essential packages

$ sudo apt update $ sudo apt-get install -y git $ sudo apt-get install -y build-essential

Step 2 – Download the Iwlwifi-Firmware.git repository

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git $ cd linux-firmware $ sudo cp iwlwifi-* /lib/firmware/ $ cd ..

Step 3 – Create the Backported Iwlwifi Driver for your current setup

`git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git cd backport-iwlwifi
sudo make defconfig-iwlwifi-public sudo make -j4
$ sudo make install

This command might be necessary to force your machine to use the Driver from boot:
$ update-initramfs -u`

Reboot your Computer and verify it’s working!

If you update Ubuntu after using a Backported driver, you may have to repeat Step 3 from the beginning to build a new Driver.


Troubleshooting and Notes

  • Wifi no longer works after Update / Upgrade:

    • If you had Manually Backported the Iwlwifi Driver using the 3 Step process and if you still have the Backport-Iwlwifi folder you used previously:

      • $ cd backport-iwlwifi $ make uninstall

        Delete your ‘backport-iwlwifi/‘ folder and Reboot.

        Try the steps in this guide from the beginning.
        I believe it’s possible for an old ‘backport-iwlwifi/‘ directory to output content not compatible with your current environment, so starting from the beginning could help.

      • If you had used the APT install method previously:
        Try using ‘sudo apt purge backport-iwlwifi-dkms‘ to remove the Driver and any custom changes it might have.
        Reboot
        Try installing the ‘Backport-Iwlwifi-Dkms‘ package once more.
        Reboot

    • An alternative solution would be to upgrade the Linux-Kernel to 5.1+. Newer Linux-Kernels have Iwlwifi Drivers that have support for newer hardware like the AX1650.

  • If you have installed the Backport-Iwlwifi-Dkms package and the AX1650 is still not seen after reboot:

    • Check the output of ‘dmesg | grep -i iwlwifi‘ for messages of missing Firmware.
      If you see a “no suitable firmware found!” message then run Step 2 in the steps above to copy the Iwlwifi Firmware files to your ‘/lib/firmware‘ folder and then ‘reboot‘.
  • If the issue hasn’t been resolved and Secure Boot is disabled, try getting in contact with our Support team by performing the following:

    $ sudo apt install mokutil $ echo "Journalctl Boot Log" > logs.txt $ journalctl -b >> logs.txt $ echo "Dmesg" >> logs.txt $ dmesg >> logs.txt $ rfkill list >> logs.txt $ sudo lshw -C network >> logs.txt $ lspci -nn | grep -i net >> logs.txt $ mokutil --sb-state >> logs.txt

    Submit a Ticket describing your issue and the steps you’ve taken.
    Please attach the ‘logs.txt‘ file also.

  • User Feedback / Reports that could be helpful

    • “Yesterday, my WiFi drivers disappeared, so I attempted to rebuild and reinstall using the still locally saved backport-iwlwifi directory, using the same commands as before. After doing this, the machine would freeze permanently right after the display manager loaded.

      Booting Ubuntu in Recovery mode without Networking successfully booted, but a Kernel Panic appeared in Ubuntu Recovery mode with Networking.

      The first step of fixing this was “make uninstall” in the backport-iwlwifi directory.

      Then the machine could boot normally but had no WiFi driver.

      I then restored WiFi functionality by using the apt installation provided in the current version of this article.”

    • Kali users may have difficulty getting the ‘sudo apt-get install backport-iwlwifi-dkms‘ method working, but the 3 step Manual Backport process has been confirmed to work.

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 158,847评论 4 362
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,208评论 1 292
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 108,587评论 0 243
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,942评论 0 205
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,332评论 3 287
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,587评论 1 218
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,853评论 2 312
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,568评论 0 198
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,273评论 1 242
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,542评论 2 246
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,033评论 1 260
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,373评论 2 253
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,031评论 3 236
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,073评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,830评论 0 195
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,628评论 2 274
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,537评论 2 269