![网络管理员断开有线连接](https://linux22.com/image/1057488/%E7%BD%91%E7%BB%9C%E7%AE%A1%E7%90%86%E5%91%98%E6%96%AD%E5%BC%80%E6%9C%89%E7%BA%BF%E8%BF%9E%E6%8E%A5.png)
我在联想 E530 上运行 Ubuntu 16.04。我的网络管理器在几秒钟后断开了有线连接。Wifi 工作正常。如何修复此问题?
我的网卡:
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
更新 #1
设置静态 IP 地址后,插入电缆并运行命令
sudo ethtool enp12s0
结果是:
Settings for enp12s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
拔下电源后:
Settings for enp12s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
答案1
安装供应商提供的另一个驱动程序。运行
sudo apt install r8168-dkms
然后重新启动。