저는 현재 약 3주 동안 Linux를 이중 부팅하고 있는데, 이 문제로 인해 매 시간마다 컴퓨터를 재부팅해야 하므로 완전히 전환할 수 없습니다. Linux에서는 네트워크 연결이 무작위로 끊어지는 현상이 발생합니다. Windows로 부팅할 때 이 문제가 발생하지 않았으므로 소프트웨어 문제일 수 있습니다.
연결을 끊으면 시스템이 다시 연결을 시도하지만 결코 작동하지 않습니다. 재부팅 후 문제가 다시 발생할 때까지(보통 부팅 후 15분~2시간) 사라집니다.
유선 연결을 비활성화하고 Wi-Fi에 연결했을 때 문제가 발생했습니다. 모든 것이 잘 작동하지만 유선 연결을 다시 활성화하면 Wi-Fi가 계속 연결되어 있어도 작동이 중지됩니다.
나는 또한 다음을 시도했습니다.
- NetworkManager 서비스 다시 시작
- 고정 IPv4 설정
- 유선 네트워크 비활성화 및 활성화
- 네트워크 케이블을 뽑았다가 다시 연결하세요.
모두 실패했습니다. 다시 시작하면 문제가 일시적으로 해결될 수 있습니다.
체계
OS: NixOS 23.05.3701.e9b4b56e5a20 (Stoat) x86_64
Motherboard: ASUSTeK COMPUTER INC. ROG STRIX B650E-E GAMING WIFI
Kernel: 6.1.54
CPU: AMD Ryzen 9 7950X
lspci
07:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)
08:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
이런 일이 발생하면 네트워크 관리자 시작 시 로그가 남습니다.
Okt 16 16:19:13 nixos systemd[1]: Starting Network Manager...
Okt 16 16:19:13 nixos systemd[1]: Started Network Manager.
Okt 16 16:36:01 nixos systemd[1]: Stopping Network Manager...
Okt 16 16:36:01 nixos systemd[1]: NetworkManager.service: Deactivated successfully.
Okt 16 16:36:01 nixos systemd[1]: Stopped Network Manager.
Okt 16 16:36:01 nixos systemd[1]: NetworkManager.service: Consumed 196ms CPU time, received 8.6K IP traffic, sent 144B IP traffic.
NetworkManager는 다른 손상된 시작에서 로그를 기록합니다.
Okt 13 23:29:58 nixos systemd[1]: Starting Network Manager...
Okt 13 23:29:58 nixos systemd[1]: Started Network Manager.
Okt 13 21:59:47 nixos NetworkManager[1671]: <warn> [1697227187.1589] device (eno1): Activation: failed for connection 'Wired connection 1'
Okt 13 22:00:32 nixos NetworkManager[1671]: <warn> [1697227232.1589] device (eno1): Activation: failed for connection 'Wired connection 1'
Okt 13 22:01:17 nixos NetworkManager[1671]: <warn> [1697227277.1583] device (eno1): Activation: failed for connection 'Wired connection 1'
Okt 13 22:02:02 nixos NetworkManager[1671]: <warn> [1697227322.1592] device (eno1): Activation: failed for connection 'Wired connection 1'
Okt 13 22:06:00 nixos NetworkManager[1671]: <warn> [1697227560.1590] device (eno1): Activation: failed for connection 'Wired connection 1'
Okt 13 22:06:58 nixos NetworkManager[1671]: <warn> [1697227618.1576] device (eno1): Activation: failed for connection 'Wired connection 1'
Okt 13 22:07:16 nixos NetworkManager[1671]: <warn> [1697227636.1919] ndisc[0x13b38e0,"eno1"]: solicit: failure sending router solicitation: Cannot assign requested address (99)
Okt 13 22:07:28 nixos systemd[1]: Stopping Network Manager...
Okt 13 22:07:28 nixos systemd[1]: NetworkManager.service: Deactivated successfully.
Okt 13 22:07:28 nixos systemd[1]: Stopped Network Manager.
Okt 13 22:07:28 nixos systemd[1]: NetworkManager.service: Consumed 592ms CPU time, received 4.3K IP traffic, sent 1.3K IP traffic.
IP A / 직장에서
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether a0:36:bc:ba:a5:dd brd ff:ff:ff:ff:ff:ff
altname enp7s0
inet 192.168.10.59/24 brd 192.168.10.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 2001:9e8:242b:c200:d7a:ee39:3768:342a/64 scope global temporary dynamic
valid_lft 7193sec preferred_lft 3593sec
inet6 2001:9e8:242b:c200:d1dc:fab3:1015:82ee/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 7193sec preferred_lft 3593sec
inet6 fe80::6a74:a49d:4dbd:72c0/64 scope link noprefixroute
valid_lft forever preferred_lft forever
ip a / 연결이 끊어졌을 때
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether a0:36:bc:ba:a5:dd brd ff:ff:ff:ff:ff:ff
altname enp7s0
inet 192.168.10.59/24 brd 192.168.10.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::6a74:a49d:4dbd:72c0/64 scope link noprefixroute
valid_lft forever preferred_lft forever
lshw -C 네트워크/작업 시간
*-network
description: Ethernet interface
physical id: 0
bus info: pci@0000:07:00.0
logical name: eno1
version: 03
serial: a0:36:bc:ba:a5:dd
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=6.1.54 duplex=full firmware=1082:8770 ip=192.168.10.59 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:24 memory:fb400000-fb4fffff memory:fb500000-fb503fff
*-network DISABLED
description: Wireless interface
physical id: 0
bus info: pci@0000:08:00.0
logical name: wlp8s0
version: 00
serial: 86:8c:02:55:26:28
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=6.1.54 firmware=____000000-20230627143946 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:170 memory:fb200000-fb2fffff memory:fb300000-fb307fff
lshw -C 네트워크/연결 끊김
*-network
description: Ethernet interface
physical id: 0
bus info: pci@0000:07:00.0
logical name: eno1
version: 03
serial: a0:36:bc:ba:a5:dd
width: 32 bits
clock: 33MHz
capabilities: cap_list ethernet physical
configuration: broadcast=yes driver=igc ip=192.168.10.59 latency=0 multicast=yes
resources: irq:24 memory:fb400000-fb4fffff memory:fb500000-fb503fff
*-network DISABLED
description: Wireless interface
physical id: 0
bus info: pci@0000:08:00.0
logical name: wlp8s0
version: 00
serial: 32:93:9c:fa:3b:9b
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=6.1.54 firmware=____000000-20230627143946 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:170 memory:fb200000-fb2fffff memory:fb300000-fb307fff