安装Luci

git下载luci:
git clone https://github.com/openwrt/luci.git

openwrt安装luci:
feeds.conf.default (or feeds.conf) 默认已经有
src-git luci https://github.com/openwrt/luci.git 不用管

./scripts/feeds update luci
./scripts/feeds install -a -p luci

查看AP上接入的STA

iwinfo wlan0 assoclist
cat /proc/net/arp 没有ping读不到
cat /tmp/dhcp.leases 静态IP读不到

sysupgrade更新固件

linux系统中,scp命令行传文件:
scp openwrt-ar71xx-generic-tl-wr720n-v4-squashfs-sysupgrade.bin [email protected]:/tmp

登录到路由器中,执行升级命令
升级时保留配置:
sysupgrade -i /tmp/openwrt-ar71xx-generic-tl-wr720n-v4-
squashfs-sysupgrade.bin
openwrt使用相关

不保留配置:
sysupgrade -n /tmp/openwrt-ar71xx-generic-tl-wr720n-v4-squashfs-sysupgrade.bin

-c参数

相关文章: