vim /etc/network/interfaces
然后修改静态的 DNS
vim /etc/resolv.conf
最后重启网卡,使配置生效
/etc/init.d/networking restart
原文链接:https://www.f2er.com/ubuntu/352648.htmlvim /etc/network/interfaces
然后修改静态的 DNS
vim /etc/resolv.conf
最后重启网卡,使配置生效
/etc/init.d/networking restart
原文链接:https://www.f2er.com/ubuntu/352648.html