雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5942|回复: 6

[讨论/求助] ap220无线ap起死回生之路艰难,请大家帮帮忙,拜谢!

[复制链接]
发表于 2012-4-2 21:00:29 | 显示全部楼层 |阅读模式
移动公司在我单位布置了大量的锐捷的rg-ap220-e无线ap,跟他们的分局经理关系较好,拿了一个“借”我,不懂得怎么把它弄成个人使用的,看到坛里热心的老鸟们好多,赶紧来找大家取经。
说明:1AP220-E是移动公司作为无线ap使用过的(就是cmcc),我自配了console线和电源;
            2
、我要用的是单位的电信的光纤宽带网络;
以下是我的操作


准备工作:
        1
AP220-E连接电源;
    2.电脑的网卡接口(RJ-45接口)与
AP220-E的以太网接口(c口)连接;
    3.电脑的串口(COM口)与
AP220-EConsole端口连接;
        4
.利用电脑的超级终端与AP220-E建立连接,具体步骤:开始-程序-附件-通讯-超级终端
       1、点击文件-新建连接,任意输入一个超级终端名称,点确定;
       2、选择国家地区,输入所在地区区号,选择数据线所连端口
(注意选择Com口时候要对应Console线接入电脑的Com),点确定;
       3、点击还原为默认值,然后确定;
    确定后,此时
AP220-E开始载入系统,可以从超级终端上看到诸如系统版本号,ap型号,内存大小等数据。
接下来超级终端就会自己载入系统了。


System bootstrap ...                    
Boot Version: RGOS 10.4(1T8), Release(118528)                                             
Nor Flash ID: 0x01490000, SIZE: 2097152Bytes                                            
Using 266.500 MHz high precision timer.                                       
MTD_DRIVER-5-MTD_NAND_FOUND: 1 NAND chips(chip size : 33554432) detected                                                                        
Press Ctrl+C to enter Boot Menu .....                                    
Main Program File Name rgos.bin, Load Main Program ...

Executing program, launch at: 0x01800000                                       
Installer is initializing ...                             
Installer Version: RGOS 10.4(2b15), Release(111943)                                                   
MTD_DRIVER-5-MTD_NAND_FOUND: 1 NAND chips(chip size : 33554432) detected                                                                        
Prepare installation data ...                             
Load install package file rgos.bin OK!                                      
Installation is in process ...                              
ATTENTION: Do not restart your machine before finish !                                                      
Installation process finished successfully ...                                             
ATTENTION: Restart machine operation is permitted now !

System load main program from install package ...                                                
Executing program, launch at: 0x00010000                                       
Ruijie General Operating System Software                                       
Release Software (tm), RGOS 10.4(1T8), Release(119664), Compiled Mon Jul  4 20:2                                                                                
1:53 CST 2011 by ngcf62                       

Copyright (c) 1998-2011s by Ruijie Networks.                                            
All Rights Reserved.                    
Neither Decompiling Nor Reverse Engineering Shall Be Allowed.

到这里系统启动完毕


问题如下:
如果我电脑的网卡接口(RJ-45接口)AP220-E的以太网接口(c口)连接,那么超级终端就会出现以下提示:00:00:00:00: %MTD_DRIVER-5-MTD_NAND_FOUND: 1 NAND chips(chip size : 33554432) detected
00:00:00:10: %**ACTER_CODES-5-INIT: open 'ucs_gb.db' file failed!
00:00:00:10: %**ACTER_CODES-5-INIT: open 'ucs_big5.db' file failed!
00:00:00:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11radio 1/0, changed state to up
00:00:00:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11radio 2/0, changed state to up
00:00:00:23: %CAPWAP-4-NO_IP_ADDR: No ip address for capwap.


00:00:00:23: %7: Please config the IP address on interface gi 0/1 or gi 0/2.
00:00:00:23: %CAPWAP-4-NO_IP_ADDR: No ip address for capwap.
00:00:00:23: %7: Please config the IP address on interface gi 0/1 or gi 0/2.
00:00:00:23: %CAPWAP-4-NO_IP_ADDR: No ip address for capwap.
00:00:00:23: %7: Please config the IP address on interface gi 0/1 or gi 0/2.
00:00:00:23: %CAPWAP-4-NO_IP_ADDR: No ip address for capwap.
00:00:00:23: %7: Please config the IP address on interface gi 0/1 or gi 0/2.
00:00:00:23: %CAPWAP-4-NO_IP6_ADDR: No ipv6 address for capwap.
00:00:00:23: %CAPWAP-4-NO_IP6_ADDR: No ipv6 address for capwap.
00:00:00:23: %CAPWAP-4-NO_IP6_ADDR: No ipv6 address for capwap.
00:00:00:23: %CAPWAP-4-NO_IP6_ADDR: No ipv6 address for capwap.
00:00:00:28: %SYS-5-COLDSTART: System coldstart.
00:00:01:24: %AGNET-3-LINK: None GE port is up, Both GE1 and GE2 is down.

        我个人的理解是系统检测到系统联接的GE口(千兆口)没有联接,包括GE1口和GE2口都没接。你按回车应出系统的提示符,可能是有口令才能进系统的。
    然后我按回车,会跳出“RUIJIE>>”,再输入“enable”口令,它会跳出“PASSWORD>>”让我输入口令,可是到这里后,我按键盘上哪个键都不会被输入,请问这是怎么回事。


    如果我"电脑的网卡接口(RJ-45接口)与AP220-E的以太网接口(c口)连接",它就会一直跳“接入点本地转发模式改变,从Sulking状态到Idle状态,从idle状态到sulking状态”,这应该是提示我要在端口gi 0/1 or gi 0/2配置IP。
请问我该如何配置ip?或者那个password该如何获取?


另:请问这个无线ap上的reset可以像家用无线路由器一样清除该ap之前的设定吗?


我看网上有人提说打开web服务,可在“RUIJIE>>”底下输入
enable ser
vice web-server
username ruijie pass ruijie
enable secret 0 ruijie

之类的命令,却老是提示service单词不被辨识。。。

诚恳地向大家求救,希望有热心人能帮我解答一下怎么配置这个ap,让它起死回生。
本人非科班出身,就是怀着一腔热忱和兴趣。我个人目前在用tp wr840n无线路由,其实不是为了使用它而研究,而是为了兴趣而研究,先拜谢大家!


发表于 2012-4-3 14:53:48 | 显示全部楼层
本帖最后由 gekey 于 2012-4-3 14:54 编辑

RJ默认是瘦AP
在">"模式下输入ap-mode fat
将AP改成胖模式就可以进行配置了
还有可以到官网下载配置手册
 楼主| 发表于 2012-4-6 10:14:28 | 显示全部楼层
gekey 发表于 2012-4-3 14:53
RJ默认是瘦AP
在">"模式下输入ap-mode fat
将AP改成胖模式就可以进行配置了

非常感谢,这两天没空实验,等试过了来跟大家汇报~
 楼主| 发表于 2012-4-9 14:15:14 | 显示全部楼层
跟大家汇报下进度:
在gekey大大的指导下,在“Ruijie>”下输入“ap-mode fat”后,输入"en",转为“Ruijie#”,输入“config”进入全局配置模式。在全局配置模式下进行了以下配置:
第一步,配置 Radio 的通信模式为 FAT 模式
Ruijie(config)# interface dot11radio 1 / 0
Ruijie(config-if-Dot11radio 1/0)# mac-mode fat
Ruijie(config-if-Dot11radio 1/0)# exit
Ruijie(config)# interface dot11radio 2 / 0
Ruijie(config-if-Dot11radio 2/0)# mac-mode fat
Ruijie(config-if-Dot11radio 2/0)# exit
第二步,创建 VLAN
创建 VLAN 1 ,配置 vlan name 为 vlan1
Ruijie (config)# vlan 1
Ruijie(config -vlan )# name vlan1
Ruijie(config -vlan )# exit
第三步,创建 WLAN ,设置 SSID
创建 WLAN 1 ,配置 SSID 为 wlan1,配置 VLAN 为 1
Ruijie (config)#dot11 wlan 1
Ruijie(dot11-wlan-config)# ssid wlan1
Ruijie(dot11-wlan-config)# vlan 1
第四步,创建 Radio 子接口,并封装 VLAN 到该子接口
在 Radio 1 创建子接口 1 ,封装 VLAN1 到该子接口
Ruijie (config)# interface dot11radio 1 / 0 .1
Ruijie (config -subif )# encapsulation dot1Q 1
Ruijie (config -subif )# exit
!在 Radio 2 创建子接口 1 ,封装 VLAN1 到该子接口
Ruijie (config)# interface dot11radio 2 / 0 .1
Ruijie (config -subif )# encapsulation dot1Q 1
Ruijie (config -subif )# exit
第五步,绑定子接口和 WLAN
绑定 Radio 1 和 WLAN 1, 绑定 Radio 2 和 WLAN 1
Ruijie(config)# interface dot11radio 1 / 0
Ruijie(config-if-Dot11radio 1/0)# wlan-id 1
Ruijie(config-if-Dot11radio 1/0)# exit
Ruijie(config)# interface dot11radio 2 / 0
Ruijie(config-if-Dot11radio 2/0)# wlan-id 1
Ruijie(config-if-Dot11radio 2/0)# exit
第六步,配置 Radio 相关属性
配置 radio1 的频段为 2.4G ,信道为 11
Ruijie(config)# interface dot11radio 1 / 0
Ruijie(config-if-Dot11radio 1/0)# radio-type 802.11b
配置 radio1 的信道为11
Ruijie(config-if-Dot11radio 1/0)# channel 11
Ruijie(config-if-Dot11radio 1/0)# exit
配置 radio 2 的频段为 5G ,信道为 149
Ruijie(config)# interface dot11radio 2 / 0
Ruijie(config-if-Dot11radio 2/0)# radio-type 802.11a
配置 radio2 的信道为 149
Ruijie(config-if-Dot11radio 2/0)# channel 149
Ruijie(config-if-Dot11radio 2/0)# exit
以上六步配置完成后,用网线连接我的无线路由器和ap220的c口(路由器已配置好,能有线、无线使用),用iphone能搜索到无线接入点的ssid为wlan1,但是无法连接。
输入命令:Ruijie#show run后,得到的反馈信息如下:
Ruijie#show run               

Building configuration...                        
Current configuration : 2514 bytes                                 

!
version RGOS 10.4(1T8), Release(119664)(Mon Jul  4 20:21:53 CST 2011 -ngcf62)                                                                             
!
!
!
!
nfpp   
no nd-guard enable                  
!
!
!
vlan 1      
name vlan1           
!
!
no service password-encryption                              
ip fragment-quota 200                     
!
!
!
!
!
http redirect port 8081                       
no logging on            
!
wids   
!
!
dot11 wlan 1            
vlan 1      
broadcast-ssid               
ssid wlan1           
!
!
!
link-check enable                 
!
!
interface GigabitEthernet 0/1                             
duplex auto            
speed auto           
!
interface Dot11radio 1/0                        
wlan-qos trust dot11e                     
smps dynamic            
apsd en      
wmm edca-radio voice aifsn 1 cwmin 2 cwmax 3 txop 47                                                     
wmm edca-radio video aifsn 1 cwmin 3 cwmax 4 txop 94                                                     
wmm edca-radio best-effort aifsn 3 cwmin 4 cwmax 6 txop 0                                                         
wmm edca-radio back-ground aifsn 7 cwmin 4 cwmax 10 txop 0                                                           
wmm edca-client voice aifsn 2 cwmin 2 cwmax 3 txop 47                                                      
wmm edca-client voice cac optional                                   
wmm edca-client video aifsn 2 cwmin 3 cwmax 4 txop 94                                                      
wmm edca-client video cac optional                                   
wmm edca-client best-effort aifsn 3 cwmin 4 cwmax 10 txop 0                                                            
wmm edca-client back-ground aifsn 7 cwmin 4 cw                                             
wmm enable           
station-role root-ap                     
mac-mode fat            
mcast_rate auto               
chan-width 20              
radio-type 802.11b                  
channel 11           
speed-mode auto               
loadblance 60              
coverage-rssi 10                 
country-code US               
ampdu enable            
short-gi enable chan-width 20                              
short-gi enable chan-width 40                              
wlan-id 1         
!
interface Dot11radio 1/0.1                          
encapsulation dot1Q 1                     
mac-mode fat            
mcast_rate auto               
!
interface Dot11radio 2/0                        
wlan-qos trust dot11e                     
smps dynamic            
apsd enable            
wmm edca-radio voice aifsn 1 cwmin 2 cwmax 3 txop 47                                                     
wmm edca-radio video aifsn 1 cwmin 3 cwmax 4                                            
wmm edca-radio best-effort aifsn 3 cwmin 4 cwmax 6 txop 0                                                         
wmm edca-radio back-ground aifsn 7 cwmin 4 cwmax 10 txop 0                                                           
wmm edca-client voice aifsn 2 cwmin 2 cwmax 3 txop 47                                                      
wmm edca-client voice cac optional                                   
wmm edca-client video aifsn 2 cwmin 3 cwmax 4 txop 94                                                      
wmm edca-client video cac optional                                   
wmm edca-client best-effort aifsn 3 cwmin 4 cwmax 10 txop 0                                                            
wmm edca-client back-ground aifsn 7 cwmin 4 cwmax 10 txop 0                                                            
wmm enable           
station-role root-ap                     
mac-mode fat            
mcast_rate auto               
chan-width 20              
radio-type 802.              
channel 149            
speed-mode auto               
loadblance 60              
coverage-rssi 10                 
country-code US               
ampdu enable            
short-gi enable chan-width 20
short-gi enable chan-width 40
wlan-id 1
!
interface Dot11radio 2/0.1
encapsulation dot1Q 1
mac-mode fat
mcast_rate auto
!
!
!
!
!
!
!
line con 0
password ruijie
line vty 0 4
login
password ruijie
!
!
end

***************************
而我在网上还找到这样的配置文件:
vlan 1
!
service dhcp
!
ip dhcp excluded-address 172.16. 1 .253 172.16. 1 .254
!
ip dhcp pool test
network 172.16. 1 .0 255.255.255.0
dns-server 218 . 85 . 157 . 99
default-router 172.16.5.254
!
dot11 wlan 1
vlan 1
broadcast-ssid
ssid AP
!
interface GigabitEthernet 0/1
encapsulation dot1Q 1
!
interface Dot11radio 1/0
encapsulation dot1Q 1
radio-type 802.11b
channel 1
wlan-id 1
!
interface Dot11radio 2/0
encapsulation dot1Q 1
mac-mode fat
radio-type 802.11 a
channel 149
wlan-id 1
!
interface BVI 1
ip address 172.16. 1 .253 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 172.16. 1 .254
!
end

下面这个配置文件包含了ip的设置,我想请问该如何将它应用到我的ap220呢?
 楼主| 发表于 2012-4-9 14:20:01 | 显示全部楼层
我现在的难点主要是不知道怎么样使用配置文件,在gekey大大的指导下我去找了挺多配置文件的(不知道用哪一份好。。。)。也就是说,我不懂该在哪里输入配置文件的那些代码。。。
 楼主| 发表于 2012-7-18 22:19:19 | 显示全部楼层
shui neng bang bang wo
发表于 2012-7-20 15:58:10 | 显示全部楼层
                             
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-9-27 06:43 , Processed in 0.076922 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表