问题分析:网关问题
step-1 打开终端 配置网关配置
sudo gedit /etc/resolv.conf
step-2 增加如下配置
nameserver 114.114.114.114
nameserver 8.8.8.8
完整配置如下
# 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
nameserver 114.114.114.114
nameserver 8.8.8.8
options edns0
重新尝试上网