输入命令
udhcpc
可以看到返回:
root@imx6qsabresd:~# udhcpc
udhcpc (v1.24.1) started
Sending discover…
Sending select for 192.168.0.129…
Lease of 192.168.0.129 obtained, lease time 7200
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
root@imx6qsabresd:~#可以ping一下百度测试
ping
能够ping通