Ruckus R550 升级固件

Ruckus R550 升级固件

选择固件

你会发现,怎么也过不去,开始以为是苹果浏览器问题,后来换了微软浏览器也不行。

使用WEB 界面升级固件失败,使用开发者工具调试模式,发现端倪

解决方案,使用命令升级

准备一个WEB服务器或者使用FTP,TFTP等等都可以,将固件复制到WEB服务器上。

neo@Neo-Mac-mini R550 % scp R550_200.15.6.212.14.bl7 git@www.netkiller.cn:/opt/nginx/image/

上传完成之后,确认文件下载没有问题

wget http:/www.netkiller.cn/R550_200.15.6.212.14.bl7

下载成功后,进行固件升级

登陆 Ruckus R550 AP

neo@Neo-Mac-mini ~ % ssh 172.16.0.15
Please login: admin
Password: 
Welcome to Ruckus Unleashed Network Command Line Interface
ruckus>

进入 AP 模式

ruckus> enable 
ruckus# 

ruckus# ap-mode 
You have all rights in this mode.
ruckus(ap-mode)# 


ruckus(ap-mode)# fw set host www.netkiller.cn
Host: www.netkiller.cn
OK
ruckus(ap-mode)# fw set proto http
OK
ruckus(ap-mode)# fw set control R550_200.15.6.212.14.bl7
Control file: R550_200.15.6.212.14.bl7
OK
ruckus(ap-mode)# fw update         
fw: Updating rcks_wlan.bkup ...
v54_fw_update: download www.netkiller.cn section=rcks_fw.main image=Image2 ctl_file=R550_200.15.6.212.14.bl7 (/writable/fw/main.cntl) local=0
NET_CLOSE() rc1=22
rks_fw_update.c:4059 v54_check_fw() Control file Parse Error (applicable for controller upgrade only)
net_get_flash_ubi(img.aigcsst.com, R550_200.15.6.212.14.bl7, rcks_wlan.bkup,, 0)
flash id is 0
imghdr.{hdr_len=160, bin_len=60866400}
fw_flash_read_open: kernel open(/dev/ubi0_0) rootfs open(/dev/ubi0_1)
fw_flash_read_open: kernel open(/dev/ubi1_0) rootfs open(/dev/ubi1_1)
flash id is 0

Image2 FW check ...

MD5 = 
542063cf93a22e4a186e130ee0038480
tail_offset 0 bin_len 60866400 sign 2.
net_get_flash_ubi, Upgrading from Fully Signed Image(FSI) to Fully Signed Image(FSI) image.
fw_ubi_write_open: kernel open(/dev/ubi1_0)
fw_ubi_write_open: rootfs open(/dev/ubi1_1)


Flashing KERNEL image(4.13MB)
[====================================================================================================] 100 

Flashing ROOTFS image(53.92MB)
[========================>                                                                           ] 24 

Reading Image TAIL:-
TLV No-1.TLV INFO 
  Number of TLVS in Tail is 4.
  Size of Tail is 3165.
len 9 tail_len = 9
2. SIGNATURE FOR SHA256 OBTAINED SUCCESSFULLY
len 515 tail_len = 524
	cert len 2118 pass
3. CERTICATE OBTAINED SUCCESSFULLY
len 2121 tail_len = 2645
4. SIGNATURE FOR SHA384 OBTAINED SUCCESSFULLY
len 515 tail_len = 3160
Unknown TLV in the Tail =5 2 0 74.
len 5 tail_len = 3165


MD5 Checksum successful!!!!!!!!! 

Checking Image hash:-
1. Obtaining public key from Certificate.
	Executing openssl x509 -in /tmp/in_cert.pem -pubkey -noout >/tmp/pubkey.pem
	line: Certificate will not expire

  Certificate validity verified.
	line: /tmp/in_cert.pem: OK

2. Public key verified.
3. Decrypting the sha256 Image signature.
	Executing openssl rsautl -verify -pubin -inkey /tmp/pubkey.pem -in /tmp/signsure.bin -out /tmp/ext_sha256.
3.1 Comparing the signatures:-
  IMAGE TAIL SHA256 :
	25671640a1e699e3ed73c1d6749119392bea1e2dd5c23f7a6ff2d5af3d5fcfb6
  CALC SHA256 :
	25671640a1e699e3ed73c1d6749119392bea1e2dd5c23f7a6ff2d5af3d5fcfb6
	 SHA256 HASH CHECK PASSED.

4. Decrypting the sha384 Image signature.
	Executing openssl rsautl -verify -pubin -inkey /tmp/pubkey.pem -in /tmp/signsure_sha384.bin -out /tmp/ext_sha384.
4.1 Comparing the signatures:-
  IMAGE TAIL SHA384 :
	5fcf02eb86ba8b86ca6e8a0e50adacd5e635167b954cbbff740c62cc65c94f5bc27266c81566156fcc8f63d04ed6e15c
  CALC SHA384 :
	5fcf02eb86ba8b86ca6e8a0e50adacd5e635167b954cbbff740c62cc65c94f5bc27266c81566156fcc8f63d04ed6e15c
	 SHA384 HASH CHECK PASSED.

AIS cleanup : Completed
bdSave: sizeof(bd)=0x7c, sizeof(rbd)=0xd0
  caching flash data from /dev/mtd16 [ 0x00000000 - 0x00010000 ]
  updating flash data [0x00008000 - 0x000080d0] from [0x7eb8f948 - 0x7eb8fa18]
_erase_flash: offset=0x0 count=1
Erasing 64 Kibyte @ 0 -- 100 % complete 
  caching flash data from /dev/mtd16 [ 0x00000000 - 0x00010000 ]
  verifying flash data [0x00008000 - 0x000080d0] from [0x7eb8f948 - 0x7eb8fa18]
**fw(12428) : Completed
ruckus(ap-mode)# 

这里看到 Completed 表示升级完成,最后一步是重启设备

ruckus(ap-mode)# reboot
OK
ruckus(ap-mode)# Connection to 172.16.0.15 closed by remote host.
Connection to 172.16.0.15 closed.

检查升级情况

neo@Neo-Mac-mini ~ % ssh 172.16.0.15

Please login: admin
Password: 
Welcome to Ruckus Unleashed Network Command Line Interface
ruckus> enable 
ruckus# show sysinfo
System Overview:
  Name= Ruckus-Unleashed
  IP Address= 172.16.0.15
  MAC Address= 38:45:3b:22:22:c0
  Uptime= 3m
  Model= r550
  Serial Number= 232102009559
  Version= 200.15.6.212 build 14
 
Devices Overview:
  Number of APs= 1
  Number of Client Devices= 0
  Number of Rogue Devices= 3
 
Usage Summary:
  Usage of 1 hr:
    Max. Concurrent Users= 0
    Bytes Transmitted= 0B
    Number of Rogue Devices= 3
  Usage of 24 hr:
    Max. Concurrent Users= 0
    Bytes Transmitted= 0B
    Number of Rogue Devices= 3
 
Memory Utilization:
  Used Bytes= 424848(kB)
  Used Percentage= 54%
  Free Bytes= 366968(kB)
  Free Percentage= 46%
 
我们可以看到 Version= 200.15.6.212 build 14,这是升级后的版本。

此时WEB界面查看版本如下

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

netkiller-

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值