【创龙TL570x-EVM】解决ping 域名不通问题
<p>准备用Python pip安装模块,提示'<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object></p><p>找了好久,感觉是没有找到域名,于是查看网线络什么都都正常。ping www.baidu.com提示不通。是不是dns没有设置,查看文件/etc/resolv.conf出现错误</p>
<p>root@AM57xx-Tronlong:/etc# cat /etc/resolv.conf<br />
cat: can't open '/etc/resolv.conf': No such file or directory<br />
新建/etc/resolv.conf</p>
<p>nameserver 202.103.224.68<br />
nameserver 192.168.3.1<br />
保存后,解解dns问题:</p>
<pre>
<code>root@AM57xx-Tronlong:/etc# ping www.baidu.com
PING www.baidu.com (14.215.177.38): 56 data bytes
64 bytes from 14.215.177.38: seq=0 ttl=54 time=28.228 ms
64 bytes from 14.215.177.38: seq=1 ttl=54 time=28.149 ms
64 bytes from 14.215.177.38: seq=2 ttl=54 time=28.023 ms
64 bytes from 14.215.177.38: seq=3 ttl=54 time=28.374 ms
</code></pre>
<p>【总结】这个系统还有好些东西没有齐全,要解决问题,还要花很大的代价。<br />
</p>
页:
[1]