ubuntu安装(Wireless 8265 / 8275网卡)---failed, not work!!!!

 

Failed, not work!!!!, please do not try!!!

 

linux官网无线驱动: https://wireless.wiki.kernel.org/

(Wireless 8265 / 8275网卡) 支持的内核版本是 4.6+, Ubuntu14.04内核是4.4 ,按照前面的帖子升级到 4.6.4。

先安装固件  https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

 

 

Intel® Wireless 82654.6+iwlmvmiwlwifi-8265-ucode-22.361476.0.tgz


解压,进入文件夹,

Installation of the firmware is simply:

# cp iwlwifi-*.ucode /lib/firmware

You can now load the driver.

 

 

 

------------------------------------------------------------------------------

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release?s[]=8265

 

 

About vendor commands

iwlwifi implements a few vendor commands that are available in this tree. We strongly suggest that you disable the vendor commands Kconfig option (CPTCFG_IWLMVM_VENDOR_CMDS). Enabling vendor commands without actually sending them can cause incompatibility with certain versions of the supplicant (due to a supplicant bug) or too aggressive Multicast frames filtering. Note that CPTCFG_IWLMVM_VENDOR_CMDS is enabled by default and needs to be explicitly disabled.

How to install the driver

In order to install the driver, you'll need to download the sources:   

git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git -b release/LinuxCore31

Then, you can make the sources with vendor commands disabled:

make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4

Now it is time to install the modules you built

sudo make install

Now you can reboot.

执行上面的 make  命令时,出错:

make[5]: “conf”是最新的。
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
Makefile:673: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  CC [M]  /home/jxl/Download/backport-iwlwifiCore31/compat/main.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[6]: *** [/home/jxl/Download/backport-iwlwifiCore31/compat/main.o] 错误 1
make[5]: *** [/home/jxl/Download/backport-iwlwifiCore31/compat] 错误 2
make[4]: *** [_module_/home/jxl/Download/backport-iwlwifiCore31] 错误 2
make[3]: *** [modules] 错误 2
make[2]: *** [modules] 错误 2
make[1]: *** [modules] 错误 2
make: *** [default] 错误 2

 

----------------------------------------------------------------------------------------------------------

又试了 http://blog.csdn.net/u010602026/article/details/78419351  帖子,也是不行

 

STEP1 : 
sudo update-pciids

STEP2: 
下载驱动 https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi

STEP3: 
解压 
cd ~/Desktop/backports- XX(解压后的文件夹) 
make clean 
make defconfig-iwlwifi   换成 make defconfig-iwlwifi-public  没有错误
make   出错
sudo make install

最后实在不弄了,  找个 无线网卡一插,笔记本就可以WIFI了,tmd。。。。

 

 

 

root@6527d9173397:/# apt update Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease Temporary failure resolving 'security.ubuntu.com' Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease Temporary failure resolving 'archive.ubuntu.com' Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Temporary failure resolving 'archive.ubuntu.com' Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Temporary failure resolving 'archive.ubuntu.com' Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead.
06-12
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值