运行 Ubuntu 18.04,如果连接了网线,目前无法登录。如果我拔下网线,我可以正常登录,然后重新插入(登录完成后),所有网络似乎都正常运行。
有什么想法可以解决这个问题,以便我可以重新登录我的机器而不必每次都拔掉网线?
sudo lshw -C network
输出:
*-network DISABLED
description: Wireless interface
product: Wireless 8265 / 8275
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 78
serial: 14:4f:8a:2c:67:0d
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.18.0-21-generic firmware=36.9f0a2d68.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:139 memory:edc00000-edc01fff
*-network
description: Ethernet interface
physical id: 2
logical name: enx106530ba9618
serial: 10:65:30:ba:96:18
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=full ip=10.118.144.46 link=yes multicast=yes port=MII speed=1Gbit/s
/etc/network/interfaces
:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
/etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager