Answers:
在Ubuntu 16.04和更高版本中,可以使用sytemctl重新启动NetworkManager(至少在使用手动扫描网络之后iwlist
):
# Find the name of the network interface, e.g. wlan0 or wlp3s0
ip addr show
# Scan for WLAN networks (replace wlan0 by the correct interface)
sudo iwlist wlan0 scan
# Restart Ubuntu’s Network Manager so it reloads the Access Point list
sudo systemctl restart NetworkManager