我的TL-WR703N路由器运行不稳定,就准备尝试刷最新的OpenWRT,看看能否好一点。
一个 TP-Link TL-WR703N 路由器,确保固件版本为 3.17.1 Build 140120 Rel.56593n
TL-WR703N 的 openwrt 固件 openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
1 2 3 4
|
# 下载openwrt固件并拆分成两份(因为wr703n的内存很小,可能传输的时候传不了整个文件) curl https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin -o openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin dd if=openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin of=i1 bs=1 count=1048576 dd if=openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin of=i2 bs=1 skip=1048576
|
TFTP 服务器
1 2
|
# 安装TFTP的客户端和服务器端 sudo apt-get install atftp atftpd
|
busybox 1.16.1 MIPS 版
1
|
curl https://busybox.net/downloads/binaries/1.21.1/busybox-mips > busybox
|
编写Hack脚本
1 2 3 4 5 6 7 8
|
cd /tmp tftp -gl i1 192.168.1.100 # 把i1从tftp服务器下载下来,这里的ip应该是,你的tftp服务器连接路由器之后,ifconfig看到的ip tftp -gl i2 192.168.1.100 # 把i2从tftp服务器下载下来 tftp -gl busybox 192.168.1.100 # 把busybox从tftp服务器下载下来 chmod 755 busybox # 修改busybox权限以执行命令 ./busybox dd if=i1 of=/dev/mtdblock1 conv=fsync # 将i1写入磁盘分区 ./busybox dd if=i2 of=/dev/mtdblock2 conv=fsync # 将i2写入磁盘分区 reboot -f # 重启,会启动openwrt
|
给 v1.7 版本的 TL-WR703N 刷 openwrt
,by Cubic Zone.
TL-WR703N v1.7刷openwrt
,by 梦里茶.
TP-Link TL-WR703N
,by openwrt.
Debian安装配置使用TFTP
,by jack huang.
Packet Traveling
,by ed harmoush.