我正在尝试将运行 Ubuntu 20.04.1 的计算机连接到以太网交换机。当我插入电缆时,“设置”->“网络”显示“已连接-100 Mb/s”。从ifconifg
和其他地方我可以看到以太网接口eno1
现在有一个通过 DHCP 获取的 IP 地址、默认路由和 DNS 地址。但仍然无法浏览。当我使用 Linux live USB(不是 Ubuntu)启动同一台计算机时,它可以使用相同的以太网电缆很好地连接到同一设备。我也尝试过静态IP分配,但没有成功。我无法弄清楚缺少什么。我已经使用收集了日志详细信息journalctl
并附在下面。日志中似乎缺少的一件事是 CONNECTED_GLOBAL,我在其他连接中看到过它。不过,我不确定它是否有任何效果。我将非常感谢任何帮助解决这个问题的帮助。
这是日志详细信息。从日志中还可以看到它无法连接到 daisy.ubuntu.com。
Jun 02 19:20:22 River kernel: e1000e 0000:00:19.0 eno1: NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
Jun 02 19:20:23 River kernel: e1000e 0000:00:19.0 eno1: 10/100 speed: disabling TSO
Jun 02 19:20:23 River kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9876] device (eno1): carrier: link connected
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9886] device (eno1): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9909] policy: auto-activating connection 'Wired connection 1' (cdd9a516-d7a6-3705-97cd-1dd266f40234)
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9927] device (eno1): Activation: starting connection 'Wired connection 1' (cdd9a516-d7a6-3705-97cd-1dd266f40234)
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9930] device (eno1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9945] manager: NetworkManager state is now CONNECTING
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9951] device (eno1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9961] device (eno1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jun 02 19:20:22 River NetworkManager[577]: <info> [1622643622.9965] dhcp4 (eno1): activation: beginning transaction (timeout in 45 seconds)
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0583] dhcp4 (eno1): option dhcp_lease_time => '86400'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option domain_name_servers => '192.168.1.1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option expiry => '1622730022'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option ip_address => '192.168.1.107'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option requested_broadcast_address => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option requested_domain_name => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option requested_domain_name_servers => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option requested_domain_search => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0584] dhcp4 (eno1): option requested_host_name => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_interface_mtu => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_ms_classless_static_routes => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_nis_domain => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_nis_servers => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_ntp_servers => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_rfc3442_classless_static_routes => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_root_path => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_routers => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0585] dhcp4 (eno1): option requested_static_routes => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0586] dhcp4 (eno1): option requested_subnet_mask => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0586] dhcp4 (eno1): option requested_time_offset => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0586] dhcp4 (eno1): option requested_wpad => '1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0586] dhcp4 (eno1): option routers => '192.168.1.1'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0586] dhcp4 (eno1): option subnet_mask => '255.255.255.0'
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0586] dhcp4 (eno1): state changed unknown -> bound
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0631] device (eno1): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jun 02 19:20:23 River dbus-daemon[576]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=577 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jun 02 19:20:23 River systemd[1]: Starting Network Manager Script Dispatcher Service...
Jun 02 19:20:23 River dbus-daemon[576]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 02 19:20:23 River audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 02 19:20:23 River systemd[1]: Started Network Manager Script Dispatcher Service.
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0769] device (eno1): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0772] device (eno1): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0779] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0803] manager: NetworkManager state is now CONNECTED_SITE
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0804] policy: set 'Wired connection 1' (eno1) as default for IPv4 routing and DNS
Jun 02 19:20:23 River NetworkManager[577]: <info> [1622643623.0811] device (eno1): Activation: successful, device activated.
Jun 02 19:20:33 River whoopsie[736]: [19:20:33] Cannot reach: https://daisy.ubuntu.com
Jun 02 19:20:33 River systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jun 02 19:20:33 River audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 02 19:20:43 River whoopsie[736]: [19:20:43] Cannot reach: https://daisy.ubuntu.com
Jun 02 19:20:53 River whoopsie[736]: [19:20:53] Cannot reach: https://daisy.ubuntu.com
Jun 02 19:20:58 River dbus-daemon[576]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=577 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jun 02 19:20:58 River systemd[1]: Starting Network Manager Script Dispatcher Service...
Jun 02 19:20:58 River audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 02 19:20:58 River dbus-daemon[576]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 02 19:20:58 River systemd[1]: Started Network Manager Script Dispatcher Service.
Jun 02 19:21:08 River systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jun 02 19:21:08 River audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'