没有以太网连接:“IP 配置不可用”

没有以太网连接:“IP 配置不可用”

在此处输入图片描述

大家好,

我遇到这个问题已经有一段时间了,但没有任何解决方案。我曾经在我的 Linux Kubuntu 18.04 上使用以太网连接,但从前段时间开始我就无法连接到它了。我搜索并尝试了多种在线解决方案,但都无济于事。以太网硬件没有问题,可以正常工作(我已经在其他电脑上测试过了)

以下是一些可能有助于发现问题的输出:

**sudo ifconfig**

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 
       ether 4c:cc:6a:30:ad:db  txqueuelen 1000  (Ethernet) 
       RX packets 0  bytes 0 (0.0 B) 
       RX errors 0  dropped 0  overruns 0  frame 0 
       TX packets 209  bytes 34933 (34.9 KB) 
       TX errors 0  dropped 0 overruns 0  carrier 0  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 1000  (Local Loopback) 
       RX packets 2192  bytes 218766 (218.7 KB) 
       RX errors 0  dropped 0  overruns 0  frame 0 
       TX packets 2192  bytes 218766 (218.7 KB) 
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 
       inet 192.168.1.77  netmask 255.255.255.0  broadcast 192.168.1.255 
       inet6 fe80::af01:70b1:3e87:1345  prefixlen 64  scopeid 0x20<link> 
       inet6 2001:8a0:e3c5:1000:e8ec:e215:a11d:8b20  prefixlen 64  scopeid 0x0<global> 
       inet6 2001:8a0:e3c5:1000:16e2:613f:e17a:2207  prefixlen 64  scopeid 0x0<global> 
       ether 34:97:f6:63:13:c7  txqueuelen 1000  (Ethernet) 
       RX packets 77112  bytes 20588483 (20.5 MB) 
       RX errors 0  dropped 0  overruns 0  frame 0 
       TX packets 162279  bytes 229023638 (229.0 MB) 
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
**sudo nano /etc/resolv.conf**

# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0
search Home
**sudo nano /etc/network/interfaces**

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

所有文件均保持原始安装状态。

谢谢大家的帮助。

相关内容