设备信息
系统版本 Ubuntu 18.04.3 LTS
华硕主板
问题描述
网络连接原本正常,在某时突然无法连接网络。右上角 wifi icon 上显示一个问号。
Ping 有道翻译的 IP 61.135.248.17
ping 61.135.248.17
可以 ping 通
但使用 tracepath
tracepath 61.135.248.17
却显示 not rely。
解决办法
有效的解决办法:
编辑 /etc/resolv.conf
sudo vim /etc/resolv.conf
添加如下两行
nameserver 8.8.8.8
nameserver 114.114.114.114
然后重启网络服务
service networking restart
问题解决,网络可正常连接
一些无效尝试:
- 在 Settings 中关闭 Connectivity Checking
此方法应该是用来解决虽然 wifi icon 上有问号,但网络可正常连接的 false alarm 的情况 - Check device, check module, check driver, etc. etc.
在网络可以 ping 通的情况下,这些检查不需要进行