下載PandoraBox固件
http://downloads.pandorabox.com.cn/pandorabox/
小米路由刷ROM
mtd -r write /tmp/PandoraBox-ralink-xiaomi-mini-r355-20150114.bin firmware
設(shè)置時(shí)間
date -s "2016-11-11 19:52:00"
配置opkg源及兼容性
vi /etc/opkg.conf
src/gz pandorabox http://downloads.openwrt.org.cn/PandoraBox/ralink/mt7620/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 100
arch noarch 200
arch ralink 300
arch ramips_24kec 400
查看連接主機(jī)
cat /proc/net/arp
cat /tmp/dhcp.leases
查看連接數(shù)
netstat -na|grep ESTABLISHED|wc -l
netstat -na|grep 192.168.32.142|wc -l
開機(jī)自啟腳本
/etc/rc.local
限制MAC地址
iptables -A INPUT -m mac --mac-source 00:0F:EA:91:04:08 -j DROP
配置ChinaDNS
https://github.com/clowwindy/ChinaDNS