ubuntu 20.04 可以上网,但是右上角网络图标显示问号
发表于 : 2021-03-28 9:13
Ubuntu 20.04网络是通的,所有上网功能都正常,但是网络图标上却是一个问号,就和无法访问互联网时一样。系统是如何判断更新这个图标的?
代码: 全选
nmcli -p n c check
connectivity [check]
Get network connectivity state. The optional check argument tells
NetworkManager to re-check the connectivity, else the most recent known
connectivity state is displayed without re-checking.
Possible states are:
none
the host is not connected to any network.
portal
the host is behind a captive portal and cannot reach the full Internet.
limited
the host is connected to a network, but it has no access to the
Internet.
full
the host is connected to a network and has full access to the Internet.
unknown
the connectivity status cannot be found out.
代码: 全选
nmcli -p c show
nmcli -p d show