Centos 7.9.2009(Core) Network Manager가 나를 미치게 만듭니다 - 이더넷이 무작위로 끊어집니다. 첫째, 몇 분 안에 다운되었습니다. 나는 포럼에서 지속적으로 이 오류를 조정하려고 노력한 후 거의 2주 동안 이 성가신 오류에서 벗어났습니다. 이것은 웹 서버와 mysql의 기본 설치일 뿐이며 GUI 등은 없습니다. 무선 연결에는 이러한 문제가 없는 것 같지만 이더넷을 사용하고 싶습니다. 유선 연결을 안정적으로 유지하는 방법은 무엇입니까? NetworkManager, netplan 등을 사용하든 상관없습니다. 안정적으로 작동하려면 이더넷만 있으면 됩니다. :)
이제 재부팅하고 나면 다시 정상적으로 보입니다.
DEVICE TYPE STATE CONNECTION
--------------------------------------------------------------------
enp2s0 ethernet connected enp2s0
# Configuration file for NetworkManager.
#
# See "man 5 NetworkManager.conf" for details.
#
# The directories /usr/lib/NetworkManager/conf.d/ and /var/run/NetworkManager/conf.d/
# can contain additional configuration snippets installed by packages. These files are
# read before NetworkManager.conf and have thus lowest priority.
# The directory /etc/NetworkManager/conf.d/ can contain additional configuration
# snippets. Those snippets are merged last and overwrite the settings from this main
# file.
#
# The files within one conf.d/ directory are read in asciibetical order.
#
# If /etc/NetworkManager/conf.d/ contains a file with the same name as
# /usr/lib/NetworkManager/conf.d/, the latter file is shadowed and thus ignored.
# Hence, to disable loading a file from /usr/lib/NetworkManager/conf.d/ you can
# put an empty file to /etc with the same name. The same applies with respect
# to the directory /var/run/NetworkManager/conf.d where files in /var/run shadow
# /usr/lib and are themselves shadowed by files under /etc.
#
# If two files define the same key, the one that is read afterwards will overwrite
# the previous one.
[main]
#plugins=ifcfg-rh,ibft,keyfile
[ifupdown]
managed=true
[logging]
# When debugging NetworkManager, enabling debug logging is of great help.
#
# Logfiles contain no passwords and little sensitive information. But please
# check before posting the file online. You can also personally hand over the
# logfile to a NM developer to treat it confidential. Meet us on #nm on freenode.
# Please post full logfiles except minimal modifications of private data.
#
# You can also change the log-level at runtime via
# $ nmcli general logging level TRACE domains ALL
# However, usually it's cleaner to enable debug logging
# in the configuration and restart NetworkManager so that
# debug logging is enabled from the start.
#
# You will find the logfiles in syslog, for example via
# $ journalctl -u NetworkManager
#
# Note that debug logging of NetworkManager can be quite verbose. Some messages
# might be rate-limited by the logging daemon (see RateLimitIntervalSec, RateLimitBurst
# in man journald.conf).
#
#level=TRACE
#domains=ALL
감사해요
편집: 사냥하러 갔는데 피곤해 보이던가.
Jan 4 09:57:13 localhost kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jan 4 09:57:13 localhost kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jan 4 09:57:13 localhost kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jan 4 09:57:13 localhost kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jan 4 09:57:13 localhost kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jan 4 09:57:13 localhost kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jan 4 09:57:13 localhost systemd-logind: Suspending...
Jan 4 09:57:13 localhost NetworkManager[2639]: <info> [1672822633.9215] manager: sleep: sleep requested (sleeping: no enabled: yes)
Jan 4 09:57:13 localhost NetworkManager[2639]: <info> [1672822633.9408] manager: NetworkManager state is now ASLEEP
Jan 4 09:57:13 localhost NetworkManager[2639]: <info> [1672822633.9462] device (enp2s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Jan 4 09:57:14 localhost NetworkManager[2639]: <info> [1672822634.0095] device (enp2s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Jan 4 09:57:14 localhost dbus[679]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Jan 4 09:57:14 localhost NetworkManager[2639]: <info> [1672822634.0411] dhcp4 (enp2s0): canceled DHCP transaction, DHCP client pid 2753
Jan 4 09:57:14 localhost NetworkManager[2639]: <info> [1672822634.0411] dhcp4 (enp2s0): state changed bound -> done
Jan 4 09:57:14 localhost avahi-daemon[703]: Withdrawing address record for fe80::1812:4c50:9a40:bf5a on enp2s0.
Jan 4 09:57:14 localhost avahi-daemon[703]: Withdrawing address record for 192.168.51.108 on enp2s0.
Jan 4 09:57:14 localhost avahi-daemon[703]: Leaving mDNS multicast group on interface enp2s0.IPv4 with address 192.168.51.108.
Jan 4 09:57:14 localhost avahi-daemon[703]: Interface enp2s0.IPv4 no longer relevant for mDNS.
Jan 4 09:57:14 localhost systemd: Starting Network Manager Script Dispatcher Service...
Jan 4 09:57:14 localhost dnsmasq[1656]: no servers found in /etc/resolv.conf, will retry
Jan 4 09:57:14 localhost NetworkManager[2639]: <info> [1672822634.1763] device (enp2s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Jan 4 09:57:14 localhost systemd-logind: Failed to send delayed message: Unit is masked.
Jan 4 09:57:14 localhost systemd-logind: Suspending...
Jan 4 09:57:14 localhost systemd-logind: Failed to execute operation: Unit is masked.
Jan 4 09:57:14 localhost systemd-logind: Suspending...
Jan 4 09:57:14 localhost systemd-logind: Failed to execute operation: Unit is masked.
Jan 4 09:57:14 localhost systemd-logind: Suspending...
Jan 4 09:57:14 localhost systemd-logind: Failed to execute operation: Unit is masked.
Jan 4 09:57:14 localhost systemd-logind: Suspending...