新电脑安装了Ubuntu 14.04,但是网络连接中只有以太网而没有WiFi的选项.

打开System Setting系统设置-Software&Updates软件&更新-Additional Drivers附加驱动,无法加载出相应的驱动,更换为国内源也无法显示出相应的驱动.

打开Terminal使用命令查询网卡(hardware of Internet)状态

  1. $ lshw -C network

详细信息如下

  1. *-network UNCLAIMED
  2. description: Network controller
  3. product: Intel Corporation
  4. vendor: Intel Corporation
  5. physical id: 0
  6. bus info: pci@0000:02:00.0
  7. version: 10
  8. width: 64 bits
  9. clock: 33MHz
  10. capabilities: cap_list
  11. configuration: latency=0
  12. resources: memory:df200000-df201fff
  13. *-network
  14. description: Ethernet interface
  15. product: QCA8171 Gigabit Ethernet
  16. vendor: Qualcomm Atheros
  17. physical id: 0
  18. bus info: pci@0000:03:00.0
  19. logical name: eth0
  20. version: 10
  21. serial: **************
  22. size: 100Mbit/s
  23. capacity: 1Gbit/s
  24. width: 64 bits
  25. clock: 33MHz
  26. capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
  27. configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=******** latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
  28. resources: irq:128 memory:df100000-df13ffff ioport:d000(size=128)

有两部分,第一部分是无线网,第二部分是以太网.我们可以发现无线网被UNCLAIMED,而且源内也找不到相应的驱动,那么我们需要手动下载本电脑无线网卡的驱动然后安装.

首先我们需要查询电脑的无线网卡型号,Ubuntu下好像没有什么特别好的办法,在网上找到的如下命令

  1. $ lspci | grep -i net

或者

  1. $ iwconfig

如果是双系统的话,在Windows下控制面板-设备管理器中可以查到无线网卡具体型号,我的电脑无线网卡型号是Intel Dual Band Wireless-AC 3168.
然后我们去Intel的官网查找适用于Linux的无线网卡驱动,可以搜索 无线网卡型号+Ubuntu,然后找Intel的官方网站.这个网址适用于很多网卡型号:https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-i-o/wireless-networking.html

在下载对应驱动的同时,我们发现驱动对Linux内核的版本有要求,由于Ubuntu 14.04的初始内核为4.4,而我的电脑无线网卡对应的内核为4.6+,因此我们需要更新内核.

首先查询一下自己的Ubuntu内核

  1. $ uname -sr

然后打开http://kernel.ubuntu.com/~kernel-ppa/mainline/选择合适的版本下载,我选择4.8的内核

  1. $ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/linux-headers-4.8.0-040800_4.8.0-040800.201610022031_all.deb
  2.  
  3. $ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/linux-headers-4.8.0-040800-generic_4.8.0-040800.201610022031_all.deb
  4.  
  5. $ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/linux-image-4.8.0-040800-generic_4.8.0-040800.201610022031_all.deb

直接从网站上下载也可以,然后切换到下载路径下安装

  1. $ sudo dpkg -i *.deb

安装完成后重启,然后检查Ubuntu内核是否更新过

  1. $ uname -sr

接着把下载好的驱动复制到/lib/firmware中

  1. $ sudo cp -i iwlwifi-3168-22.ucode /lib/firmware

接着更新一下grub,然后重启

  1. $ sudo update-grub
  2.  
  3. $ sudo reboot

然后就大功告成啦,可以愉快地连WiFi上网了

  1.  

[硬件配置]记录Ubuntu 14.04 下安装无线网卡驱动解决无法连接WiFi的过程的更多相关文章

  1. Ubuntu 14.04 ThinkPad E431无线网卡驱动安装

    Ubuntu 14.04下安装无线网卡驱动. sudo apt-get install linux-headers-generic build-essential dkms  sudo apt-get ...

  2. Ubuntu 14.04下安装功能强大的屏幕截图软件 Shutter

    [注释]试用了一下,果然很强大,牛逼 一款功能强大的屏幕截图软件——Shutter,Shutter最基本的就是截图功能了,在设计上可以自由选定区域,同时选定之 后依然可以通过上下左右四个地方来改变选区 ...

  3. 分布式进阶(二)Ubuntu 14.04下安装Dockr图文教程(一)

    当前,完全硬件虚拟化技术(KVM.Xen.Hyper-V 等)能在一个物理主机上很好地运行多个互相独立的操作系统,但这也带来一些问题:性能不佳,资源浪费,系统反应迟缓等.有时候对用户来说,完全的硬件虚 ...

  4. Ubuntu 14.04 下安装 OpenCV

    参考: Installation in Linux Error compiling OpenCV, fatal error: stdlib.h: No such file or directory 图 ...

  5. Ubuntu 14.04 下 安装Protocol Buffers

    参考: Protocol Buffers - Google's data interchange format Ubuntu 14.04 下 安装Protocol Buffers 环境 Ubuntu ...

  6. Ubuntu 14.04 下安装Skype

    操作1: Ubuntu 14.04 下安装Skype,使用 Ctr+Alt+T组合键打开终端Terminal,输入如下即可: wget -O skype.deb http://download.sky ...

  7. 分布式进阶(四)Ubuntu 14.04下安装Tomcat 6

    Ubuntu 10.04下安装Tomcat 6 1,下载apache-tomcat6, 地址链接:http://archive.apache.org/dist/tomcat/tomcat-6/v6.0 ...

  8. Ubuntu 14.04下安装GitLab指南

    摘要 GitLab 是一个用于仓库管理系统的开源项目.使用Git作为代码管理工具,并在此基础上搭建起来的web服务. 在GitLab的官方网站上面对Ubuntu的支持也是很好的,有比较详尽的安装指南. ...

  9. Ubuntu 14.04下安装CUDA8.0

    配置环境如下: 系统:Ubuntu14.04 64bit 显卡:Nvidia K620M 显卡驱动:Nvidia-Linux-x86_64-375.66.run CUDA8.0 +  cudnn8.0 ...

随机推荐

  1. 【译文】InnoDB 的不同的SQL如何加锁

    http://dev.mysql.com/doc/refman/5.6/en/innodb-locks-set.html 前置:检索如果用不到索引,会扫描全表,并根据策略加锁.所以,这就是我们合理建立 ...

  2. zookeeper 快速入门

    分布式系统简介 在分布式系统中另一个需要解决的重要问题就是数据的复制.我们日常开发中,很多人会碰到一个问题:客户端C1更新了一个值K1由V1更新到V2.但是客户端C2无法立即读取到K的最新值.上面的例 ...

  3. jdk8环境下,添加重复注解的美好体验

    为了实现业务层缓存,定义了几个注解:@Cache.able.@Cache.put.@Cache.del 分别实现对业务方法的 缓存检测.缓存插入 和 缓存清除. public @interface C ...

  4. [AHOI2009]飞行棋

    嘟嘟嘟 刚开始想这道题的时候确实很蒙,只想到矩形对边做对应的弧长相等,然后想办法凑出相等的弧长.其实正解很简单,不要去想边,应该想对角线,因为根据初中园的知识,这个矩形的对角线是圆的直径,而直径所对的 ...

  5. python list 使用技巧

    格式:list[start:stop:step] 示例:a =list(range(0,10))print(a[1:8:2]) #[1, 3, 5, 7]print(a[:8:2]) #[0, 2, ...

  6. 我的linux shell 脚本头部

    #!/bin/bash #################################################### # version:1.01 # # link:http://www. ...

  7. Spring源码分析(二)容器基本用法

    摘要:本文结合<Spring源码深度解析>来分析Spring 5.0.6版本的源代码.若有描述错误之处,欢迎指正. 在正式分析Spring源码之前,我们有必要先来回顾一下Spring中最简 ...

  8. 串口调试助手vc源程序及其详细编写过程

    串口调试助手vc源程序及其详细编写过程   目次: 1.建立项目 2.在项目中插入MSComm控件 3.利用ClassWizard定义CMSComm类控制变量 4.在对话框中添加控件 5.添加串口事件 ...

  9. Use UMDH to identify memory leak problem

    We sometimes got memory leak problem, and we need to find the leaked memory, Here is a usful tool fr ...

  10. mysql/mariadb学习记录——查询2

    Alias——使用一个列名别名AS 关键字: mysql> select sno as studentId,sname as studentName from student; +------- ...