最近在树莓派上安装了Linux系统,配置完网络后发现ping不通baidu,提示:

Temporary failure in name resolution

编辑 /etc/dhcpcd.conf 文件,修改或添加static domian_name_servers

sudo nano /etc/dhcpcd.conf

static domain_name_servers=202.106.0.20, 8.8.8.8, 8.8.4.4

然后重启系统

Logo

更多推荐