从 16.4 升级到 16.10 后有线不受管理(升级到 17.04 后仍然存在)

从 16.4 升级到 16.10 后有线不受管理(升级到 17.04 后仍然存在)

我被提示从 升级16.416.10edit: was just prompted to upgrade to 17.04 and same issue persists),我照做了,并接受了所有建议的删除、更新等,现在无法通过以太网访问互联网(无线仍然可以使用)。

我已经重新启动两次,并关闭/打开调制解调器,希望触发一些必要的“重新配置”。

在系统托盘中,单击无线图标时,旁边Wired只会显示unmanaged

故障排除如下

=============================

我尝试过(从https://askubuntu.com/a/2905/367134):

cd /etc/NetworkManager/
sudo vim NetworkManager.conf

并改变:

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

到:

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=true

进而:

sudo service network-manager restart

并重新启动系统,但仍然有Wired unmanaged

=============================

我尝试过(从https://askubuntu.com/a/513615/367134):

sudo ifconfig eno1 up

并重新启动系统,但仍然有Wired unmanaged

=============================

我尝试过(从https://askubuntu.com/a/547875/367134):

sudo ip link set eno1 up

并重新启动系统,但仍然有Wired unmanaged

=============================

发现有关网络问题的其他帖子要求提供如下输出 - 以防万一它有帮助:

sudo lshw -short | grep network
/0/100/1c/0    wlp1s0     network        Wireless 8260
/0/100/1f.6    eno1       network        Ethernet Connection I219-V

和:

sudo lshw -C network
  *-network                 
       description: Wireless interface
       product: Wireless 8260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 3a
       serial: 00:c2:c6:a1:9f:91
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-46-generic firmware=21.302800.0 ip=192.168.1.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:279 memory:df000000-df001fff
  *-network DISABLED
       description: Ethernet interface
       product: Ethernet Connection I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: eno1
       version: 21
       serial: b8:ae:ed:7e:79:73
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:276 memory:df100000-df11ffff

和:

lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1e.6 SD Host controller: Intel Corporation Sunrise Point-LP Secure Digital IO Controller (rev 21)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-V (rev 21)
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

=============================

内容为/etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

=============================

答案1

另一篇类似的帖子得到了解决问题的答案:

https://askubuntu.com/a/905045/367134

引用答案:

作为佐尔坦·拉茨科提到,从 NetworkManager 1.2.4(ubuntu 16.10)开始,所有非 wifi/wwan 设备都被视为不受管理的(参见他在类似问题中的回答网络管理员拒绝管理有线接口)。一个解决方案是创建一个空文件:

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf

...这将会覆盖/覆盖 /usr/lib 中的内容,然后重新启动网络管理器。

相关内容