arch用dhcpcd设置静态ip后无法上网
First Post:
Last Update:
Word Count:
Read Time:
Last Update:
Word Count:
67
Read Time:
1 min
arch用dhcpcd配置静态ip后无法上网,ping baidu.com提示消息Temporary failure in name resolution
原因是由于/etc/resolv.conf中的dns配置被覆盖
可创建/etc/resolv.conf.head和/etc/resolv.conf.tail写入nameserver xxx.xxx.xxx.xx解决覆盖问题