wiki:Old/WiMAX/07
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.

8. Upgrade Instructions

Backup all of the configuration files:

tar -cf asn-config.tar /etc/asnctrl.conf /etc/asnctrl_ASNGW000.conf /etc/asnctrl_common.conf /etc/asnctrl_gre.conf /etc/asnctrl_service_class.conf /etc/epctrl.conf /etc/trapctrl.conf /usr/share/asngw/classify-ctrl.sh

Upgrade the software:

apt-get update

apt-get remove --purge asn-gw0.9.0 omf-wimaxrf-aggmgr-5.2

apt-get install asn-gw1.0.1

Restore configuration files:

tar -xf asn-config.tar -C /

Install pre-requisites:

apt-get install build-essential libopenssl-ruby ruby1.8-dev vlan

Update rubygems:

sudo gem install rubygems-update

sudo /var/lib/gems/1.8/bin/update_rubygems

Install gems:

gem install rufus-scheduler data_mapper rparsec dm-sqlite-adapter

Install new wimaxrf:

Download the new omf-aggmgr-5.2 (Get from Ivan) (future .deb?)

Configure the service by editing /etc/omf-aggmgr-5.2/available/wimaxrf.yaml which should look like (with address/OID set based on campus assignment):

wimaxrf:

  database:
    dbFile: '/db/wimaxrf.db'

  reset:
    file: '/defaults/reset.xml'

  asngw:
    if: eth1
    ip: 10.3.0.254
    port: 0x08b7
    id: ASNGW000
    tecnh: 3
    dsc: IP-Config-Mgmt

  bs:
    ip: 10.3.0.1
    mask: 255.255.0.0
    bsid: 44:51:db:00:00:01
    frequency: 2590000
    stats:
      localoml:
        :omlServer: localhost
      globaloml:
        :omlServer: oml.orbit-lab.org

  datapath:
    default_interface: eth0
    manage_interface: true

Start the service

/etc/init.d/omf-aggmgr-5.2 start

Create the first datapath:

wget -qO- asngw-host:5052/wimaxrf/datapath/add?vlan=0&type=simple

Add clients:

wget -qO- asngw-host:5052/wimaxrf/datapath/clients/add?vlan=0&ipaddress=10.43.0.1&macaddr=00:01:02:03:04:05
wget -qO- asngw-host:5052/wimaxrf/datapath/clients/add?vlan=0&ipaddress=10.43.0.2&macaddr=00:01:02:03:04:06

macaddr MUST be all lowercase.

Last modified 9 years ago Last modified on Dec 12, 2012, 5:30:46 PM
Note: See TracWiki for help on using the wiki.