GRe*_*ner 6 networking ethernet drivers intel-nuc 16.04
我刚刚在一台新的台式计算机上安装了一个全新的 Ubuntu 16.04 LTS,它无法通过有线连接连接到互联网。
我看过类似问题的几个答案,例如:
为什么有线互联网在 Ubuntu 16.04 LTS 中不起作用?
还有其他几个,但他们提出的解决方案都不适合我。我有一个华硕 Z270 主板,标准诊断的输出是:
ipa
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 2c:56:dc:39:d7:91 brd ff:ff:ff:ff:ff:ff
Run Code Online (Sandbox Code Playgroud)
ip链接
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 2c:56:dc:39:d7:91 brd ff:ff:ff:ff:ff:ff
Run Code Online (Sandbox Code Playgroud)
如果配置
enp5s0 Link encap:Ethernet HWaddr 2c:56:dc:39:d7:91
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:df300000-df31ffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2634 errors:0 dropped:0 overruns:0 frame:0
TX packets:2634 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:195404 (195.4 KB) TX bytes:195404 (195.4 KB)
Run Code Online (Sandbox Code Playgroud)
sudo lshw -C 网络
*-network
description: Ethernet interface
product: I211 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 03
serial: 2c:56:dc:39:d7:91
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.3.0-k firmware=0. 6-1 latency=0 link=no multicast=yes port=twisted pair
resources: irq:17 memory:df300000-df31ffff ioport:c000(size=32) memory:df320000-df323fff
*-network UNCLAIMED
description: Ethernet controller
product: Ethernet Connection (5) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: latency=0
resources: memory:dd100000-dd11ffff
Run Code Online (Sandbox Code Playgroud)
cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Run Code Online (Sandbox Code Playgroud)
lspci -nnk | grep -A9 网络
05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection [1043:85f0]
Kernel driver in use: igb
Kernel modules: igb
06:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:2142]
Subsystem: ASUSTeK Computer Inc. Device [1043:8732]
Kernel driver in use: xhci_hcd
Run Code Online (Sandbox Code Playgroud)
留言 | grep igb
[ 0.867051] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[ 0.867052] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.896603] igb 0000:05:00.0: added PHC on eth0
[ 0.896603] igb 0000:05:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 0.896604] igb 0000:05:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 2c:56:dc:39:d7:91
[ 0.896605] igb 0000:05:00.0: eth0: PBA No: FFFFFF-0FF
[ 0.896606] igb 0000:05:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[ 0.905377] igb 0000:05:00.0 enp5s0: renamed from eth0
Run Code Online (Sandbox Code Playgroud)
须藤 modprobe e1000e && dmesg | grep e100
[136118.178325] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[136118.178326] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
Run Code Online (Sandbox Code Playgroud)
感谢您帮助解释为什么无法连接...谢谢!
我在解决其他问题时发现的问题的一个解决方案 - 安装 Ubuntu 16.10 可以解决问题。
我看到对于另一种计算机型号,Intel NUC,建议使用 Ubuntu 16.10,因为 16.04 不能很好地支持 Kaby Lake CPU:
https://communities.intel.com/thread/114411
http://nucblog.net/2017/04/kaby-lake-i7-nuc-conclusions/
所以我查了一下,这台电脑还有i7 7700K,属于Kaby Lake系列,即不能很好地运行Ubuntu 16.04。
安装了16.10,一切正常。
谢谢您的帮助 :)
小智 0
I219-V Intel 以太网控制器有多个版本。OP 肯定有早期版本。Ubuntu 16.10 不支持更高版本。适用于所有版本控制器的解决方案是遵循Intel 的 e1000e 基本驱动程序说明。在这种情况下,您可以继续运行 16.04 LTS 版本。
英特尔指令没有说明安装make和gcc 的要求。我遵循的步骤是:
# Download e1000e tar file from https://downloadcenter.intel.com/download/15817
sudo apt install make gcc
tar xvfz e1000e-*.tar.gz
cd e1000e-*/src
sudo make install
sudo rmmod e1000e # It's ok if this has an error
sudo modprobe e1000e
Run Code Online (Sandbox Code Playgroud)
如果这有效,那么您将在 /var/log/kern.log 末尾看到设置关联以太网接口的消息,并且新接口将列出,
ip a
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6760 次 |
| 最近记录: |