开机运行程序
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