当前位置:   article > 正文

CentOS 8中无法上网问题解决-无法正常显示ens33中ip地址_error: reading applied connection from device 'eth

error: reading applied connection from device 'eth1' (/org/freedesktop/netwo
  • ifconfig 查询 无法显示ens33的中 网卡ip地址

    ing: www.baidu.com: Name or service not known
    [hadoop100@localhost ~]$ ifconfig
    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 1000  (Local Loopback)
            RX packets 48  bytes 2400 (2.3 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 48  bytes 2400 (2.3 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
            ether 52:54:00:ef:a6:7d  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
  • 解决办法:

    # 查看托管状态
    nmcli n
    # 出现disabled则代表是遇到的问题,否则代表不是
    # 开启托管
    nmcli n on
    # 重启托管
    systemctl restart NetworkManager
    # 再次查看,即可正常显示出ens33
    ifconfig
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/293619
推荐阅读
相关标签
  

闽ICP备14008679号