查看网关 gate way route -n 查看DNS服务器 sudo cat /etc/resolv.conf 列出所有网卡 ifconfig | cat | grep -E "^[[:graph:]]" | sed 's/:.*//g' ls /sys/class/net
启动python http server 检测连通性
python3 -m http.server 8009
python2 python -m SimpleHTTPServer 9008