OpenWrt 更新


好久没有更新路由器的版本,新年正好更新下。

1、检查现有版本

cat /etc/banner  #查询现有版本编号

DESIGNATED DRIVER (Bleeding Edge, xxxxx)  -- 我用的是snapshots版本,xxxxx为详细版本号

cat /proc/cpuinfo  #如果懒得去看路由器,可以直接查询硬件型号

system type : Atheros AR7161 rev 2 machine : NETGEAR WNDR3700/WNDR3800/WNDRMAC 和官网wiki信息对比: https://wiki.openwrt.org/toh/netgear/wndr3700 , 只有v1,v2两个型号。(差别是flash,直接用df命令进行比对,确认为v2版本)

2、下载对应版本及更新

去官网检索对应的固件,ar71xx系列地址: http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/

cd /tmp #下载固件文件 wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-wndr3700v2-squashfs-sysupgrade.bin #下载md5校验文件 wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/md5sums #md5校验 md5sum -c md5sums 2> /dev/null | grep OK

确认文件下载正常就可以刷入固件,因为3700v2的空间和内存足够,直接刷入。(建议使用有线状态刷入)

sysupgrade -v /tmp/openwrt-ar71xx-generic-wndr3700v2-squashfs-sysupgrade.bin

3、更新确认

cat /mnt/banner

_______ ________ __ | |.—–.—–.—–.| | | |.—-.| |_ | - || _ | -| || | | || _|| _| |_____|| |_||||____||| |__| || W I R E L E S S F R E E D O M —————————————————– DESIGNATED DRIVER (Bleeding Edge, 50082) ----------------------------------------------------- * 2 oz. Orange Juice Combine all juices in a * 2 oz. Pineapple Juice tall glass filled with * 2 oz. Grapefruit Juice ice, stir well. * 2 oz. Cranberry Juice —————————————————– 已经更新到r50082的版本。

comments powered by Disqus