Using UniFi Recovery mode via TFTP

Preperation steps


  1. Download the firmware and save to Desktop: https://s3-eu-west-1.amazonaws.com/router-firmware/ub-unifiuap.bin

    UniFi UAPhttps://s3-eu-west-1.amazonaws.com/router-firmware/recovery/ub-unifiuap.bin

    UniFi UAP Pro: https://s3-eu-west-1.amazonaws.com/router-firmware/recovery/ub-unifiuappro.bin


  2. Unplug the ethernet from the Unifi AP

  3. Press and hold in a paper-clip or other object in to the Reset hole (next to the Ethernet plug) on the AP. Make sure you can feel it pushed in.

  4. Plug the Ethernet cable back in whilst still keeping the reset button held in.

  5. After around 25 seconds the light on the Unifi will go between flashing orange then green, orange then green etc (Newer models will flash white then blue). This means the AP is in upgrade mode.

  6. Set your computer's ethernet card to use a static IP of 192.168.1.25, subnet of 255.255.255.0 and gateway of 192.168.1.20

  7. Plug the LAN cable from the Unifi PoE adapter in to your computer.


Windows:


Please install the following TFTP software - http://kin.klever.net/dist/pumpkin-2.7.3.exe

Open the Pumpkin TFTP application and click on "Put File". In "Local file" choose the firmware file you downloaded In the "Remote host" field enter 192.168.1.20 - then click OK.


MAC:

OSX should have a built in command line version of TFTP that you might use from terminal, the process of the last instructions are essentially the same in terms of getting the UAP into 'upgrade mode' to enable you to TFTP back in the Ubiquiti firmware - rather than using Pumkin to initiate TFTP you'll want to get yourself to a point where you can execute a few lines in the MAC Terminal window, to provide the


  • First, put the original UAP firmware in your user folder (/Users/yourusername/).
  • In System Preferences and Network, set your Apple PC's network IP address to 192.168.1.25, subnet is 255.255.255.0 and gateway is 192.168.1.20 (which you might wish to do this in preparation)

  • Copy & paste the following text into a text editor:

    connect 192.168.1.20

    binary

    rexmt 1

    timeout 60

    put firmware.bin


  • In that last line change firmware.bin to the name of the firmware file, which you just moved to your user folder. Copy (Cmd+c) this text to your clipboard - be sure to include a line break after the last line.
  • Now open Applications > Utilities > Terminal. and type:
    tftp

  • A "tftp>" command prompt will appear.

  • At this point you're ready to reset the UAP and connect it to your Apple PC, while it's in 'upgrade mode', so to initiate the tftp transfer...

  • On the tftp command line in Terminal, paste (Cmd+v) the text you copied. Since you copied the line break at the end, tftp will execute the command at the moment you paste it. Depending on your router, you may have to paste it multiple times to get the timing right. If all is well, you'll see something like this:

    tftp> connect 192.168.1.20
    tftp> binary
    tftp> rexmt 1
    tftp> timeout 60
    tftp> put firmware.bin
    Sent x bytes in x seconds


Alternatively you might try another third party software

http://ww2.unime.it/flr/tftpserver/


You should now have some indication of the file being transferred. The firmware on your AP will be upgraded and the device will automatically reboot once done.

Re-connect the LAN cable from the Unifi POE adapter in to your broadband router. Remember to set your PC's network IP back to what it was before (DHCP etc).


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.