以太网不能在ubuntu 14.04 LTS上运行
我一直在努力尝试激活我的以太网连接而没有成功。 我在dell xps8900上使用ubuntu 14.04 LTS。 我有一个带Windows 7的双启动,以太网在这个上工作正常。 这是我尝试过的:
1)validation以太网卡:
>lspci 00:00.0 Host bridge: Intel Corporation Device 191f (rev 07) 00:01.0 PCI bridge: Intel Corporation Device 1901 (rev 07) 00:14.0 USB controller: Intel Corporation Device a12f (rev 31) 00:14.2 Signal processing controller: Intel Corporation Device a131 (rev 31) 00:16.0 Communication controller: Intel Corporation Device a13a (rev 31) 00:17.0 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode] (rev 31) 00:1c.0 PCI bridge: Intel Corporation Device a110 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Device a145 (rev 31) 00:1f.2 Memory controller: Intel Corporation Device a121 (rev 31) 00:1f.3 Audio device: Intel Corporation Device a170 (rev 31) 00:1f.4 SMBus: Intel Corporation Device a123 (rev 31) 00:1f.6 Ethernet controller: Intel Corporation Device 15b8 (rev 31) 01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 745] (rev a2) 01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1) 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter"
2)然后我用ifconfig激活eth0:
sudo ifconfig wlan0 down sudo ifconfig eth0 up eth0: ERROR while getting interface flags: No such device sudo ifconfig wlan0 up
3)查看上面的错误消息,我修改了70-persistent-net.rules并重启:
mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old
– >重启
4)我也看了不同的“eth”:
ifconfig eth0 eth0: error fetching interface information: Device not found ifconfig eth1 eth1: error fetching interface information: Device not found ifconfig eth2 eth2: error fetching interface information: Device not found
5)然后我尝试了:
sudo dhclient
– >重启
6)然后:
sudo lshw -C network *-network description: Wireless interface product: RTL8723BE PCIe Wireless Network Adapter vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: wlan0 version: 00 serial: b0:c0:90:4f:dc:c2 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8723be driverversion=3.16.0-30-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn resources: irq:16 ioport:d000(size=256) memory:df100000-df103fff *-network UNCLAIMED description: Ethernet controller product: Intel Corporation vendor: Intel Corporation physical id: 1f.6 bus info: pci@0000:00:1f.6 version: 31 width: 32 bits clock: 33MHz capabilities: pm msi bus_master cap_list configuration: latency=0 resources: memory:df200000-df21ffff
还有其他要测试的东西吗? 谢谢。
按照这里的步骤:
-
在这里下载e1000e
-
建筑和安装
-
将基本驱动程序tar文件移动到您选择的目录中。 例如,使用
/home/username/e1000e
或/usr/local/src/e1000e
-
解压/解压缩归档文件,其中是驱动程序tar文件的版本号:
-
切换到驱动程序src目录,其中是驱动程序tar的版本号:
cd e1000e-
/src/ tar zxf e1000e- .tar.gz -
编译驱动程序模块:
make install
二进制文件将安装为:
/lib/modules/
/kernel/drivers/net/e1000e/e1000e.[k]o 上面列出的安装位置是默认位置。 对于各种Linux发行版,这可能会有所不同。
-
使用insmod或modprobe命令加载模块:
modprobe e1000e insmod e1000e
请注意,对于2.6内核,如果指定了驱动程序模块的完整路径,则可以使用insmod命令。 例如:
insmod /lib/modules/
/kernel/drivers/net/e1000e/e1000e.ko 使用基于2.6的内核还可以确保在加载新模块之前从内核中删除旧的e1000e驱动程序:
rmmod e1000e; modprobe e1000e
-
通过输入以下内容为接口分配IP地址,接口编号在哪里:
ifconfig eth
-
validation接口是否有效。 输入以下内容,其中是与正在测试的接口位于同一子网的另一台计算机的IP地址:
ping
-
注意
某些系统在支持MSI和/或MSI-X中断时遇到问题。 如果您认为您的系统需要禁用此类型的中断,则可以使用以下命令构建和安装驱动程序:
# make CFLAGS_EXTRA=-DDISABLE_PCI_MSI install
资源