找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2992|回复: 8

求助,思科mr33刷机,进入了openwrt的root,如何刷写

[复制链接]
本帖最后由 linefly 于 2019-7-28 12:43 编辑

如题:
思科MR33拿到了ROOT权限,但是不知道该如何刷入固件,使用wget通过http写入内存,再mtd write后重启,重启又回官方固件了。

代码如下:

busyBox v1.19.4 (2016-08-17 13:40:35 CST) built-in shell (ash)                  
Enter 'help' for a list of built-in commands.                                   
                                                                                
  _______                     ________        __                                
|       |.-----.-----.-----.|  |  |  |.----.|  |_                              
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|                             
|_______||   __|_____|__|__||________||__|  |____|                             
          |__| W I R E L E S S   F R E E D O M                                 
-----------------------------------------------------                          
ATTITUDE ADJUSTMENT (master, f228337)                                          
-----------------------------------------------------                          
  * 1/4 oz Vodka      Pour all ingredients into mixing                          
  * 1/4 oz Gin        tin with ice, strain into glass.                          
  * 1/4 oz Amaretto                                                            
  * 1/4 oz Triple sec                                                           
  * 1/4 oz Peach schnapps                                                      
  * 1/4 oz Sour mix                                                            
  * 1 splash Cranberry juice                                                   
-----------------------------------------------------                          
root@OpenWrt:/# ls                                                              
bin      etc      lib      overlay  rom      sbin     tmp      var              
dev      init     mnt      proc     root     sys      usr      www              
root@OpenWrt:/# cat /proc/mtd                                                   
dev:    size   erasesize  name                                                  
mtd0: 00080000 00020000 "0:ART"                          var              
dev      init     mnt      proc     root     sys      usr      www              
root@OpenWrt:/# cat /proc/mtd                                                   
dev:    size   erasesize  name                                                  
mtd0: 00080000 00020000 "0:ART"                                                   
-----------------------------------------------------                          
root@OpenWrt:/# ls                                                              
bin      etc      lib      overlay  rom      sbin     tmp      var              
dev      init     mnt      proc     root     sys      usr      www              
root@OpenWrt:/# cat /proc/mtd                                                   
dev:    size   erasesize  name                                                  
mtd0: 00080000 00020000 "0:ART"                      __||__|  |____|                             
          |__| W I R E L E S S   F R E E D O M                                 
-----------------------------------------------------                          
ATTITUDE ADJUSTMENT (master, f228337)                                          
-----------------------------------------------------                          
  * 1/4 oz Vodka      Pour all ingredients into mixing                          
  * 1/4 oz Gin        tin with ice, strain into glass.                          
  * 1/4 oz Amaretto                                                            
  * 1/4 oz Triple sec                                                           
  * 1/4 oz Peach schnapps                                                      
  * 1/4 oz Sour mix                                                            
  * 1 splash Cranberry juice                                                   
-----------------------------------------------------                          
root@OpenWrt:/# ls                                                              
bin      etc      lib      overlay  rom      sbin     tmp      var              
dev      init     mnt      proc     root     sys      usr      www              
root@OpenWrt:/# cat /proc/mtd                                                   
dev:    size   erasesize  name                                                  
mtd0: 00080000 00020000 "0:ART"                                                
root@OpenWrt:/#



目前手上有itb和bin文件,实在是没办法了,求会的兄弟帮一下。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
本帖最后由 thorn 于 2019-8-2 12:28 编辑

昨天刚刚刷过一台MR33
考虑到买不起cisco的授权
所以就不保留原厂固件了

1.显示所有的UBI分区
ubinfo -a | grep -e "Volume ID" -e "Size" -e "Name"
2. 删掉除了“ART”以外所有的分区(看楼主的帖子里面,貌似已经做过了,所以本步骤可以跳过)
比如:
      ubirmvol /dev/ubi0 -n 1
    ...
3.装Fallback
    root@OpenWrt:/# file="path/to/openwrt-ipq40xx-meraki_mr33-initramfs-fit-uImage.itb"
    root@OpenWrt:/# size=$(cat "$file" | wc -c)
    root@OpenWrt:/# ubimkvol /dev/ubi0 --size=$size --type=static --name=part.old
          Volume ID 99, size 49 LEBs (6221824 bytes, 5.9 MiB), LEB size 126976 bytes (124.0 KiB), static, name "part.old", alignment 1
    请注意这个结果里面的ID编号,后面的操作把99换成实际输出的ID
    root@OpenWrt:/# ubiupdatevol /dev/ubi0_99 "$file"

4.安装openwrt

     root@OpenWrt:/# sysupgrade -v openwrt-ipq40xx-meraki_mr33-squashfs-sysupgrade.bin


完成。。。。

点评

大神能发个mr33 刷Openwrt的教程吗!997007929@qq.com.  详情 回复 发表于 2020-6-13 16:41
很久没上来了,刚看到回复,谢谢,很久没弄了,我找时间再去弄一下。  详情 回复 发表于 2019-12-8 17:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
thorn 发表于 2019-8-2 12:22
昨天刚刚刷过一台MR33
考虑到买不起cisco的授权
所以就不保留原厂固件了

很久没上来了,刚看到回复,谢谢,很久没弄了,我找时间再去弄一下。

点评

楼主刷成功了吗!能发个教程吗  详情 回复 发表于 2020-6-13 16:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
linefly 发表于 2019-12-8 17:31
很久没上来了,刚看到回复,谢谢,很久没弄了,我找时间再去弄一下。

楼主刷成功了吗!能发个教程吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
thorn 发表于 2019-8-2 12:22
昨天刚刚刷过一台MR33
考虑到买不起cisco的授权
所以就不保留原厂固件了

大神能发个mr33 刷Openwrt的教程吗!997007929@qq.com.

点评

有个教程,但是新版的官方固件封了刷新的漏洞,可能刷不了了,你要的话可以找我。  详情 回复 发表于 2020-11-18 17:09
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
少引诱我 发表于 2020-6-13 16:41
大神能发个mr33 刷Openwrt的教程吗!997007929@qq.com.

有个教程,但是新版的官方固件封了刷新的漏洞,可能刷不了了,你要的话可以找我。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

大佬,你最后是否成功了???

点评

一台成功一台不成功...  详情 回复 发表于 2022-3-26 17:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
灬飞影丨冥殇丶 发表于 2021-12-22 16:43
大佬,你最后是否成功了???

一台成功一台不成功...

点评

hap
你好, 方便发一下MR33的教程吗? 谢谢.  详情 回复 发表于 2023-3-12 13:09
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

linefly 发表于 2022-3-26 17:16
一台成功一台不成功...

你好, 方便发一下MR33的教程吗? 谢谢.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 21:11

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表