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.

5 Case 1a: Software Installation, Configuration and Operation

Fig 2-1) Case 1 WiMAX Base Station Configuration
No image "fig 2-1  121010_ WiMAXSystemOverview.jpg" attached to WiMAX/00

Fig 3-1) Case 1 Detailed WiMAX Base Station Configuration
No image "fig 3-1 121010_ WiMAXSystemOverview.jpg" attached to WiMAX/00

Fig 4-1) Case 1 WiMAX Software Configuration
No image "fig 4-1  121010_ WiMAXSystemOverview.jpg" attached to WiMAX/00

5.1 WiMAX OID and IP Address Assignment

Campus OID IP Range
WINLAB 44:51:DB:00:00:XX 10.3.0.XX
NECLabs 44:51:DB:00:01:XX 10.3.1.XX
BBN 44:51:DB:00:02:XX 10.3.2.XX
Stanford 44:51:DB:00:03:XX 10.3.3.XX
Poly 44:51:DB:00:04:XX 10.3.4.XX
UMass 44:51:DB:00:05:XX 10.3.5.XX
Columbia 44:51:DB:00:06:XX 10.3.6.XX
UColorado 44:51:DB:00:07:XX 10.3.7.XX
UWisconsin 44:51:DB:00:08:XX 10.3.8.XX
UCLA 44:51:DB:00:09:XX 10.3.9.XX
Clemson 44:51:DB:00:10:XX 10.3.10.XX
Wayne State 44:51:DB:00:11:XX 10.3.11.XX
Michigan 44:51:DB:00:12:XX 10.3.12.XX

The unique GENI IEEE identifier is 44:51:DB:00. Each campus can have up to 127 basestations (each BS needs two addresses) and/or multiple ASN gateways. The basestations are assigned OIDs and IPs starting from 1 and counting up while ASN gateway machines are assigned IP addresses that are assigned starting from 254 and counting down. For example, first basestation in WINLAB gets IP address on primary controller of and the IP address for the networking card of while the gateway machine gets

Issue: Should all use BBN OID, since it is the only one offically regsitered? Also, that all MSs would use same OID?

5.2 Key Configuration Parameters

These are the key parameters, that are gathered and then held in the wimaxrf.yaml configuration file. Please modify the ip address of the asngw and bs sections.

# NOTE: use only 'spaces' to indent !
# ('tab' indents are not supported by the ruby yaml parser used to read this file)
# This is the Config file for the WiMAXRF GridService

   if: eth1
   port: 2231
   id: ASNGW000
   tecnh: 3
   dsc: IP-Config-Mgmt


   bsid:  44:51:db:00:00:01
   frequency: 2590000                           

5.3 Base Station Server Installation

5.3.1 Expected OS: Ubuntu 9.04

The ISO image for Ubuntu 9.04 server can be found at:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:        9.04
Codename:       jaunty

5.3.2 Setup Ethernet Interfaces

It is expected that there be 3 wired Ethernet interfaces named: eth0, eth1, eth2. You may need to edit /etc/udev/rules.d/70-persistent-net.rules to make the names

reflect the correct physical ports. The /etc/network/interfaces file should look similar to this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This interface connect to the Base Station

auto eth1
iface eth1 inet static

#This is the gateway interface, it should get a routeable address from DHCP

auto eth2
iface eth2 inet dhcp

#Reserved for future USE

auto eth0
iface eth0 inet static

5.3.3 Install Required Packages

  1. Configure apt/sources to include and Edit the /etc/apt/sources.list and add the following lines:
    deb karmic/
    deb jaunty main
  2. Update information based on the changed sources.list.
     sudo apt-get update
  3. Now install the ASN-GW software
    sudo apt-get install asn-gw0.9.0 click1.6.0 omf-wimaxrf-aggmgr-5.2
  4. Copy SimpleAuthManager.rb to the following directory:

    Now run the script:
    ruby /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs_wimaxrf/SimpleAuthManager.rb &

Create Debian Package
Create Package Site

5.4 Setup NEC BTS

Please note: Do not restart BTS until all changes are complete. If you do happen to restart, you will have to use the serial interface to connect to the BTS. Connect the serial console to the CHC part of the BTS. The serial port settings are

Baud rate 115200
Parity 8N1

The login is 'root' and leave the Password field blank, then hit enter.

5.4.1: Step 1 Configuring the IP

We'll need to adjust the ip's of both interfaces. They're managed via two independent files which exists on two different machines/ip combos.

  1. The "BTS" machine:
    1. Copy the attached networkenv.orbit file locally (to your console) and edit it's addresses to reflect your organisations Address Structure. If this is the first BTS in your organization your address should be of the form 10.3.X.1, where X is the numerical ID given to your group. You'll only need to edit the #MACO segment of information. You will also need to set the NAMESERVER flag to something reasonable like googles public DNS (, or a specfic DNS in your network. Note that we're using class B addresses.
      export INTERFACE_0=eth0
      export IPADDR_0=10.3.Y.1
      export NETMASK_0=
      export BROADCAST_0=
      export GATEWAY_0=10.3.YX.1
      export NAMESERVER_0=
    2. Copy the file to /flash/networkenv on the BTS machine (via SCP). The default IP of the BTS machine is
      scp networkenv.orbit root@
  2. The "Network" Machine
    1. Telnet to the N/W card at User root as the username, you will not be asked for a password.
    2. Edit the /etc/network/interfaces eth1 entry to organisations Address Structure. It should be of the form 10.3.Y.2, for the first BTS. The entry should look similar to:
      auto eth1
      iface eth1 inet static
      address 10.3.Y.2
      gateway 10.3.Y.1
  3. Finally you'll need to configure your own interface to be in the same subnet as the BS Ip's. For the first BS it should be of the form 10.3.X.254.

5.4.2 Step 2 Configure the BTS software

  1. ssh to the new IP of the BTS machine.
ssh root@10.3.Y.1
  1. Use wiset commands below to correct configuration on the BTS:
    1. Enter these Verbatim
      wiset authgw_id 0x41534E47
      wiset authgw_port 0x08B7
      wiset asngw_id 0x41534E4757303030
      wiset asngw_dp_port  0x08B7
      wiset asngw_ep_port 0x08B7
      wiset bs_rx_port 0x08B7
      wiset frequency  2551500    or ??
      wiset bs_tx_power 40
      wiset bw_mode 0
      wiset dlul_ratio 2
      wiset ttg 296
      wiset rtg 168
      wiset framesync_mode 2
      wiset antenna_gain 0
    2. These commands require you to change the IP paramter specfied in hex. The IP should that of the console's eth1 interface (which speaks to the BTS).
      wiset authgw_ip 0x0A030047
      wiset asngw_dp_ip 0x0A030047
      wiset asngw_ep_ip 0x0A030047
    3. You will find your bsid (OID) on this page. Note remove the colons, and set the last two digits to reflect the IP of the BTS machine (e.g. the first one should be 01).
      wiset bsid 0x4451DB0000XX

After this process, the BS will require a reboot.

This site converts dot quad to hex.

5.5 Manual Configuration of SAMrb

Note these instructions need to be followed if you are using just the SAMrb.Simple authentication manager (download it from source:samrb/trunk/SimpleAuthManager.rb).

In this file please change the following to reflect your network settings:

  1. The $ips hash table should be updated to include your client mac to IP mapping.
  2. The $def_gw = "" and $net_mask = "" settings should be used to reflect the CSN side settings.

5.6 Configuration of ASN-GW Controller

Configuration of software both for the ASN-GW and the WiMAX BTS is done through a single yaml configuration file on the ASN.

To enable the features we will need to copy the modified wimaxrf.yaml from /etc/omf-aggmgr-5.2/available to /etc/omf-aggmgr-5.2/enabled/. Remove all other services that are pre-installed in /etc/omf-aggmgr-5.2/enabled/ as the other services are used in Case 2 installation.

Execute the init-wimax.rb file. The file imports all MIBs into local libraries. This needs to be done only once during initialization.

ruby /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs_wimaxrf/init-wimax.rb

In this section we will describe the changes required to the default configuration files for accommodating custom settings and IPs.


The points that need to be changed in the asnctrl.conf file are:

R6_BSID[0] = 44:51:DB:00:00:XX      // BSID allocated as per GENI
R6_BSAddress[0] = [10.3.Y.61]:2231  //IP address of the IDU
TunnelEndpoint = [10.3.Y.71]:0      //IP of the ASN - GW




No changes are required in this file.


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.


This file contains the mapping of the mac address to the service class. Sample entries are as shown below:

00:18:41:85:5e:a3       IP-Config-Mgmt
00:12:cf:b2:ad:9a       IP-Config-Mgmt
00:12:cf:b2:a4:e8       IP-Config-Mgmt
00:12:cf:b2:9c:73       IP-Config-Mgmt
00:1b:8b:54:02:9a       IP-Config-Mgmt
00:1b:8b:54:02:84       IP-Config-Mgmt
00:1d:e1:0a:5e:87       IP-Config-Mgmt


This file is located here: /usr/share/asngw/ IP addresses need to be updated here based on the settings used:

: ${DEV_R3:="eth0"}
: ${DEV_R6R4:="eth1"}
: ${MSADDR:=""}
: ${R3_NETWORK:=""}
: ${R3_ADDR:=""}   
: ${R6R4_NETWORK:=""}
: ${R6R4_ADDR:=""}  


No changes are required in this file.


R3LocalDevice = eth0
R4LocalDevice = eth1
R6LocalDevice = eth1

5.7 Configuration of CLICK

Configuration of the CLICK router is done by SAM.rb.

Here is an example configuration when no MSs are registered:


Here is an example configuration when one MS is registered:


5.8 Operations and Testing

5.8.1 Login to Base Station Server

Login through the console on the Base Station Server (ASN-GW) and test the following.

  1. The BTS should be reachable from the ASN-GW with the default IP setting:
    • ping the BTS interface; it was assigned the fixed IP
    • measure the round trip times
  1. Power cycle the BTS through the use of stop and start scripts.
    • Perform a hard reset if required (if updated parameter values are not reflected).
    • There should also be a green light on the IDU after a software power cycle of the IDU.
    • The software power cycle can be preformed by the following commands:
      /etc/init.d/asn-gw stop
      /etc/init.d/asn-gw start
  1. Ping the outside interface and see if the DMZ gateway is reachable from the ASN-GW

After successful completion we know that the ASN is able to send traffic both downlink to the IDU and outbound towards the internet.

5.8.2 Login to BTS

  1. To login:


  1. Power cycle the BTS through the use of stop and start scripts.
    • Perform a hard reset if required (if updated parameter values are not reflected).
    • There should also be a green light on the IDU after a software power cycle of the IDU.
    • The software power cycle can be preformed by the following commands:
      /etc/init.d/asn-gw stop
      /etc/init.d/asn-gw start

5.8.3 ASN GW Operation

To control the WiMAX base station, run the stop and start scripts as follows:

Start script:

/etc/init.d/snmpd start
/etc/rc.d/init.d/trapctrl start
sleep 1
/etc/rc.d/init.d/asnctrl start
sleep 1
/etc/rc.d/init.d/epctrl start
#sleep 1

Stop script:

/etc/rc.d/init.d/epctrl stop
/etc/rc.d/init.d/asnctrl stop
/etc/rc.d/init.d/trapctrl stop
/etc/init.d/snmpd stop
pkill -9 asnctrl
pkill -9 epctrl

A few simple checks to make sure things are working:

  1. There should be 3 running processes:
    root      3128     1  0 19:10 ?        00:00:00 trapctrl
    root      3137     1  0 19:10 ?        00:00:02 asnctrl
    root      3227     1  0 19:10 ?        00:00:02 epctrl
  1. Some log files should start filling up in /var/log:
    1. asnctrl.log
    2. epctrl.log

5.8.4 WimaxRF Grid Service operation

  1. Start the omf aggregate manager. This is required for the grid service to be in operation.
    /etc/init.d/omf-aggmgr-5.2 restart
  1. Check the service starts by looking at the process table as well as tailing the logs


root     31394     1  0 Jan24 ?        00:08:53 ruby1.8 -I/usr/share/omf-aggmgr-5.2 -I/usr/share/omf-common-5.2 /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs.rb --port 5052
  1. Start a web browser on the asn_gw. Make sure the WimaxRf grid service is working.
  1. The web page has all the commands the service supports
    <service name="get">
    <info>Get Basestation Static Parameter</info>
    <service name="info">
    <info>Get information about the Base Station</info>
    <service name="restart">
    <info>Restart the Base Station</info>
    <service name="restore">
    Restore Base Station parameters from saved configuration
    <service name="set">
    <info>Set Basestation Static Parameter</info>
    <service name="status">
    <info>Get status of WiMAX RF  service</info>
    <service name="testService">
    <info>Test service</info>
    <service name="uploadr"/>

  1. Saving and Restoring BTS config

Before starting any experiments, save the xml page output for the following web page


To restore the BTS in any event,visit the page


Upload the golden xml file you saved earlier and then visit


Ping the BTS machine and make sure the changes are reflected by pulling up the BTS config.

5.8.5 RF Transmission

  1. Scan on the client and check if the basestation's signal is seen using the procedure described below. If we are able to connect step 2 can be ignored. Else try step 2.

Configure driver at the client to ensure all required parameters are configured correctly.

  • Change the /etc/asnctrl_service_class.conf to include client and service class information.
  • Possibly include SSID to match with the BTS
  • Check center frequency to match with the BTS
  • Enable (locks) if any
  • Disable wifi if operating on a dual mode card (since quite a few times they work in a mutually exclusive mode)
  • Enable a static IP setting at the client to allow for baseline IP connectivity
  1. If possible sweep the spectrum through an analyzer to determine proper transmission at the center frequency.
    • Vary transmit power at the BTS using wiset calls on the BTS or through the web interface and then measure the corresponding changes on the analyzer.

5.8.6 SAM Monitoring

5.8.7 CLICK Modular Router Monitoring

5.8.8 Mobile Station Registration

5.8.9 Traffic Monitoring

Install wireshark on ethernet interfaces.

5.9 BTS Configuration Parameters

The configuration parameter list is available upon request. Please email

to obtain the list.

Last modified 9 years ago Last modified on Feb 24, 2012, 4:30:43 PM

Attachments (3)

Note: See TracWiki for help on using the wiki.