close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 23 and Version 24 of Old/WiMAX/04/01


Ignore:
Timestamp:
Dec 9, 2010, 5:30:13 PM (10 years ago)
Author:
hmussman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/WiMAX/04/01

    v23 v24  
    447447
    448448
    449 
    450 = 6.  Case 1:  Operation =
    451 
    452 == IDU (base station) Software Configuration ==
    453 
    454 Cat the following code to a shell script and execute after sshing into the BTS at the default ip: 192.168.1.10.
    455 If ssh does not work, try with a serial console.
    456 
    457 {{{
    458 /usr/sbin/wimax/cmd_app 3 authgw_id 0x41534E4757303030
    459 /usr/sbin/wimax/cmd_app 3 authgw_port 0x08B7
    460 /usr/sbin/wimax/cmd_app 3 asngw_id 0x41534E4757303030
    461 /usr/sbin/wimax/cmd_app 3 asngw_dp_port  0x08B7
    462 /usr/sbin/wimax/cmd_app 3 asngw_ep_port 0x08B7
    463 /usr/sbin/wimax/cmd_app 3 bs_rx_port 0x08B7
    464 /usr/sbin/wimax/cmd_app 3 bsid 0x000004000000
    465 /usr/sbin/wimax/cmd_app 3 frequency  2551500
    466 /usr/sbin/wimax/cmd_app 3 bs_tx_power 40
    467 /usr/sbin/wimax/cmd_app 3 bw_mode 0
    468 /usr/sbin/wimax/cmd_app 3 dlul_ratio 2
    469 /usr/sbin/wimax/cmd_app 3 ttg 296
    470 /usr/sbin/wimax/cmd_app 3 rtg 168
    471 /usr/sbin/wimax/cmd_app 3 framesync_mode 2
    472 /usr/sbin/wimax/cmd_app 3 antenna_gain 0
    473 /usr/sbin/wimax/cmd_app 3 authgw_ip 0xC0A80132
    474 /usr/sbin/wimax/cmd_app 3 asngw_dp_ip 0xC0A80132
    475 /usr/sbin/wimax/cmd_app 3 asngw_ep_ip 0xC0A80132
    476 }}}
    477 
    478 
    479 == ASN-GW Controller Configuration Files ==
    480 
    481 These are the files which are located in the /etc directory on the asn-gw machine.
    482 
    483 In this section we will describe the changes required to the default configuration files for accommodating custom settings and IPs.
    484 
    485 
    486 
    487 ==== asnctrl ====
    488 The points that need to be changed in the asnctrl.conf file are:
    489 {{{
    490 R6_BSID[0] = 00:00:04:00:00:00      // BSID allocated as per GENI
    491 R6_BSAddress[0] = [10.3.0.61]:2231  //IP address of the IDU
    492 TunnelEndpoint = [10.3.0.71]:0      //IP of the ASN - GW
    493 }}}
    494 
    495 ==== asnctrl_ASNGW000 ====
    496 {{{
    497 R4_BSID[0][0]=00:00:04:00:00:00
    498 }}}
    499 
    500 ==== asnctrl_common ====
    501 No changes are required in this file.
    502 
    503 ==== asnctrl_gre ====
    504 This is an output file which shows the mapping of the client MAC address to the uplink and downlink GRE tunnel. This file does not need any configuration.
    505 
    506 ==== asnctrl_service_class ====
    507 This file contains the mapping of the mac address to the service class. Sample entries are as shown below:
    508 {{{
    509 00:18:41:85:5e:a3       IP-Config-Mgmt
    510 00:12:cf:b2:ad:9a       IP-Config-Mgmt
    511 00:12:cf:b2:a4:e8       IP-Config-Mgmt
    512 00:12:cf:b2:9c:73       IP-Config-Mgmt
    513 00:1b:8b:54:02:9a       IP-Config-Mgmt
    514 00:1b:8b:54:02:84       IP-Config-Mgmt
    515 00:1d:e1:0a:5e:87       IP-Config-Mgmt
    516 }}}
    517 
    518 ==== clasify-ctrl ====
    519 This file is located here: /usr/share/asngw/classify-ctrl.sh
    520 IP addresses need to be updated here based on the settings used:
    521 {{{
    522 : ${DEV_R3:="eth0"}
    523 : ${DEV_R6R4:="eth1"}
    524 : ${MSADDR:="10.42.0.0/16"}
    525 : ${R3_NETWORK:="10.41.0.0/16"}
    526 : ${R3_ADDR:="10.41.0.3"}   
    527 : ${R6R4_NETWORK:="192.168.1.0/24"}
    528 : ${R6R4_ADDR:="192.168.1.50"} 
    529 }}}
    530 
    531 
    532 ==== trapctrl ====
    533 No changes are required in this file.
    534 
    535 ==== epctrl ====
    536 {{{
    537 R3LocalDevice = eth0
    538 R4LocalDevice = eth1
    539 R6LocalDevice = eth1
    540 }}}
    541 
    542 == Click Modular Router Configuration ==
    543 
    544 == Operating Scripts ==
    545 
    546 
    547 To control the WiMAX base station, run the stop and start scripts as follows:
    548 
    549 Start script:
    550 {{{
    551 /etc/init.d/snmpd start
    552 /etc/rc.d/init.d/trapctrl start
    553 sleep 1
    554 /etc/rc.d/init.d/asnctrl start
    555 sleep 1
    556 /etc/rc.d/init.d/epctrl start
    557 #sleep 1
    558 }}}
    559 
    560 
    561 Stop script:
    562 {{{
    563 /etc/rc.d/init.d/epctrl stop
    564 /etc/rc.d/init.d/asnctrl stop
    565 /etc/rc.d/init.d/trapctrl stop
    566 /etc/init.d/snmpd stop
    567 pkill -9 asnctrl
    568 pkill -9 epctrl
    569 }}}
    570 
    571 
    572 == Control Path ==
    573 
    574 == Data Path ==
    575