cancel
Showing results for 
Search instead for 
Did you mean: 

Elevator-tool to preconfigure before you Elevate

Moderator

Elevator-tool to preconfigure before you Elevate

Elevator tool can do the following:

  • Preconfigure units with specific paramaters before flashing Elevate firmware
  • Flash Elevate firwmare

You can download(and modify if you wish) Elevator tool from github:

https://github.com/m0sia/elevator

 

Installation

To use on Linux or macOS, you just have to execute the following three commands:

Prepare template

Modify sm.json file the way you want(change IP address, cnMaestro credentials and etc)

 

Run

Now you are ready to elevate! You can preconfigure and flash third party wireless equipment with one simple command:

  • python elevator.py -v -u ubnt -p password -t sm.json -n 3.3 -f UBNTXW-ubntxw-squashfs-factory-3.3.bin 192.168.1.20

You can find detailed elevator syntax on github page(https://github.com/m0sia/elevator.git)

 

Elevator for Windows with simple GUI:

 https://ci.appveyor.com/project/m0sia/elevator/build/artifacts

 

 

DOCUMENTATION

http://community.cambiumnetworks.com/t5/ePMP-FAQ/ePMP-Elevate-ePMP-Elevator-Tool-Configuration/m-p/7...

 

34 REPLIES
Senior Member

Re: Elevator-tool to preconfigure before you Elevate

HI team,

           I had received mail regarding this  I want to know more about this elevator tool. is this CLI based ?.please send me the exact documents Regarding this.

Contributor

Re: Elevator-tool to preconfigure before you Elevate

Quick question; if I leave the bridge_ipaddr and bridge_gateway entries blank, will these be retained from the existing SM configuration?

Moderator

Re: Elevator-tool to preconfigure before you Elevate

No, unfortunetly it doesn't work like this.

 

It will carry over the address only there is no any ePMP configuration file on the unit.

Contributor

Re: Elevator-tool to preconfigure before you Elevate

OK, no worries - glad I didn't try it out!

Contributor

Re: Elevator-tool to preconfigure before you Elevate

Is there a way to change the subnet in the sm.json?

Contributor

Re: Elevator-tool to preconfigure before you Elevate

Never mind I got it with a minor alteration to the script.

 

SyntaxEditor Code Snippet

"bridge_proto":	"1",
			"bridge_ipaddr":	"10.xxx.xxx.xxx",
			"bridge_netmask":   "255.255.255.xxx",
			"bridge_gateway":	"10.xxx.xxx.xxx"

 

Contributor

Re: Elevator-tool to preconfigure before you Elevate

This might save some people some time; here's a (cleaned out of actual values) copy of an sm.json file I made with an XW radio on 3.3 that has some useful settings broken out.

 

{
  "wireless": {
    "@pref_ap[0]": {
      "ssid": "ssid",
      "security_method": "0",
      "key": "key"
    },
    "@wifi-iface[0]": {
      "mode": "sta",
      "rssi_watermark_lower": "-95",
      "key": "key",
      "tdd_tx_pow": "tx-pow-db"
    },
    "wifi0": {
      "def_country": "CC"
    }
  },
  "network": {
    "mode": {
      "bridge_proto": "1",
      "bridge_ipaddr": "IPADDR",
      "bridge_gateway": "GW",
      "bridge_dns_primary": "DNS1",
      "bridge_dns_secondary": "DNS2",
      "bridge_mtu": "MTU"
    }
  },
  "devagent": {
    "main": {
      "cns_url": "your-cnmaestro"
    }
  },
  "system": {
    "@system[0]": {
      "hostname": "nameme",
      "timezone": "AEST-10",
      "pwr_factory_reset": "0",
      "config_id": "1"
    },
    "ntp": {
      "mode": "1",
      "server1": "IP"
    }
  },
  "acs": {
    "@wifi-iface[0]": {
      "acs_control": "0",
      "acs_state": "0"
    }
  },
  "lldpd": {
    "main": {
      "enable": "0"
    }
  },
  "mactelnet": {
    "main": {
      "enable": "0"
    }
  },
  "snmpd": {
    "public": {
      "community": "public"
    },
    "private": {
      "community": "private"
    },
    "@system[0]": {
      "sysName": "",
      "sysDescr": ""
    }
  }
}
Contributor

Re: Elevator-tool to preconfigure before you Elevate

Settings do not appear to work with ver 3.4.1

 

It worked fine with 3.3 

 

Is there anything special to make it work with 3.4.1?

Cambium Employee

Re: Elevator-tool to preconfigure before you Elevate

Hi

 

I've made the attached script which uses the Elevator script from:-

 

https://github.com/m0sia/elevator

 

It adds a it in a GUI, and allows multiple IP address to be used, and can edit the JSON file to the IP address of the radio.

 

If you don't add a password and or JSON file it will not perform  that step.

 

Enjoy