得到一个dhcp的IP确定,但DNS没有解析。
2部分问题:
注意,我更愿意通过cli而不是gui来完成这个任务。
谢谢!
路易斯
发布于 2015-05-14 17:01:04
要回答您问题的第2部分,您可以编辑/etc/network/interfaces,并添加以下一行:
dns-nameservers 8.8.8.8 4.2.2.2因此,您的接口文件如下所示:
auto <interfacename>
iface <interfacename> inet dhcp
dns-nameservers 8.8.8.8 4.2.2.2确保将< interfacename >替换为wlan0或调用wifi接口的任何内容。
https://askubuntu.com/questions/623704
复制相似问题