開機運行程序
vi /etc//rc.local
在文件末尾添加自己的應用程序
還可開機掛載在磁盤
&後臺執行
mount /dev/mmcblk0p1 /mnt/sd
testapp &
exit 0
/******************************************************************/
網卡靜態地址設置
vi /etc/network/interfaces
添加如下設置
auto enx0023545cae96
iface enx0023545cae96 inet static
address 2.0.0.23
netmask 255.255.255.0
gateway 2.0.0.1
auto eth0
iface eth0 inet static
address 2.0.0.90
netmask 255.255.255.0
gateway 2.0.0.1