tplink841v8路由器通过telnet更新固件 file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image002.gif openwrt固件在做操作前最好复位一次路由 file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image004.jpg 然后打开telnet与SSH服务 file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image006.jpgfile:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image008.jpg
打开cmd窗口输入telnet 192.168.1.1 login as:root password: 密码输入admin 在这里不显示,输入后恩回车就看到下面的一些字 login OK... _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D OM ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r34198) ----------------------------------------------------- *1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 11/2 oz Dark Rum with crushed ice. Stir. * 2tsp. Creme de Cacao ----------------------------------------------------- BusyBox v1.19.4(2012-10-25 22:06:57 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. 接着输入cat/proc/mtd来查看路由的mtd分区表,如下 /www # cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "u-boot" mtd1: 000df898 00010000 "kernel" mtd2: 006f076800010000 "rootfs" mtd3: 00050000 00010000"rootfs_data" mtd4: 00010000 00010000 "art" mtd5: 007d0000 00010000"firmware" mtd6: 00800000 00010000"fullflash" /www # dd if=/dev/mtd6of=/tmp/fullflash.bin 编程器固件。意思是复制mtd6区域的内容到tmp文件夹下的fullflash.bin文件 16384+0 records in 16384+0 records out /www # dd if=/dev/mtd5 of=/tmp/firmware.bin不带uboot的固件。使用方法同上,下面一样 16000+0 records in 16000+0 records out /www # dd if=/dev/mtd0 of=/tmp/uboot.bin 256+0 records in 256+0 records out /www # dd if=/dev/mtd4 of=/tmp/art.bin 128+0 records in 128+0 records out 备份所需要的数据。 然后用winscp下载到本地硬盘里面保存。 file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image010.jpg 现在开始进行刷路由器固件。。固件来源是从坛子里下载的 file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image012.jpg 然后这个软件就可以最小化或者关闭了。 接下来用telnet查看下tmp文件夹下面是否正确 /www # cd /tmp /tmp # ls 3g.sh lock op.bin restartsamba TZ log openwifi run dhcp.leases luci-indexcache overlay smb.conf.template dropbear luci-modulecache proto_3g.lua spool etc luci-sessions resolv.conf state fstab nmbd resolv.conf.auto sysinfo /tmp # op.bin已经能看到了。 接下来输入命令开刷。mtd –rwrite /tmp/op.bin firmware file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image014.jpg 稍等一会会,刷机完毕提示如下。。 Writing from /tmp/op.bin to firmware ... Rebooting ... 失去了跟主机的连接。 C:\Documents and Settings\Administrator> 再次使用telnet192.168.1.1登录进如有查看下 === IMPORTANT ============================ Use'passwd' to set your login password this will disable telnet and enable SSH ------------------------------------------ BusyBox v1.19.4(2013-07-14 01:00:25 CST) built-in shell (ash) Enter 'help' for a list of built-incommands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D OM ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r34839) ----------------------------------------------------- *1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 11/2 oz Dark Rum with crushed ice. Stir. * 2tsp. Creme de Cacao ----------------------------------------------------- root@OpenWrt:/# cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "u-boot" mtd1: 000dfbf8 00010000 "kernel" mtd2: 006f040800010000 "rootfs" mtd3: 00290000 00010000"rootfs_data" mtd4: 00010000 00010000 "art" mtd5: 007d0000 00010000"firmware" root@OpenWrt:/# 貌似刷的这个版本不带有fullflash分区,也就是没有编程器分区。。 来看一下这个版本的固件 file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image016.gif 密码admin file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image018.gif 完全能识别64m内存,挺不错的。
|