[ethernet]ubuntu更换网卡驱动
问题:
网络不能ping通,dmesg显示很多
[6127619.851454] r8169 ::00.0: eth0: link up
[6127758.849559] r8169 ::00.0: eth0: link up
[6133605.103557] r8169 ::00.0: eth0: link up
[6137391.798434] r8169 ::00.0: eth0: link up
重启后变好,等不久又不能ping通。
思路:
1.lspci 、lshw查看硬件型号,
:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111// PCI Express Gigabit Ethernet Controller (rev 0c)
2.查看驱动状态。
lsmod:
r8169
modinfo r8169 filename: /lib/modules/3.2.--generic/kernel/drivers/net/ethernet/realtek/r8169.ko
firmware: rtl_nic/rtl8168f-.fw
firmware: rtl_nic/rtl8168f-.fw
firmware: rtl_nic/rtl8105e-.fw
firmware: rtl_nic/rtl8168e-.fw
firmware: rtl_nic/rtl8168e-.fw
firmware: rtl_nic/rtl8168e-.fw
firmware: rtl_nic/rtl8168d-.fw
firmware: rtl_nic/rtl8168d-.fw
version: .3LK-NAPI
license: GPL
description: RealTek RTL- Gigabit Ethernet driver
author: Realtek and the Linux r8169 crew <netdev@vger.kernel.org>
srcversion: 68C95644833EA999EB53AF1
alias: pci:v00000001d00008168sv*sd00002410bc*sc*i*
alias: pci:v00001737d00001032sv*sd00000024bc*sc*i*
alias: pci:v000016ECd00000116sv*sd*bc*sc*i*
alias: pci:v00001259d0000C107sv*sd*bc*sc*i*
alias: pci:v00001186d00004302sv*sd*bc*sc*i*
alias: pci:v00001186d00004300sv*sd*bc*sc*i*
alias: pci:v000010ECd00008169sv*sd*bc*sc*i*
alias: pci:v000010ECd00008168sv*sd*bc*sc*i*
alias: pci:v000010ECd00008167sv*sd*bc*sc*i*
alias: pci:v000010ECd00008136sv*sd*bc*sc*i*
alias: pci:v000010ECd00008129sv*sd*bc*sc*i*
depends:
intree: Y
vermagic: 3.2.--generic SMP mod_unload modversions
parm: use_dac:Enable PCI DAC. Unsafe on bit PCI slot. (int)
parm: debug:Debug verbosity level (=none, ..., =all) (int)
为什么硬件型号是r8168,而驱动型号是r8169呢,应该是这个问题。因为ubuntu驱动中没有r8168型号的驱动。要自己手动更换。
下载驱动:
驱动地址:http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
参考文档:http://ubuntuforums.org/showthread.php?t=1992200
截取步骤:
) Download the driver and expand it into a new directory. cd to the top directory in the expanded directory.
) sudo make clean modules
) sudo make install
) Verify that new file r8168.ko exists in directory /lib/modules/3.2.--generic/kernel/drivers/net/ethernet/realtek/
) blacklist r8169
) Edit /etc/initramfs-tools/modules and add a line with "r8168" on it.
) sudo depmod -a
) sudo update-initramfs -v -u -k `uname -r`
) Reboot
[ethernet]ubuntu更换网卡驱动的更多相关文章
- Ubuntu 安装网卡驱动
搭建Linux平台的无线热点,需要无线网卡和驱动都要支持 AP. 试了下Ubuntu平台默认驱动并不支持AP模式,所以需要更换驱动,具体操作步骤如下: 1.找到自己网卡芯片的型号,由于我的环境是搭建在 ...
- ubuntu intel网卡驱动安装(华硕B250F GAMING主板 )
jikexianfeng@jikexianfeng:~$ sudo sudo lspci -knn :]: Intel Corporation Device [:591f] (rev ) Subsys ...
- Intel® Ethernet Connection I217-V 网卡驱动(win10 ,2012)
https://downloadcenter.intel.com/zh-cn/download/25016/-Windows-10 上面是win10 的驱动 win8.1 https://downl ...
- ubuntu下升级网卡驱动
ubuntu下升级网卡驱动 无线局域网环境下,有个笔记本儿的无线经常断,而其它的终端都好好的,唯独它不行.所以想到检查和更新下无线网卡的驱动看看.以下是操作流程,记录一下. 阅读说明:##为标签, / ...
- Ubuntu server 16.04安装,无网卡驱动解决
因为使用一个软件必须要在ubuntu server 16.04上安装,因此先在裸机上安装ubuntu server 16.04,具体信息: 镜像版本:ubuntu-16.04.6-server-amd ...
- ubuntu BCM43142 lenovo网卡驱动安装(Broadcom)
ubuntu13.10 lenovo网卡驱动安装(Broadcom) ubuntu当月刚出了13.10版本,在升级了操作系统版本后无法搜索无线热点,联想官网提供的驱动下载都是为windows准备的 ...
- AM335x(TQ335x)学习笔记——Nand&&网卡驱动移植
移植完成声卡驱动之后本想再接再励,移植网卡驱动,但没想到的是TI维护的内核太健壮,移植网卡驱动跟之前移植按键驱动一样简单,Nand驱动也是如此,于是,本人将Nand和网卡放在同一篇文章中介绍.介绍之前 ...
- X-010 FriendlyARM tiny4412 uboot移植之移植网卡驱动TFTP用起来
<<<<<<<<<<<<<<<<<<<<<<<<< ...
- AM335x(TQ335x)学习笔记——Nand&&网卡驱动移植
移植完毕声卡驱动之后本想再接再励,移植网卡驱动,但没想到的是TI维护的内核太健壮,移植网卡驱动跟之前移植按键驱动一样简单,Nand驱动也是如此,于是,本人将Nand和网卡放在同一篇文章中介绍.介绍之前 ...
随机推荐
- wamp下安装https 实现 ssl 协议,主要是编写小程序通讯
也不知道腾讯为啥要这个限制,是想卖他的服务器资源么 简单几句话 1 wamp3.0.X的版本不行,我折腾了一天半,放弃了,换成wamp2.5 一次通过 2 证书 去腾讯云申请,单独域名的可以申请免费的 ...
- SGU 176 Flow construction(有源汇上下界最小流)
Description 176. Flow construction time limit per test: 1 sec. memory limit per test: 4096 KB input: ...
- 如何在Python 2.X中也达到类似nonlocal关键字的效果
nonlocal关键字时Python 3.X中引入的,目的是让内层函数可以修改外层函数的变量值,而该关键字在Python 2.X中是不存在的.那么,要在Python 2.X中达到类型达到类似nonlo ...
- 基于范围的for语句
一.关键点 1. 作用过程 遍历给定序列中的每个元素并对序列中的每个值执行某种操作. 2. 若要修改序列中元素的值,需将类型定义为引用 string s("Hello World!!!&qu ...
- ueditor百度编辑器的赋值方法
示例: http://ueditor.baidu.com/website/onlinedemo.html 引用代码: window.UMEDITOR_HOME_URL = $CONFIG['domai ...
- C++课堂作业2016.05.04
GitHub/object-oriented 作业题目 开课后的第一次作业,简单地写了一个类,用成员函数来实现计算圆的面积. [代码] main.cpp #include "Area.h&q ...
- Generating a PDF in Codeigniter using mPDF
https://arjunphp.com/generating-a-pdf-in-codeigniter-using-mpdf/
- linux的几个发行网站
Red Hat: http://www.redhat.com Fedora: http://fedoraproject.org/ Mandriva: http://www.mandriva ...
- C# 中的 Async 和 Await
这篇文章由Filip Ekberg为DNC杂志编写. 自跟随着.NET 4.5 及Visual Studio 2012的C# 5.0起,我们能够使用涉及到async和await关键字的新的异步模式.有 ...
- C#操作access练习
ORM框架使用dapper,dapper不仅能操作sqlserver,也能操作access,下面为基本代码: OleDbConnection strConnection = new OleDbConn ...