【故障案例】H3C WA2620-AGN固件损坏的恢复方法
【故障现象】
H3C wa2620-agn这款型号的AP,有时候会出现始终无法注册上,通过串口登录到如下界面就进不去bootware
============ boot-shim v5.02-RAM-128M startup... ========= The time of press reset button: < 5 seconds --- continuing execute go to safetyloader + ============ safetyloader v5.02-RAM-128M startup... ========= Ethernet eth0: MAC address 00:0d:0b:0a:01:01 IP: 169.254.2.111/255.255.255.0 == Executing application or web service in 2.000 seconds - enter ^C to abort
【故障处理过程及方法】
1、根据提示在启动的时候按ctrl+c,进入如下界面
============ safetyloader v5.02-RAM-128M startup... ========= Ethernet eth0: MAC address 00:0d:0b:0a:01:01 IP: 169.254.2.111/255.255.255.0 == Executing application or web service in 2.000 seconds - enter ^C to abort ^C SafetyLoader> ^C SafetyLoader> ^C SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> ? ** Error: Illegal command: "?" SafetyLoader> ? ** Error: Illegal command: "?" SafetyLoader> en ** Error: Illegal command: "en" SafetyLoader> sys ** Error: Illegal command: "sys " SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> SafetyLoader> 2 ** Error: Illegal command: "2" SafetyLoader> 1 ** Error: Illegal command: "1" SafetyLoader> ^C SafetyLoader> ^C SafetyLoader> SafetyLoader>
这里面基本上没有什么命令
不过在家一个字符一个字符的测试了下有这几个有用 f\h
SafetyLoader> f *** invalid 'fis' command: too few arguments Usage: fis create -b <mem_base> -l <image_length> [-s <data_length>] [-f <flash_addr>] [-e <entry_point>] [-r <ram_addr>] [-n] <name> fis erase -f <flash_addr> -l <length> fis fillpart -b <mem_base> -l <image_length> [-s <data_length>] [-f <flash_addr>] [-e <entry_point>] [-r <ram_addr>] [-n] <name> fis load [-d] [-b <memory_load_address>] [-c] name fis write -f <flash_addr> -b <mem_base> -l <image_length> SafetyLoader>
SafetyLoader> h Set/Query the system console baud rate baudrate [-b <rate>] Enable/Disable boot abort flag boot_abort [-s] [0|1] Initiate Board data bspinit Manage FLASH images fis {cmds} Execute code at a location go [-w <timeout>] [-c] [-n] [entry] Help about help? help [<topic>] Start web service to upgrade firmware start_web Load a file load [-r] [-v] [-d] [-h <host>] [-p <TCP port>][-m <varies>] [-c <channel_number>] [-b <base_address>] <file_name> Set/change MAC address mac_address [ -r | -s <XX:XX:XX:XX:XX:XX> ] Network connectivity test ping [-v] [-n <count>] [-l <length>] [-t <timeout>] [-r <rate>] [-i <IP_addr>] -h <IP_addr> Reset the system reset Set/change serial number serial_number [ -s <XXXXXX...> ] Display RedBoot version information version Display (hex dump) a range of memory x -b <location> [-l <length>] [-s] [-1|2|4] exec liteon's linux located ram execramlinux [-r <mem address>] SafetyLoader>
2、在h的命令提示下有一个start_web命令,敲上去开启web服务
SafetyLoader> star ** Error: Illegal command: "star " SafetyLoader> start_web Starting web service...... Please connect 169.254.2.111 with HTTP client ......
3、在电脑上给物理网卡配置与ip169.254.2.111为同一网段ip地址,在IE里面输入http://169.254.2.111会有如下因为提示,如下图
<a href="https://www.citynomads.cn/wp-content/uploads/2013/08/QQ截图20130821103408.png"><img class="alignnone size-medium wp-image-1591" title="H3C WA2620-AGN" src="https://www.citynomads.cn/wp-content/uploads/2013/08/QQ截图20130821103408-300x233.png" alt="" width="300" height="233" /></a>
When you see this screen, it means that the firmware of this device has been damaged. To recover the system, click the Browse button below to locate the firmware on your computer, then click Update and Reboot. Once the firmware is updated successfully, the device will automatically reboot.
这段话的意思就是说固件damaged了,可以通过上传文件来恢复固件。
4、剩下的事情就简单了,你要是有固件就上传下,如果成功的话会自动重启。没有的话,可以打800要。