ubuntu14.04不能上网“没有可用的网络设备”

在Linux中你正在使用的网卡是什么

sudo lshw-C network

或 lspci

我的是intel的,联想电脑:

以下参考:

http://blog.chinaunix.net/uid-11829250-id-5748402.html

联想服务器ThinkStation P310,在安装完ubuntu14.04(64bit)LTS后,不能上网。这是由于网卡驱动没有安装成功,需要自己安装网卡驱动。
ThinkStation P310的主板类型是skylake,网卡型号是Intel Ethernet ConnectionI219LM。在Intel官网并没有找到I219LM for Linux的驱动。不过看到一个帖子说,I219LM网卡和I218的网卡没什么区别,因此决定使用I218的网卡驱动。
1.从intel官网下载I218 for LINUX的驱动压缩包e1000e-3.3.4.tar.gz(https://downloadcenter.intel.com/download/15817)
2.ubuntu下切换到root:sudo -i
3.解压网卡驱动tar -xzvf e1000e-3.3.4.tar.gz
4.cd e1000e-3.3.4/src
5.编译安装:sudomake install,(卸载 make uninstall)将编译好的驱动(e1000e.ko)安装到/lib/modules/3.16.0-30-generic/updates/drivers/net/ethernet/intel/ethernet/intel/e1000e/e1000e.ko
6.载入驱动模块到内核:sudomodprobe e1000e(卸载用modprob
e -r e1000e,此时正常情况下,就可以检测到网卡,并能上网了。

7.如果第6步没有检测到网卡,尝试使用如下命令插入驱动模块到内核:
insmod /lib/modules/3.16.0-30-generic/updates/drivers/net/ethernet/intel/ethernet/intel/e1000e/e1000e.ko,然后重启ubuntu,就可以上网了。(卸载用rmmod 命令)


到此有线可以上网。

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...