成功解决解决虚拟机网络信息不可用

在虚拟机上使用Ubuntu时遇到一个问题,Ubuntu系统内无WiFi图标,虚拟机显示网络信息不可用。

解决方案:
在终端输入

sudo dhclient ens33
sudo ifconfig ens33
ip addr

通过此操作Ubuntu成功连接到网络,但是依旧没有WiFi图标,且重启之后需要通过相同的操作才能链接到网络。
再次在终端输入

sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager start

后,成功解决问题。
参考链接
1.https://blog.csdn.net/weixin_48571609/article/details/108669476?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522163310196916780366582854%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=163310196916780366582854&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~rank_v31_ecpm-1-108669476.pc_search_result_cache&utm_term=%E8%99%9A%E6%8B%9F%E6%9C%BA%E7%BD%91%E7%BB%9C%E4%BF%A1%E6%81%AF%E4%B8%8D%E5%8F%AF%E7%94%A8&spm=1018.2226.3001.4187
2.https://blog.csdn.net/qq_45488453/article/details/108453631?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522163310309916780264033861%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=163310309916780264033861&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~rank_v31_ecpm-1-108453631.pc_search_result_cache&utm_term=ubuntu%E6%B2%A1%E6%9C%89wifi%E5%9B%BE%E6%A0%87&spm=1018.2226.3001.4187

你可能感兴趣的:(教程,问题,ubuntu,linux,虚拟机,网络)