linux不能上网怎么修复
发布时间:2017-06-08 12:14
相关话题
我们在用虚拟机上网的时候,总是出现linux不能上网的错误,该怎么办?下面小编给大家讲解一下关于linux不能上网的解决方法,希望大家喜欢!
linux不能上网的解决方法
1、Linux网络设置:
依次单击【System】-->【Preferences】-->【Network Connections】,如下图所示:

依次单击【Wired】-->【System eth0】-->【Edit】,如下图所示:

勾选【Connect automaticlly】,然后点击【IPv4 Settings】,在下面的Method中选择【Automatic(DHCP)】,最后点击【Apply】,如下图所示:

2、恢复虚拟网络默认设置(在断网状态下):
依次单击【编辑】-->【虚拟网络编辑器】,如下图所示:

点击【恢复默认设置】,如下图所示:

3、设置虚拟机上网方式为NAT:
在虚拟机关机状态下,双击【网络适配器】,如下图所示:

勾选【启动时连接】,选中【NAT模式】,最后点击【确定】如下图所示:

4、见证成果:
在经过以上的设置之后,先在宿主机上联入互联网,然后启动虚拟机Linux,什么也不用做,直接打开Firefox就可以网上冲浪了。
linux不能上网怎么修复的评论条评论