WA4320-ACN-E刷胖AP固件过程及问题

本文记录了一次H3C无线接入点(WA4320-ACN)从初始环境到完成固件升级的过程,包括解决升级过程中遇到的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、初始环境

****************************************************************************
*                                                                          *
*                H3C WA4320-ACN-E BootWare, Version 7.09    
*                                                                          *
****************************************************************************
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

Compiled Date       : Apr 20 2017
CPU Type            : ATHEROS AR9563
CPU L1 Cache        : 32KB
CPU Clock Speed     : 775MHz
Memory Type         : SDRAM
Memory Size         : 128MB
Memory Speed        : 560MHz
BootWare Size       : 512KB
Flash Size          : 16MB
PCB Version         : Ver.B

<H3C>dir
Directory of flash:
   0 -rw-         134 Sep 11 2018 07:50:27   ifindex.dat
   1 -rw-         932 Sep 11 2018 07:50:27   startup.cfg
   2 -rw-       26311 Sep 11 2018 07:50:27   startup.mdb
   3 -rw-     2650112 Jan 01 2014 00:01:22   wa4300s-boot.bin
   4 -rw-    10445824 Jan 01 2014 00:03:56   wa4300s-system.bin

15360 KB total (1976 KB free)

<H3C>dis boot-loader
Software images on the device:
Current software images:
  flash:/wa4300s-boot.bin
  flash:/wa4300s-system.bin
Main startup software images:
  flash:/wa4300s-boot.bin
  flash:/wa4300s-system.bin
Backup startup software images:
  None

二、升级过程

1.官方文档:

新华三-欢迎登录新华三官网    //固件下载及操作方法,账号:yx800  密码:01230123

2.一开始初始的系统不支持FTP及HTTP,首先尝试的,固件上传速度特别慢就放弃了(文档提示要改一下串口波特率,但我改了之后连不上,就改回来了)B.5.3 通过Console口使用XModem协议进行软件升级

3.再之后使用以太网口连接升级(AP上console、网口连接电脑,电脑)

B.5.2 通过以太网口使用TFTP/FTP协议进行软件升级

3.1首先配置电脑固定IP,搭建tftp服务器,下载固件保存在tftp目录下

 

 

 3.2上传FAT文件

3.2.1格式化释放存储空间

==========================<EXTENDED-BOOTWARE MENU>==========================
|<1> Boot System                                                           |
|<2> Enter Serial SubMenu                                                  |
|<3> Enter Ethernet SubMenu                                                |
|<4> File Control                                                          |
|<5> Restore to Factory Default Configuration                              |
|<6> Skip Current System Configuration                                     |
|<7> BootWare Operation Menu                                               |
|<8> Skip Authentication for Console Login                                 |
|<9> Storage Device Operation                                              |
|<0> Reboot                                                                |
============================================================================
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format File System
Ctrl+C: Display Copyright
Enter your choice(0-9): 
Warning:All files on flash will be lost! Are you sure to format? [Y/N]Y.....
............................................................................
..................
Format success.

3.2.2配置tftp参数

==========================<EXTENDED-BOOTWARE MENU>==========================
|<1> Boot System                                                           |
|<2> Enter Serial SubMenu                                                  |
|<3> Enter Ethernet SubMenu                                                |
|<4> File Control                                                          |
|<5> Restore to Factory Default Configuration                              |
|<6> Skip Current System Configuration                                     |
|<7> BootWare Operation Menu                                               |
|<8> Skip Authentication for Console Login                                 |
|<9> Storage Device Operation                                              |
|<0> Reboot                                                                |
============================================================================
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format File System
Ctrl+C: Display Copyright
Enter your choice(0-9): 3

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Image Program To SDRAM And Run                               |
|<2> Update Main Image File                                                |
|<3> Update Backup Image File                                              |
|<4> Download Files(*.*)                                                   |
|<5> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-5): 5

==========================<ETHERNET PARAMETER SET>==========================
|Note:       '.' = Clear field.                                            |
|            '-' = Go to previous field.                                   |
|         Ctrl+D = Quit.                                                   |
============================================================================
Protocol (FTP or TFTP) :tftp 
Load File Name         :WA4300S-CMW520-R1508P11-FAT.bin
                       :
Target File Name       :wa4300s_fat.bin
                       :
Server IP Address      :192.168.0.53 
Local IP Address       :192.168.0.50 
Subnet Mask            :255.255.255.0 
Gateway IP Address     :0.0.0.0 

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Image Program To SDRAM And Run                               |
|<2> Update Main Image File                                                |
|<3> Update Backup Image File                                              |
|<4> Download Files(*.*)                                                   |
|<5> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-5): 0

3.2.3上传胖AP文件

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Image Program To SDRAM And Run                               |
|<2> Update Main Image File                                                |
|<3> Update Backup Image File                                              |
|<4> Download Files(*.*)                                                   |
|<5> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-5): 2
Loading.....................................................................
............................................................................
............................................................................
..Done.
11281408 bytes downloaded!
Saving file flash:/wa4300s_fat.bin .........................................
............................................................................
...........................................................Done.
Set the file attribute failed!  //这里遇到第一个问题,文件可以成功上传,但是报错

3.2.4需要更新一下Extended BootWare版本

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Image Program To SDRAM And Run                               |
|<2> Update Main Image File                                                |
|<3> Update Backup Image File                                              |
|<4> Download Files(*.*)                                                   |
|<5> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-5): 1
Loading.....................................................................
............................................................................
............................................................................
..Done.
11281408 bytes downloaded!
Extended BootWare Version is not equal,updating? [Y/N]
Updating Extended BootWare..........Done.
BootWare updated,System is rebooting now.
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare
The Extend BootWare is self-decompressing.............................Done!

****************************************************************************
*                                                                          *
*                H3C WA4320-ACN-E BootWare, Version 1.06                   *
*                                                                          *
****************************************************************************
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

Compiled Date       : Mar 27 2017
CPU Type            : ATHEROS AR9563
CPU L1 Cache        : 32KB
CPU Clock Speed     : 775MHz
Memory Type         : SDRAM
Memory Size         : 128MB
Memory Speed        : 560MHz
BootWare Size       : 512KB
Flash Size          : 16MB
PCB Version         : Ver.B

BootWare Validating...
Press Ctrl+B to enter extended boot menu...
BootWare password: Not required. Please press Enter to continue.

Password recovery capability is enabled.
Note: The current operating device is flash
Enter < Storage Device Operation > to select device.
 

3.2.5更新之后需要重新配置TFTP参数,重新上传胖AP文件

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Application Program To SDRAM And Run                         |
|<2> Update Main Application File                                          |
|<3> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-3): 3

==========================<ETHERNET PARAMETER SET>==========================
|Note:       '.' = Clear field.                                            |
|            '-' = Go to previous field.                                   |
|          Ctrl+D = Quit.                                                  |
============================================================================
Protocol (FTP or TFTP) :tftp 
Load File Name         :host
                       :WA4300S-CMW520-R1508P11-FAT.bin
Target File Name       :target
                       :wa4300s_fat.bin
Server IP Address      :192.168.1.1 192.168.0.53
Local IP Address       :192.168.1.253 192.168.0.50
Gateway IP Address     :0.0.0.0 

===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System                                                           |
|<2> Enter Serial SubMenu                                                  |
|<3> Enter Ethernet SubMenu                                                |
|<4> File Control                                                          |
|<5> Restore to Factory Default Configuration                              |
|<6> Skip Current System Configuration                                     |
|<7> BootWare Operation Menu                                               |
|<8> Clear Super Password                                                  |
|<9> Storage Device Operation                                              |
|<0> Reboot                                                                |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 3

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Application Program To SDRAM And Run                         |
|<2> Update Main Application File                                          |
|<3> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-3): 2
Loading.....................................................................
............................................................................
............................................................................
..Done!
11281408 bytes downloaded!
Updating File flash:/wa4300s_fat.bin
The space is not enough //存储空间不足,CTRL+F格式化之后重新上传一次就成功了
Failed!

3.2.6 格式化,上传

===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System                                                           |
|<2> Enter Serial SubMenu                                                  |
|<3> Enter Ethernet SubMenu                                                |
|<4> File Control                                                          |
|<5> Restore to Factory Default Configuration                              |
|<6> Skip Current System Configuration                                     |
|<7> BootWare Operation Menu                                               |
|<8> Clear Super Password                                                  |
|<9> Storage Device Operation                                              |
|<0> Reboot                                                                |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9):

Warning:All files on flash will be lost! Are you sure to format? [Y/N]Y.....
............................................................................
..................
Format success.

===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System                                                           |
|<2> Enter Serial SubMenu                                                  |
|<3> Enter Ethernet SubMenu                                                |
|<4> File Control                                                          |
|<5> Restore to Factory Default Configuration                              |
|<6> Skip Current System Configuration                                     |
|<7> BootWare Operation Menu                                               |
|<8> Clear Super Password                                                  |
|<9> Storage Device Operation                                              |
|<0> Reboot                                                                |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 3

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Application Program To SDRAM And Run                         |
|<2> Update Main Application File                                          |
|<3> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-3): 2
Loading.....................................................................
............................................................................
............................................................................
..Done!
11281408 bytes downloaded!
Updating File flash:/wa4300s_fat.bin........................................
............................................................................
..........................................................Done!

==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash                                        |
|<1> Download Application Program To SDRAM And Run                         |
|<2> Update Main Application File                                          |
|<3> Modify Ethernet Parameter                                             |
|<0> Exit To Main Menu                                                     |
|<Ensure The Parameter Be Modified Before Downloading!>                    |
============================================================================
Enter your choice(0-3): 0

===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System                                                           |
|<2> Enter Serial SubMenu                                                  |
|<3> Enter Ethernet SubMenu                                                |
|<4> File Control                                                          |
|<5> Restore to Factory Default Configuration                              |
|<6> Skip Current System Configuration                                     |
|<7> BootWare Operation Menu                                               |
|<8> Clear Super Password                                                  |
|<9> Storage Device Operation                                              |
|<0> Reboot                                                                |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 0
System is starting...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值