1.燒arm linux內核
插入SD卡
上電,不斷按空格直到出U-boot
run xflash
等安裝完,重啓OK
2.修改靜態ip
vi /etc/network/interfaces
同一網段
iface eth0 inet static
address 10.0.0.61
gateway 10.0.0.1
netmask 255.255.255.0
修改完,重啓。ifconfig看ip。ping baidu.com通了就連外網正常。
3.複製程序腳本等到/home/root下,運行自動腳本auto.txt,重啓,完成。
附:使用puty.exe連串口 RS232連shell調試 。
設置com?115200,流量控制無 會話選串口模式 ,打開。
按enter會響應。
附:能ping通ip,ping不通域名
域名解析不對。
vi /etc/resolv.conf
內容改爲
nameserver 114.114.114.114
nameserver 123.125.81.6
就正常了。