How to manually flash firmware on a CloudTrax-enabled access point

Follow

In some cases your access point may need to have its firmware "flashed". Flashing the firmware simply means you're re-installing the firmware onto the access point. This may be needed due to the access point running outdated firmware or you're having technical problems with the access point.

Follow the instructions below to re-flash. Before adding them back to your network, ensure follow the instructions at the end of this article

Step One:

Windows users: Install a utility program called WinPcap. Get it here: http://www.winpcap.org/install/default.htm

Linux users: Skip to Part B

Mac users: Use our Mac firmware flash instructions (beta)


Step Two:

Download and save the flash utility for your model and network:


Version 6.2 (latest release: 6.2.12)

Supports OM2Pv2, OM2P-LC, OM2P-HS, OM5P, OM5P-AN, OM5P-AC, MR600/900/1750 only.
Note: The OM1P and MR500 aren't compatible with 6xx firmware. 
Note: The OM2P (32 MB) will only support up to 5xx firmware, and the OM2P will only work with 6.1 firmware or earlier.

Version 6.3 (latest release: 6.3.14)

Required for the OM2Pv4, OM2P-HSv4 and A-series APs.
Supports OM2Pv2, OM2P-LC, OM2P-HS, OM5P, OM5P-AN, OM5P-AC, MR600/900/1750, A40/A60.
Note: The OM1P and MR500 aren't compatible with 6xx firmware. 
Note: The OM2P (32 MB) will only support up to 5xx firmware, and the OM2P will only work with 6.1 firmware or earlier.



Previous Stable

Version 6xx (latest release 6.1.2)
Version 5xx (latest release: r590)

Supports OM2P, OM2P-LC, OM2P-HS, OM5P, OM5P-AN, MR600/900/1750 only.
Note: The OM1P and MR500 aren't compatible with 5xx firmware.
Note: The OM2P 32MB should be used with 5xx firmware only.

 

Legacy
Version 4xx (latest release: r481)

Supports OM2P*, OM2P-LC, OM2P-HS, OM1P and MR500 only. 
Note: The OM5P, OM5P-AN and MR600/900/1750 aren't compatible with 4xx firmware. 
*Mid-2016 and later models of the OM2P which ship with 5xx firmware will not work on 4xx.


Step Three:

The flash utility is a "console application", so open up a console window. In Vista or Windows 7, go to the Start menu and search for "command"; in Windows 8, press the Windows key+R and enter "cmd". Once you have the console window open, you will first need to go to the directory you downloaded the file to. In most cases you can simply type cd Downloads and press Enter to get to your Downloads directory. Once in the correct directory, type open-mesh-flash-ng and press Enter. You should see output similar to the following:

C:\Users\Mike Asus\Downloads>open-mesh-flash-ng


Usage:
open-mesh-flash-ng [ethdevice] flashes embedded kernel + rootfs: open-mesh firmware rxxx
open-mesh-flash-ng [ethdevice] rootfs.bin kernel.lzma
flashes your rootfs and kernel
open-mesh-flash-ng [ethdevice] ubnt.bin
flashes your ubiquiti image
open-mesh-flash-ng [ethdevice] uboot.bin
flashes your uboot image
open-mesh-flash-ng -v
prints version information

The 'ethdevice' has to be one of the devices that are part of the supported device list which follows.
You can either specify its name or the interface number.

1: \Device\NPF_{9BB97EBC-1BA2-4F39-93C3-A9841A4E863F}
(Description: Sun)

2: \Device\NPF_{AAE405B9-0A93-4C4D-A3C7-E87BD8CB36E7}
(Description: Microsoft)

3: \Device\NPF_{E789801D-D437-4BDA-9A7E-34BEC2058A0C}
(Description: Atheros AtcL001 Gigabit Ethernet Controller)

4: \Device\NPF_{55143701-D657-4DEF-835A-14EEF2970416}

(Description: MS Tunnel Interface Drive

 
Note: the number of your actual Ethernet Device from the list displayed (in this case, "3").    Hint: It will usually contain the word "Ethernet". Some users will have to run the cmd program as "administrator" to select their interface correctly.

Step Four:

Type "open-mesh-flash-ng n" where "n" is the Ethernet Device number.  Hit "Enter"

C:\Users\Mike Asus\Downloads>open-mesh-flash-ng 3


Connect your Open-Mesh access point to your PC's Ethernet port and power it on.If it was already powered on, power-cycle it by removing the power and plugging it back in. 

Skip to Finalizing

 

 

Part B (For Linux users only)

Step Two:

Download and save the flash utility for Linux. Choose the version for your model and network.

Stable
Version 6.2 (latest release: 6.2.12)

Supports OM2P*, OM2P-LC, OM2P-HS, OM5P, OM5P-AN, OM5P-AC, MR600/900/1750 only.
Note: The OM1P and MR500 aren't compatible with 6xx firmware. 
*The OM2P (32 MB) will only support up to 5xx firmware.

Version 6.3 (latest release: 6.3.14)

Required for the OM2Pv4, OM2P-HSv4 and A-series APs. 
Supports OM2P*, OM2P-LC, OM2P-HS, OM5P, OM5P-AN, OM5P-AC, MR600/900/1750 only.
Note: The OM1P and MR500 aren't compatible with 6xx firmware. 
*The OM2P (32 MB) will only support up to 5xx firmware.

Previous Stable
Version 6xx (latest release 6.1.2)

Version 5xx (latest release: r590)

Supports OM2P, OM2P-LC, OM2P-HS, OM5P, OM5P-AN, MR600/900/1750 only.
Note: The OM1P and MR500 aren't compatible with 5xx firmware. 

Legacy
Version 4xx (latest release: r481)

Supports OM2P*, OM2P-LC, OM2P-HS, OM1P and MR500 only. 
Note: The OM5P, OM5P-AN and MR600/900/1750 aren't compatible with 4xx firmware. 
*Mid-2016 and later models of the OM2P which ship with 5xx firmware will not work on 4xx.

 

Step Three:

Find the directory, the default is Downloads. 
cd Downloads/

Type "chmod +x open-mesh-flash-ng"

Type "./open-mesh-flash-ng"

Note the number of your actual Ethernet Device from the list displayed (in this case, "1").    Hint: It will usually contain the word "Ethernet".  

Step Four:

Type "./open-mesh-flash-ng n" where "n" is the Ethernet Device number.  Hit "Enter"

(You may need to run "sudo ./open-mesh-flash-ng n")

~ $ sudo ./open-mesh-flash-ng 1

Connect your Open-Mesh access point to your PC's Ethernet port and power it on. If it was already powered on, power-cycle it by removing the power and plugging it back in. 

Finalizing

If flashing the MR500 Or OM2P, you MUST use the LAN port NEXT TO THE POWER PLUG. None of the other ports will work to reflash. A crossover cable is NOT required to connect your unit to your computer via ethernet cable.

The output of the flash utility should look similar to below (note that the MR500 output will be much shorter).   If after 10 seconds you don't see this, try power cycling your router and/or check the interface number to make sure you are using your computer's Ethernet port. 

[ac:86:74:02:23:f8]: type 'OM2P router' detected
[ac:86:74:02:23:f8]: OM2P router: tftp client asks for 'fwupgrade.cfg', ser
fwupgrade.cfg portion of: embedded image (1 blocks) ...
[ac:86:74:02:23:f8]: OM2P router: tftp client asks for 'kernel', serving ke
portion of: embedded image (1861 blocks) ...
[ac:86:74:02:23:f8]: OM2P router: tftp client asks for 'rootfs', serving ro
portion of: embedded image (4097 blocks) ...
[ac:86:74:02:23:f8]: OM2P router: image successfully transmitted - writing
 to flash ...
[ac:86:74:02:23:f8]: OM2P router: flash complete. Device ready to unplug.


The reflash will take about 3-15 minutes to complete (depending upon the router model) so please be patient.

The flash program will not exit on it's own.  You can either plug in another node to start the process again, or hit "Ctrl+C" to exit the console and flash utility.

You can display the version of the firmware embedded in the flash utility by typing "open-mesh-flash-ng -v".

 

In CloudTrax:

  1. Before plugging the access point back into your network, ensure you've selected the proper firmware version in CloudTrax and disable automatic upgrades. Different firmware versions have different dependencies in CloudTrax, and a mismatch here will cause network issues. Both of these options can be found in Configure > Maintenance.

  2. After reflashing a unit and connecting it back to your local network, it must also be paired with your CloudTrax network again. An alert will show up advising you to re-pair the unit once it comes back online.


Note: 
If you have changed the wireless channel on your network from the default 5, you will find that after reflashing wireless nodes may take up to 40 minutes to check-in.  This is because the reflash returns the units back to the default settings.  An alternative is to plug the unit in via Ethernet and wait for the device to update its channel before making it a wireless node again.

 

Have more questions? Submit a request

Comments

  • Avatar
    Emayers

    Is an OSX based flash utility planned?

    Are there any work-arounds to try before a re-flash? I have a unit which appears to be unable to boot properly (it stays in a flashing-blue-light state forever).

  • Avatar
    Bryan Patterson

    @Emayers That sounds like a problem that a firmware flash would fix.

    An OS X flash utility is in the works but needs to be added to our current firmware build process. There is a convoluted way to flash on a Mac. Please file a support ticket and we can walk you through it.

  • Avatar
    Robert Koppanyi

    Does this work with windows 10 ? I am having trouble with the procedure.

  • Avatar
    Ryan Detwiller

    @Robert - yes, it works on Windows 10. Shoot us a ticket to support@open-mesh.com if you're still seeing issues.

  • Avatar
    Robert Koppanyi

    For information, I could not flash the OM2P-HS v2 from Windows 10 "out of the box" but it did flash from XP, although it did take about 40 minutes to flash the 587 firmware.

  • Avatar
    Tee Earls

    I am running Windows 10 and the flash (down to 587) seems to be hanging on the rootfs step. It's been on that for over 60 minutes now. Can you update this article to provide some troubleshooting steps or how to safely restart / proceed if things don't ever seem to end successfully? thanks

  • Avatar
    Bryan Patterson

    Tee - The 587 flash utility has a bug that won't show you when it's done. Please just let it run for about five minutes and then you can plug it back into your network to see if it checks into Cloudtrax. The next firmware build will fix this issue. Sorry about that.

  • Avatar
    Rocco Florimonte

    It would be nice if you could post the convoluted Mac flash method- the only Linux machine I have is a raspberry pi- and the flash utility doesn't run at all. The only windows environment I have is a virtual machine running on a Mac, and the flash utility doesn't work there either.

  • Avatar
    Bryan Patterson
    @ Rocco - The Mac flash utility is now posted and linked at the top of the article.
  • Avatar
    Matt Nelms - NTech LLC
    Have to constantly reboot unit to get reasonable speed. Decided to flash down to the 4x version. Flash successful. SSID is stuck on the default, cloudtrax and cloudtrax-secure when trying to connect from my laptop. Waited about 10 minutes, no change. SSID in web interface says something different than the default. Deleted network, tried renaming SSID, no change. Still stuck on default SSID. Reflashed back up to 5x version. Now I am getting my SSID's back. Hope this reflash helps the speed issue. I would have to reboot every week just to be able to browse websites. It was so slow, it was un-usable.
  • Avatar
    Bryan Patterson
    Matt - if you downgrade from 5xx to 481 your Cloudtrax dashboard will need to be reverted to an older version in order for it to work again. We recommend you stay on the latest firmware branch but if you need to use 481 please open a support request so that we can make the change for you.
  • Avatar
    frostea

    Question guys can the Ubiquiti Nanostation NSM5 be flashed with this tutorial as well? Will I just be able to manually insert the MAC ID and it should enable on my cloudtrax account? ( These M5's are compatible with open-mesh ) If anyone wants to share a .bin or a custom flash firmware please spread the knowledge.

    Thanks!

  • Avatar
    Bryan Patterson

    Frostea - you can only flash third party hardware with firmware version up to 481. 5xx firmware and above is only compatible with Open Mesh hardware.

  • Avatar
    Pjay337

    I use the Symantec corporate anti-virus Endpoint Protection 12.1.x. IF YOU USE THIS, MAKE SURE IT'S DISABLED!!! DEVICES WILL NOT FLASH IF IT IS ENABLED!

  • Avatar
    Pbittechnology

    Ditto with Zonealarm. Disable it, or your access points won't update.

  • Avatar
    Jens

    How can I flash a different firmware by remote, without physical access to the router?

    regards Jens

Powered by Zendesk