Alienware Area-51M 安装Win10+Ubuntu18.04 双系统

 

        最近买了一个Alienware Area-51M的外星人笔记本,想使用Windows10(赠送安装镜像),但是需要自己安装Ubuntu18.04,安装Ubuntu18.04的目的是想使用一些新开源软件,在安装时由于买的外星人是最新的wifi网卡(Killer Wi-Fi AX 1650x 160MHZ,2019年刚面世),Ubuntu18.04 暂时没有包括他的驱动。以太网网卡(Killer E3000 2.5 G)在Ubuntu 18.04上也没有驱动。没有网络意味着安装Ubuntu 18.04后其他的无法安装。

       下面是我的解决方案一:

准备工作:

       先在Windows 10上安装VMware Player虚拟机,然后在虚拟机上安装Ubuntu 18.04 系统。

 

1)首先到Killer的官网上去找驱动,

      https://support.killernetworking.com/knowledge-base/killer-ax1650-in-debian-ubuntu-16-04/ 

    这里面你有如何在Ubuntu 16.04+ 上安装Wi-Fi驱动,比如

“ UPDATE: 2019/10/25
There is a new method for getting an AX1650 WiFi adapter working on Debian/Ubuntu systems. 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

"

需要去外网下载backport-iwlwifi ,下载很慢,大概19M。

我在我前面安装好的Ubuntu18.04 上固定一个目录比如/home/user/share/ 通过git下载backport-iwlwifi

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

然后关闭vendor commands功能(官网上讲这个功能有兼容性bug):

sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config

$sudo make

到此,先不要急于sudo make install,把/home/user/share拷贝到U盘上。

在安装好Ubuntu 18.04双系统后(不是虚拟机上的Ubuntu 18.04), 创建好目录 /home/user/share

 把在虚拟机Ubuntu18.04 的目录 /home/user/share下载编译好wifi驱动包拷贝到双系统的Ubuntu18.04的

/home/user/share目录下,执行

     $sudo make install

 

 

2) 下载firmware/linux-firmware,这个非常大,好几百M,我是叫在外企上班的同事帮忙下载一会儿就clone好了。

     拷贝到U盘中去。

     下载命令: $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

     把linux-firmware拷贝初次安装好的Ubuntu 18.04其中的一个目录比如/home/user/  
     $ cd linux-firmware        
    $ sudo cp iwlwifi-* /lib/firmware/

      这个完成了,重启系统!

3) 系统重启后,Killer的wifi已经好了,可以连接wifi,下载安装Ubuntu 18.04需要的其他软件包

 

解决方案二:

来自Killer wifi官网:https://support.killernetworking.com/knowledge-base/killer-ax1650-in-debian-ubuntu-16-04/

Before you begin, here is a quick description and example of the three necessary steps for creating and installing a 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 for your Computer.
  • 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!

1) 在下载好了backport-wifi源码驱动后,

      下载编译需要的make 和build-essential包,具体如下

使用apt download命令下载,具体包名见:https://packages.ubuntu.com/bionic/build-essential

通过U盘拷贝到Ubuntu 18.04 ,通过sudo dpkg -i *.deb安装所以deb文件。

重启系统。

然后把下载的backport wifi驱动拷贝到/home/user/share进行编译安装:

$ cd backport-iwlwifi
$ make defconfig-iwlwifi-public

然后关闭vendor commands功能(官网上讲这个功能有兼容性bug):

sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config

$sudo make

$sudo make install

拷贝linux-firmware,

     $ cd linux-firmware        
    $ sudo cp iwlwifi-* /lib/firmware/

重启系统,wifi连接,可以上网啦!

 

注: 至于安装双系统,详见我前面博客。

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值