华为AP管理密码丢失

一台华为5030DN的AP设备管理密码丢失,找回步骤:

连接无线AP的Console口,打开管理终端,重启设备,终端显示如下:

Starting kernel ...

Booting QCA955x
init_bsp_adapter ...OK.
mm_init ...OK.
sched_init ...OK.
softirq_init ...OK.
console_init ...OK.
thread_info_cache_init ...OK.
fork_init ...OK.
dbg_late_init ...OK.
imv_init_complete ...OK.
Linux version 2.6.34.15-WR4.3.0.0_standard (gcc version 4.8.1 (GCC) ) 
#1 PREEMPT Mon Feb 26 21:32:12 CST 2018
flash_size passed from bootloader = 32 MB
arg 1: console=ttyS0,9600
arg 2: root=/dev/mtdblock5
arg 3: rootfstype=squashfs
arg 4: init=/sbin/init
arg 5: mtdparts=ath-nor0:512k(BiosA),128k(BootupA),128k(BootupB),128k(BootEnv),128k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(ResultA),128k(ResultB),12288k(SysImageB),3072k(configB),256k(ArtArgs);
arg 6: mem=254M
cpu apb ddr apb cpu-720MHZ,ddr-600MHZ,ahb-200MHZ
Zone PFN ranges:
  Normal   0x00000000 -> 0x0000fe00
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x0000fe00
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64516
Kernel command line: console=ttyS0,9600 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:512k(BiosA),128k(BootupA),128k(BootupB),128k(BootEnv),128k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(ResultA),128k(ResultB),12288k(SysImageB),3072k(configB),256k(ArtArgs); mem=254M 
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
FWD_MEM: aligned address 82000000 
FWD_MEM: 02000000 
FWD_MEM: Allocating 64MB (16384 pages) of memory at addr 82000000

the pci irq_base value: 75

the pci irq_base value: 75
plat_time_init:.............................................................done
Mount-cache hash table entries: 512
Registering WDT.............................................................done
ath_pcibios_init: bus 0
PCI init:...................................................................done
ath_pcibios_init(242): PCI 0 CMD write: 0x356
registering PCI controller with io_map_base unset
ath_pcibios_init: bus 1
***** Warning PCIe 1 H/W not found !!!
registering PCI controller with io_map_base unset
bio: creatDRAM Parameter:
    Tap(low, high): 0x3-0x1d
    Tap values: 0x10-0x10-0x10-0x10
DRAM:  256 MB
Press CTRL+T for Full Memory Test in 1 Seconds:  0 
Start up the normal boot...
DRAM Parameter:
    Tap(low, high): 0x3-0x1d
    Tap values: 0x10-0x10-0x10-0x10
DRAM:  256 MB
Press CTRL+T for Full Memory Test in 1 Seconds:  0 


       ************************************************************
       **********************    *********    *********************
       ********************       *******       *******************
       ******************         *******         *****************
       ***********    ***          *****          ***    **********
       *********       ***         *****         ***      *********
       ********          **         ***         **         ********
       ********           **        ***        **          ********
       *********           **       ***       **          *********
       ***********          **      ***      **         ***********
       *****      ***         **    ***    **        ***      *****
       *****          ***      **  *****  **     ***          *****
       ******             ***   **********   ***             ******
       *********                 ********                 *********
       ************************************************************
       **********             **************             **********
       *************  ******************************  *************
       ************************************************************

                        Welcome To HUAWEI AP World                   


U-Boot V200R007C20 version-468(Feb 26 2018  21:29:22)

Flash: 32 MB
Boot Rom Version: 468
Hardware version: VER.A
Ethernet Mac: 44-6A-2E-1B-33-80


Start Up time(s) : 1
Image: Current Bootup is A 
Image: Current Bootup is A 
Boot Kernel A Address: 0x9f5c4000
Boot Kernel B Address: 0x9f800000
Press j or J to stop Bus-Test in 1 seconds:   0
POST test:  Begin
Testing PCIE  bus : Passed.
Testing SPI   bus : Passed.
Testing DDR   bus : Passed.
Testing RGMII bus : Passed.
POST test: End

Saving POST results: Done

Press f or F  to stop Auto-Boot in 3 seconds:  0   #此处按下F键;
f
Password for uboot cmd line :admin@huawei.com #输入bboot密码,默认admin@huawei.com,回车后进入;

ar7240> defaultuser           #设置下次启动跳过Console口密码检查

Start setting whether to Change Password..... 

Current Bootup Change PW is N  

Do you Want To Change The Default password, Y or N : y       #对于此提示信息输入y进行确认

 

ar7240> reset                         #重启AP

...........................................

...........................................

<Huawei> system-view                                #从用户视图切换到系统视图

[Huawei] aaa                                                  #进入aaa视图

[Huawei-aaa] display this                             #显示当前视图下的配置(重点是找到要进行密码重置的那个帐号的相关配置)

<Huawei> system-view                                #从用户视图切换到系统视图

 

以下关键信息:

 local-user admin password irreversible-cipher @#¥1236%78¥@7&*12467*&

 local-user admin privilege level 15

 local-user admin service-type ssh http

确认以上信息中的帐号名称:admin,输入以下命令:

[Huawei] aaa     

[Huawei-aaa] local-user admin password irreversible-cipher Password123          #这里以重置成Password123为例;

[Huawei-aaa] return                                      #返回用户视图

<Huawei> save                                             #保存配置,提示信息输入y进行确认

<Huawei> reset                         #重启AP

重启后,可用新密码管理啦。

 

 

 

故障详细描述及处理

FAULT

首页    网络类故障    华为AP管理密码丢失