[硬件配置]记录Ubuntu 14.04 下安装无线网卡驱动解决无法连接WiFi的过程
新电脑安装了Ubuntu 14.04,但是网络连接中只有以太网而没有WiFi的选项.
打开System Setting系统设置-Software&Updates软件&更新-Additional Drivers附加驱动,无法加载出相应的驱动,更换为国内源也无法显示出相应的驱动.
打开Terminal使用命令查询网卡(hardware of Internet)状态
- $ lshw -C network
详细信息如下
- *-network UNCLAIMED
- description: Network controller
- product: Intel Corporation
- vendor: Intel Corporation
- physical id: 0
- bus info: pci@0000:02:00.0
- version: 10
- width: 64 bits
- clock: 33MHz
- capabilities: cap_list
- configuration: latency=0
- resources: memory:df200000-df201fff
- *-network
- description: Ethernet interface
- product: QCA8171 Gigabit Ethernet
- vendor: Qualcomm Atheros
- physical id: 0
- bus info: pci@0000:03:00.0
- logical name: eth0
- version: 10
- serial: **************
- size: 100Mbit/s
- capacity: 1Gbit/s
- width: 64 bits
- clock: 33MHz
- capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
- configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=******** latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
- resources: irq:128 memory:df100000-df13ffff ioport:d000(size=128)
有两部分,第一部分是无线网,第二部分是以太网.我们可以发现无线网被UNCLAIMED,而且源内也找不到相应的驱动,那么我们需要手动下载本电脑无线网卡的驱动然后安装.
首先我们需要查询电脑的无线网卡型号,Ubuntu下好像没有什么特别好的办法,在网上找到的如下命令
- $ lspci | grep -i net
或者
- $ 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内核
- $ uname -sr
然后打开http://kernel.ubuntu.com/~kernel-ppa/mainline/选择合适的版本下载,我选择4.8的内核
- $ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/linux-headers-4.8.0-040800_4.8.0-040800.201610022031_all.deb
- $ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/linux-headers-4.8.0-040800-generic_4.8.0-040800.201610022031_all.deb
- $ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8/linux-image-4.8.0-040800-generic_4.8.0-040800.201610022031_all.deb
直接从网站上下载也可以,然后切换到下载路径下安装
- $ sudo dpkg -i *.deb
安装完成后重启,然后检查Ubuntu内核是否更新过
- $ uname -sr
接着把下载好的驱动复制到/lib/firmware中
- $ sudo cp -i iwlwifi-3168-22.ucode /lib/firmware
接着更新一下grub,然后重启
- $ sudo update-grub
- $ sudo reboot
然后就大功告成啦,可以愉快地连WiFi上网了
[硬件配置]记录Ubuntu 14.04 下安装无线网卡驱动解决无法连接WiFi的过程的更多相关文章
- Ubuntu 14.04 ThinkPad E431无线网卡驱动安装
Ubuntu 14.04下安装无线网卡驱动. sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get ...
- Ubuntu 14.04下安装功能强大的屏幕截图软件 Shutter
[注释]试用了一下,果然很强大,牛逼 一款功能强大的屏幕截图软件——Shutter,Shutter最基本的就是截图功能了,在设计上可以自由选定区域,同时选定之 后依然可以通过上下左右四个地方来改变选区 ...
- 分布式进阶(二)Ubuntu 14.04下安装Dockr图文教程(一)
当前,完全硬件虚拟化技术(KVM.Xen.Hyper-V 等)能在一个物理主机上很好地运行多个互相独立的操作系统,但这也带来一些问题:性能不佳,资源浪费,系统反应迟缓等.有时候对用户来说,完全的硬件虚 ...
- Ubuntu 14.04 下安装 OpenCV
参考: Installation in Linux Error compiling OpenCV, fatal error: stdlib.h: No such file or directory 图 ...
- Ubuntu 14.04 下 安装Protocol Buffers
参考: Protocol Buffers - Google's data interchange format Ubuntu 14.04 下 安装Protocol Buffers 环境 Ubuntu ...
- Ubuntu 14.04 下安装Skype
操作1: Ubuntu 14.04 下安装Skype,使用 Ctr+Alt+T组合键打开终端Terminal,输入如下即可: wget -O skype.deb http://download.sky ...
- 分布式进阶(四)Ubuntu 14.04下安装Tomcat 6
Ubuntu 10.04下安装Tomcat 6 1,下载apache-tomcat6, 地址链接:http://archive.apache.org/dist/tomcat/tomcat-6/v6.0 ...
- Ubuntu 14.04下安装GitLab指南
摘要 GitLab 是一个用于仓库管理系统的开源项目.使用Git作为代码管理工具,并在此基础上搭建起来的web服务. 在GitLab的官方网站上面对Ubuntu的支持也是很好的,有比较详尽的安装指南. ...
- Ubuntu 14.04下安装CUDA8.0
配置环境如下: 系统:Ubuntu14.04 64bit 显卡:Nvidia K620M 显卡驱动:Nvidia-Linux-x86_64-375.66.run CUDA8.0 + cudnn8.0 ...
随机推荐
- 【译文】InnoDB 的不同的SQL如何加锁
http://dev.mysql.com/doc/refman/5.6/en/innodb-locks-set.html 前置:检索如果用不到索引,会扫描全表,并根据策略加锁.所以,这就是我们合理建立 ...
- zookeeper 快速入门
分布式系统简介 在分布式系统中另一个需要解决的重要问题就是数据的复制.我们日常开发中,很多人会碰到一个问题:客户端C1更新了一个值K1由V1更新到V2.但是客户端C2无法立即读取到K的最新值.上面的例 ...
- jdk8环境下,添加重复注解的美好体验
为了实现业务层缓存,定义了几个注解:@Cache.able.@Cache.put.@Cache.del 分别实现对业务方法的 缓存检测.缓存插入 和 缓存清除. public @interface C ...
- [AHOI2009]飞行棋
嘟嘟嘟 刚开始想这道题的时候确实很蒙,只想到矩形对边做对应的弧长相等,然后想办法凑出相等的弧长.其实正解很简单,不要去想边,应该想对角线,因为根据初中园的知识,这个矩形的对角线是圆的直径,而直径所对的 ...
- 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, ...
- 我的linux shell 脚本头部
#!/bin/bash #################################################### # version:1.01 # # link:http://www. ...
- Spring源码分析(二)容器基本用法
摘要:本文结合<Spring源码深度解析>来分析Spring 5.0.6版本的源代码.若有描述错误之处,欢迎指正. 在正式分析Spring源码之前,我们有必要先来回顾一下Spring中最简 ...
- 串口调试助手vc源程序及其详细编写过程
串口调试助手vc源程序及其详细编写过程 目次: 1.建立项目 2.在项目中插入MSComm控件 3.利用ClassWizard定义CMSComm类控制变量 4.在对话框中添加控件 5.添加串口事件 ...
- 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 ...
- mysql/mariadb学习记录——查询2
Alias——使用一个列名别名AS 关键字: mysql> select sno as studentId,sname as studentName from student; +------- ...