Ubuntu 无法检测网络

Ubuntu 无法检测网络

我们最近买了一台带有两个板载以太网端口的机器。但是 Ubuntu 无法在任何一个端口上识别网络。我们猜测这可能是由于驱动程序和新硬件(主板)不兼容造成的。

这是主板信息。

Base Board Information
        Manufacturer: FUJITSU
        Product Name: D3348-B2
        Version: S26361-D3348-B2            

以及两个板载以太网端口,

description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       logical name: enp0s25


description: Ethernet interface
       product: I210 Gigabit Network Connection
       vendor: Intel Corporation
       logical name: enp7s0

每当端口插入电缆时,网络图标都会尝试检测一段时间,但最终无法识别网络。代理设置在这里没有问题,因为具有相同网络配置的其他系统可以正常工作。

从终端运行ifconfig显示以下输出。

enp0s25   Link encap:Ethernet  HWaddr 90:1b:0e:a9:a4:dc  
          inet6 addr: fe80::72c7:256d:9308:384/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:1 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:256 (256.0 B)  TX bytes:5787 (5.7 KB)
          Interrupt:20 Memory:fb300000-fb320000 

enp7s0    Link encap:Ethernet  HWaddr 90:1b:0e:e3:1e:a8  
          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:fb100000-fb17ffff 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:268 errors:0 dropped:0 overruns:0 frame:0
          TX packets:268 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:20264 (20.2 KB)  TX bytes:20264 (20.2 KB)

有人可以建议是否缺少了什么或者需要调整吗?

编辑:

$ dmesg | grep -e enp -e e100
[    2.570344] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.570345] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.574494] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    2.753736] e1000e 0000:00:19.0 eth0: registered PHC clock
[    2.753740] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 90:1b:0e:a9:a4:dc
[    2.753742] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.753789] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
[    2.754492] e1000e 0000:00:19.0 enp0s25: renamed from eth0
[    2.804752] igb 0000:07:00.0 enp7s0: renamed from eth0
[   13.526902] IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready
[   13.573026] IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready
[   13.575124] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   13.781179] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   16.619195] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   16.619236] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready

编辑2:

sudo ethtool enp0s25 | grep Link
[sudo] password for epicwl: 
    Link detected: yes

答案1

我也遇到过这种奇怪的事情。我通过删除旧网络设置并创建新网络设置解决了这个问题。但不确定这对您是否也有效。

1) 在右上角单击网络 > 编辑连接。您将看到如下所示的小弹出窗口。

在此处输入图片描述

2)删除所有网络设置。

3)重新添加并尝试连接。

相关内容