2023年12月17日发(作者:)

华为AP3010DN-AGN无线AP

设定为一般胖AP无线路由器模式

操作步骤说明文档

1,认识硬件

除以上之外,还需要普通网线1条,电脑1台。

2,所用到的软件

操作系统xp或win7

Xmanager4汉化版

USB转COM线驱动

TFTP软件3CDaemon汉化版

AP升级固件的文档FatAP3X10XN_

3,操作步骤:

第一步,复位AP,刷固件FatAP3X10XN_

第二步,登录AP的WEB管理页面创建WIFI并建立DHCP

第三步,创建WAN口并与LAN口关联

下面分步详细说明

准备软件,依次安装USB转COM驱动,Xmanager4汉化版,将TFTP软件3CDaemon汉化版复制到C盘,并变更文件夹名称为TFTP,路径如C:TFTP ,把AP 的固件FatAP3X10XN_复制到C:TFTP目录中

给AP接上12V2A的电源,此时不要接POE供电模块,注意!!复位后将消除全部配置及密码。等启动完毕后,用尖锐物按下复位口10秒后松开,AP开始重新启动,AP的指示灯变为长亮启动状态,之后指示灯变为闪烁状态完成复位。完成复位后接上USB 转串口线,连接电脑USB口和AP的Console口,打开Xmanager4中的Xshell4,新建会话窗口选择SERIAL

配置波特率9600及COM端口号正确

连接成功后会显示

Please configure the login password (<8-16>/<56>)

Enter password:

这是初次登录要求设定密码,密码复杂度要求为英文加数字,最小8位,我们暂定密码hua88888填写两次密码后显示如下

Enter password:

Confirm password:

这表示已经成功设定了管理密码,以上设定的密码仅限于连接Console口使用,和WEB管理界面不是同一个密码,WEB管理界面密码下面会提到。

使用1条一般使用的网线,一端连接电脑,一端连接AP的ETH/PoE口,此时不要拔掉Console口上的串口线,不要拔掉12V电源,不要连接POE供电模块,配置电脑有线网卡的IP地址为169.254.1.100子网掩码255.255.0.0网关169.254.1.1 DNS空白不填写,去我的电脑打开C:TFTP目录,打开点击设置TFTP服

务器按钮,按照下图设置路径

然后回到Xshell4窗口,会显示

Please check whether system data has been changed, and save data in time

Configuration console time out, please press any key to log on

是因为超时登出,需要重新填写密码登录,重新登录后按照以下脚本操作,整个过程不要关闭

sys ##键入

Enter system view, return user view with Ctrl+Z.

[Huawei]ap-mode-switch prepare ##键入

Info: Prepare is ok, Use ap-mode-switch command to switch to fit ap.

[Huawei]ap-mode-switch check ##键入

Info: Ap-mode-switch check ok.

[Huawei]ap-mode-switch tftp FatAP3X10XN_ 169.254.1.100 ##键入

Info: Preparing to upgrade. Please wait a moment ..............

Warning: System will reboot, if you want to switch to upgrade-assistant-package.

Are you sure to execute these operations ? [Y/N]:y ##这里是提示整个过程会重启,键入y

Info: system is rebooting ,

Try

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Welcome To HUAWEI AP World

UBoot V200R005 version-125 (Aug 1 2014 - 04:33:21)

DRAM: 128 MB

DDR data bus test is OK!

Press c or C to Begin DDR Bus Test in 1 Seconds: 0

Flash: 32 MB

PCIE: PCIe Clock 40MHz

Ethernet Mac: B4-15-13-F8-82-20

Image: Current Bootup is B

Image: Current Bootup is B

Current master bootup parameter area is A

Boot Kernel A Address: 0x9f3fb000

Boot Kernel B Address: 0x9f840000

Press j or J to stop Bus-Test in 1 seconds: 0

Bus

PCIE bus test OK.

SPI bus test OK.

DDR bus test OK.

RGMII bus test OK.

Bus

Save Bus Test Result Successful

Press f or F to stop Auto-Boot in 3 seconds: 0

Uncompressing Kernel Image ... OK

Starting kernel ...

Booting Atheros AR934x

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.13-WR4.3.0.0_standard (gcc version 4.5.2 (Sourcery CodeBench Lite 2011.03-93) )

#2 PREEMPT Fri Nov 7 17:34:15 CST 2014

flash_size passed from bootloader = 32 MB

arg 1: console=ttyS0,9600

arg 2: root=/dev/mtdblock10

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=126M

ath_sys_frequency: cpu apb,ddr apb,cpu-480MHZ,ddr-400MHZ,ahb-240MHZ

Zone PFN ranges:

Normal 0x00000000 -> 0x00007e00

Movable zone start PFN for each node

early_node_map[1] active PFN ranges

0: 0x00000000 -> 0x00007e00

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32004

Kernel command line: console=ttyS0,9600 root=/dev/mtdblock10 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=126M

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 21MB (5568 pages) of memory at addr 82000000

the pci irq_base value: 70

plat_time_init:.............................................................done

Mount-cache hash table entries: 512

done

ath_pcibios_init: bus 0

PCI init:...................................................................done

ath_pcibios_init(234): PCI 0 CMD write: 0x356

registering PCI controller with io_map_base unset

bio: create slab at 0

SCSI subsystem initialized

pcibios_map_irq: IRQ 70 for bus 0

ath_done

init_vdso successfull

mtd: no mtd-id

ath_done

mii_bus 0 successed to register

done

Registering Clock done

starting pid 42, tty '': '/etc/init.d/rcS'

MIMC_KERNEL: Module init.

enable_rx 1250: init_phy_eee: control = 0x1000

FatAP3X10XN_V200R005 100% |*******************************| 21377k 00:00:00 ETA. ##这里开始上传固件,之后继续重启

.

Error: Upgrade failed due to a type mismatch.

starting pid 149, tty '': '/sbin/swapoff -a'

can't run '/sbin/swapoff': No such file or directory

starting pid 150, tty '': '/bin/umount -a -r'

umount: tmpfs busy - remounted read-only

umount: none busy - remounted read-only

umount: /proc busy - remounted read-only

The system is going down NOW!

Sent SIGTERM to all processes

Sent SIGKILL to all processes

Requesting system reboot

Restarting system.

Try

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Welcome To HUAWEI AP World

UBoot V200R005 version-125 (Aug 1 2014 - 04:33:21)

DRAM: 128 MB

DDR data bus test is OK!

Press c or C to Begin DDR Bus Test in 1 Seconds: 0

Flash: 32 MB

PCIE: PCIe Clock 40MHz

Ethernet Mac: B4-15-13-F8-82-20

Image: Current Bootup is A

Image: Current Bootup is A

Current master bootup parameter area is B

Boot Kernel A Address: 0x9f3fb000

Boot Kernel B Address: 0x9f840000

Press j or J to stop Bus-Test in 1 seconds: 0

Bus

PCIE bus test OK.

SPI bus test OK.

DDR bus test OK.

RGMII bus test OK.

Bus

Save Bus Test Result Successful

Press f or F to stop Auto-Boot in 3 seconds: 0

Uncompressing Kernel Image ... OK

Starting kernel ...

Booting Atheros AR934x

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.13-WR4.3.0.0_standard (gcc version 4.5.2 (Sourcery CodeBench Lite 2011.03-93) )

#1 PREEMPT Fri Aug 1 04:16:06 CST 2014

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=126M

ath_sys_frequency: cpu apb,ddr apb,cpu-480MHZ,ddr-400MHZ,ahb-240MHZ

Zone PFN ranges:

Normal 0x00000000 -> 0x00007e00

Movable zone start PFN for each node

early_node_map[1] active PFN ranges

0: 0x00000000 -> 0x00007e00

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32004

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=126M

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 21MB (5568 pages) of memory at addr 82000000

the pci irq_base value: 70

plat_time_init:.............................................................done

Mount-cache hash table entries: 512

done

ath_pcibios_init: bus 0

PCI init:...................................................................done

ath_pcibios_init(234): PCI 0 CMD write: 0x356

registering PCI controller with io_map_base unset

bio: create slab at 0

pcibios_map_irq: IRQ 70 for bus 0

ath_done

init_vdso successfull

mtd: no mtd-id

ath_done

mii_bus 0 successed to register

done

Registering Clock done

VFS: Mounted root (squashfs filesystem) readonly on device 31:5.

starting pid 21, tty '': '/etc/init.d/rcS'

MSS_PUB Version [1.07], build on Date : [Aug 1 2014], Time : [04:34:12]

MIMC_KERNEL: Module init.

eth-diag install ok!

Drv_ap_api module:Init

Disabling lock debugging due to kernel taint

Mount fsimage type: patch

User fs folder : /opt

Loop device : /dev/loop0

Mount folder : /mnt/patch

Get file name from fldesc failed,wrong length(0x50)!

AP wa6x5 cap32 start, 04:30:24

MSS_PUB Version [1.07], build on Date : [Aug 1 2014], Time : [04:30:06]

MSS_PUB_Init Succ! u32Ret = 0

AP_Board_Cfg Succ! u32Ret = 0

Module MEM Init ...... OK!

Module DIAG Init ...... OK!

Module PBUF Init ...... OK!

Module IM Init ...... OK!

Module IIC Init ...... OK!

Module HAL Init ...... OK!

Module Timer Init ...... OK!

Module TIME Init ...... OK!

MSS_Global_Init Succ! ret = 0

MSC Process run on core [0], PID = [66]

MSU Process run on core [0], PID = [67]

MSC_TCTL_Init Succ! u32Ret = 0

MSC goto scheduler!

MSU_InstReg return 0x0

CAP_FWDIF_Init return 0x0

L1_IP_Fast_BaseAddrInit return 0x0

MSU_TableBaseInit return 0x0

MSU Init OK

VOS_Start ......

......OK

VRP_SockTm_OK

System recover configuration ....................OK!

Press any key to get started

Please configure the login password (<8-16>/<56>)

Enter password: ##键入密码hua88888

Confirm password: ##键入密码hua88888

display version ##键入

Huawei Versatile Routing Platform Software

VRP (R) software, Version 5.150 (AP3010DN FAT V200R005C00SPC600)

Copyright (C) 2011-2014 HUAWEI TECH CO., LTD

Huawei AP3010DN Router uptime is 0 week, 0 day, 0 hour, 8 minutes

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 8 minutes

SDRAM Memory Size : 128 M bytes

Flash Memory Size : 32 M bytes

##看这里,表示已经更新固件版本成功

MPU version information :

1. PCB Version : H85D2TD1D200 VER.B

2. MAB Version : 0

3. Board Type : AP3010DN

4. BootROM Version : 125

至此刷固件FatAP3X10XN_完毕。

登录AP的WEB管理页面创建WIFI并建立DHCP

现在关闭打开电脑的IE 8浏览器打开地址169.254.1.1用户名是admin密码是****************登入后点维护>管理员>“操作”下面的“修改”变更密码hua88888之后电右上角的保存配置。

点配置>接口管理>VLAN>VLANIF>Vlanif1“操作”下面的“修改”按钮,按照如下图设定,这里就是设定LAN口的地址

点确定按钮后会失去连接,去电脑的有线网口更改IP地址为172.16.0.100子网掩码255.255.255.0网关172.16.0.1 DNS空白不填写,重新打开电脑的IE 8浏览器,打开地址172.16.0.1用户名是admin密码是hua88888

点配置>IP业务>DHCP>DHCP状态 : 选择开启>应用>

地址池列表下面点“新建“>见下图

然后点上确定按钮,下图是创建DHCP之后的样子

下面创建WIFI及WIFI密码

点配置>WLAN业务>服务集>BSS接口>BSS接口列表下边点“新建“按钮>见下图

点确定建立完毕BSS接口

点安全模板>点安全模板列表下边的“新建“按钮>见下图

点确定建立完毕安全模板,其实这里就是创建了WIFI密码及加密方式

点流量模板>流量模板列表下边的“新建“按钮>见下图

点服务集>服务集列表下边的“新建“按钮>见下图

点配置>WLAN业务>射频模板>WMM模板>WMM模板列表下边的“新建“按钮>见下图

点射频模板>射频模板列表下边的“新建“按钮>见下图

点配置>WLAN业务>无线网络配置>无线网络列表下边的“新建“按钮>见下图

点右上角保存配置按钮

点维护>系统维护>设备管理>接入优先级 : 5G优先前面的勾去掉(不选择)>点应用按钮

点右上角保存配置按钮

点维护>系统维护>设备重启>点下边的设备重启按钮>点是

等待重启后进入开机正常状态

使用笔记本电脑无线网卡连接WIFI信号显示为HW001的AP,密码是之前上面设定的12345678连接成功之后得到DHCP推送的IP地址如下图

表示这一阶段设定完成

最后一步讲解:创建WAN口并与LAN口关联

模拟一个网络环境

WAN口IP为1.2.3.100子网掩码是255.255.255.0网关是1.2.3.3

下面要进行操作建立WAN口,要新建VLAN2和Vlanif2

LAN口IP为172.16.0.1

上面已经建立完毕,属于VLAN1和Vlanif1

要说明一点,华为AP上的ETH/PoE口就是GigabitEthernet0/0/0下面进行操作

重新打开Xshell4,用串口线建立连接,执行以下脚本

Login authentication

Password: ##键入密码

sys ##进入特权模式

Enter system view, return user view with Ctrl+Z.

[Huawei]vlan batch 2 ##建立vlan 2

Info: This operation may take a few seconds. Please wait for done.

[Huawei]display vlan ##显示vlan 列表

* : management-vlan

---------------------

The total number of vlans is : 2

VLAN ID Type Status MAC Learning Broadcast/Multicast/Unicast Property

--------------------------------------------------------------------------------

1 common enable enable forward forward forward default ##表示已有vlan 1

2 common enable enable forward forward forward default ##表示已有vlan 2

[Huawei]interface Vlanif2 ##建立Vlanif2

[Huawei-Vlanif2]ip address 1.2.3.100 255.255.255.0 ##键入Vlanif2口的IP地址和子网掩码 也就是WAN口

[Huawei-Vlanif2]interface GigabitEthernet0/0/0 ##进入接口ETH/PoE

[Huawei-GigabitEthernet0/0/0]port link-type access ##接口模式设定为 access

[Huawei-GigabitEthernet0/0/0]port default vlan 2 ##接口默认为vlan 2既变为WAN口

[Huawei-GigabitEthernet0/0/0]interface Vlanif1

[Huawei-Vlanif1]acl number 3000

[Huawei-acl-adv-3000]rule 0 permit ip

[Huawei-acl-adv-3000]interface Vlanif2

[Huawei-Vlanif2]nat outbound 3000

[Huawei-Vlanif2]interface Wlan-Bss0

[Huawei-Wlan-Bss0]port hybrid pvid vlan 1

[Huawei-Wlan-Bss0]interface Wlan-Bss1

[Huawei-Wlan-Bss1]port hybrid pvid vlan 1

[Huawei-Wlan-Bss1]port hybrid untagged vlan 1

[Huawei-Wlan-Bss1]ip route-static 0.0.0.0 0.0.0.0 1.2.3.3 ##设定静态路由

[Huawei]quit ##退出特权模式

save ##保存设置

The current configuration will be written to the device.

Are you sure to continue? (y/n)[n]:y ##选择y

It will take several minutes to save configuration file,

Configuration file has been saved successfully

Note: The configuration file will take effect after being activated

结束

AP断电关机,拔掉12V电源线,拔掉ETH/PoE口的网线,拔掉Console口的串口线,按照本教程最前面的图,接上华为原厂专用的POE供电模块,等待AP重新启动完毕进入正常工作状态,就可以测试WIFI能否上互联网了。

注意:配置完毕后连接这个AP的无线设备,可以使用WEB地址172.16.0.1管理这个AP,外部的用户可以通过1.2.3.100管理这个AP。

本文所涉及的软件下载地址/s/1c02eI6O

全文完