NetworkManager는 케이블이 연결되거나 연결 해제된 시기를 감지할 수 없습니다.

NetworkManager는 케이블이 연결되거나 연결 해제된 시기를 감지할 수 없습니다.

Fedora 21 64비트 Gnome 3.14.3 설치에서 케이블이 연결되지 않은 경우에도 NeworkManager가 항상 유선 연결에 연결되어 있음을 확인했습니다.

여기에 이미지 설명을 입력하세요.

그러나 드라이버(또는 다른 것)는 연결되어 있는지 알고 있습니다. 다음을 통해 이를 확인할 수 있습니다 watch "dmesg | tail -10".

[ 7349.552202] atl1c 0000:07:00.0: atl1c: enp7s0 NIC Link is Down
[ 7373.496359] IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready
[ 7376.271449] atl1c 0000:07:00.0: atl1c: enp7s0 NIC Link is Up<100 Mbps Full Duplex>
[ 7376.271482] IPv6: ADDRCONF(NETDEV_CHANGE): enp7s0: link becomes ready
[ 7553.088393] atl1c 0000:07:00.0: atl1c: enp7s0 NIC Link is Down
[ 7597.096174] atl1c 0000:07:00.0: atl1c: enp7s0 NIC Link is Up<100 Mbps Full Duplex>
[ 7620.983378] atl1c 0000:07:00.0: atl1c: enp7s0 NIC Link is Down
[ 7622.556874] atl1c 0000:07:00.0: atl1c: enp7s0 NIC Link is Up<100 Mbps Full Duplex>

케이블이 분리되어 있지만 여전히 인터넷에 연결되어 있다고 생각하고 동기화 또는 연결을 시도하지만 실패할 때 문제가 발생할 수 있습니다.

  • lspci -v

    07:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
        Subsystem: Lenovo Device 3979
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at e0500000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at 2000 [size=128]
        Capabilities: <access denied>
        Kernel driver in use: atl1c
        Kernel modules: atl1c
    
  • ifconfig:

    enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.1.22  netmask 255.255.255.0  broadcast 192.168.1.255
            inet6 fe80::de0e:a1ff:fed1:d12b  prefixlen 64  scopeid 0x20<link>
            ether dc:0e:a1:d1:d1:2b  txqueuelen 1000  (Ethernet)
            RX packets 111875  bytes 67103677 (63.9 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 87152  bytes 7793021 (7.4 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 13  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 0  (Local Loopback)
            RX packets 3669  bytes 880913 (860.2 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 3669  bytes 880913 (860.2 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
  • sudo yum list installed NetworkManager*

    Installed Packages
    NetworkManager.x86_64                                                        1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-adsl.x86_64                                                   1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-bluetooth.x86_64                                              1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-config-connectivity-fedora.x86_64                             1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-config-server.x86_64                                          1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-devel.x86_64                                                  1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-glib.x86_64                                                   1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-glib-devel.x86_64                                             1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-iodine.x86_64                                                 0.0.4-4.fc21                                                   @fedora                     
    NetworkManager-iodine-gnome.x86_64                                           0.0.4-4.fc21                                                   @fedora                     
    NetworkManager-l2tp.x86_64                                                   0.9.8.7-3.fc21                                                 @fedora                     
    NetworkManager-openconnect.x86_64                                            0.9.8.6-2.fc21                                                 @updates                    
    NetworkManager-openswan.x86_64                                               0.9.8.4-4.fc21                                                 @fedora                     
    NetworkManager-openswan-gnome.x86_64                                         0.9.8.4-4.fc21                                                 @fedora                     
    NetworkManager-openvpn.x86_64                                                1:0.9.9.0-3.git20140128.fc21                                   @koji-override-0/$releasever
    NetworkManager-openvpn-gnome.x86_64                                          1:0.9.9.0-3.git20140128.fc21                                   @koji-override-0/$releasever
    NetworkManager-pptp.x86_64                                                   1:0.9.8.2-6.fc21                                               @koji-override-0/$releasever
    NetworkManager-pptp-gnome.x86_64                                             1:0.9.8.2-6.fc21                                               @koji-override-0/$releasever
    NetworkManager-ssh.x86_64                                                    0.9.3-0.3.20140601git9d834f2.fc21                              @fedora                     
    NetworkManager-ssh-gnome.x86_64                                              0.9.3-0.3.20140601git9d834f2.fc21                              @fedora                     
    NetworkManager-tui.x86_64                                                    1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-vpnc.x86_64                                                   1:0.9.9.0-6.git20140428.fc21                                   @koji-override-0/$releasever
    NetworkManager-vpnc-gnome.x86_64                                             1:0.9.9.0-6.git20140428.fc21                                   @koji-override-0/$releasever
    NetworkManager-wifi.x86_64                                                   1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    NetworkManager-wwan.x86_64                                                   1:0.9.10.1-1.4.20150115git.fc21                                @updates                    
    
    • modinfo atl1c

      filename:       /lib/modules/3.17.8-300.fc21.x86_64/kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko.xz
      version:        1.0.1.1-NAPI
      license:        GPL
      description:    Qualcom Atheros 100/1000M Ethernet Network Driver
      author:         Qualcomm Atheros Inc., <[email protected]>
      author:         Jie Yang
      srcversion:     4333D8ADEE755DD5ABDF0B8
      alias:          pci:v00001969d00001083sv*sd*bc*sc*i*
      alias:          pci:v00001969d00001073sv*sd*bc*sc*i*
      alias:          pci:v00001969d00002062sv*sd*bc*sc*i*
      alias:          pci:v00001969d00002060sv*sd*bc*sc*i*
      alias:          pci:v00001969d00001062sv*sd*bc*sc*i*
      alias:          pci:v00001969d00001063sv*sd*bc*sc*i*
      depends:        
      intree:         Y
      vermagic:       3.17.8-300.fc21.x86_64 SMP mod_unload 
      signer:         Fedora kernel signing key
      sig_key:        F4:8F:FC:A3:C9:62:D6:47:0F:1A:63:E0:32:D1:F5:F1:93:2A:03:6A
      sig_hashalgo:   sha256
      

이것이 버그라면 NetworkManager입니까, 아니면 다른 것입니까? 동일한 드라이버를 사용하는 Fedora 19에서는 아무런 문제가 없습니다(백업에서 최신 커널과 동일한 버전인 것 같습니다).

답변1

드디어 정리를 시작했어요오류 보고서, 패키지를 제거하면 문제가 해결된다는 말을 듣고 NetworkManager-config-server다음과 같이 했습니다.

sudo yum autoremove NetworkManager-config-server

그런 다음 재부팅했는데 작동했습니다 :)

답변2

Fedora32에서는 그랬습니다.

sudo dnf remove NetworkManager-config-connectivity-fedora

다시 시작하면 문제가 사라집니다

관련 정보