Difference between revisions of "Template:TFTP Flashing Steps"

Jump to navigation Jump to search
Line 2: Line 2:
 
This template allows easy inclusion of TFTP flashing instructions across the wiki.
 
This template allows easy inclusion of TFTP flashing instructions across the wiki.
  
== Steps ==</noinclude>
+
== Steps ==
=== Enter Factory Reset Mode ===
+
{{Template:TFTP Flashing Steps}}</noinclude>
# Unplug the ethernet from the antenna (This turns it off.)
+
<includeonly>
# Use a paper clip to hold in the reset button
+
=== Enter TFTP Mode ===
# Plug the ethernet back in to the antenna, holding the paperclip steady as you do
+
{{{factory_reset_steps|Follow the steps for your device to enter TFTP Mode}}}
# Continue holding the paper clip until the light on the side of your UAP AC Mesh starts blinking OFF/WHITE/BLUE (should take about 30 seconds)
 
  
 
=== Set Up a Static IP Address ===
 
=== Set Up a Static IP Address ===
Line 19: Line 18:
 
Because we are "jailbreaking" the Ubiquiti router, we have to downgrade to an older version of their proprietary firmware first. Using a tool called TFTP, we can do this quite simply.
 
Because we are "jailbreaking" the Ubiquiti router, we have to downgrade to an older version of their proprietary firmware first. Using a tool called TFTP, we can do this quite simply.
  
# Download [https://dl.ui.com/unifi/firmware/U7PG2/3.7.58.6385/BZ.qca956x.v3.7.58.6385.170508.0957.bin version 3.7 of Ubiquiti's AirOS]
+
# Download {{{firmware_link|the firmware file you wish to flash}}}
# Rename the firmware file to <code>firmware.bin</code>, as the device will look for this file name
+
 
 +
{{#if: {{{rename_firmware|}}}|# Rename the firmware file to <code>{{{rename_firmware}}}</code>, as the device will look for this file name| }}
 +
 
 
# Launch a command prompt/terminal, and enter the following, one line at a time:
 
# Launch a command prompt/terminal, and enter the following, one line at a time:
<pre>
+
 
tftp
+
tftp
</pre>
+
 
<pre>
+
tftp> connect {{{device_ip|<device_ip>}}}
tftp> connect {{{device_ip|<device_ip>}}}
+
tftp> binary
tftp> binary
+
tftp> rexmt 1
tftp> rexmt 1
+
tftp> timeout 60
tftp> timeout 60
+
tftp> put {{{rename_firmware|{{{firmware_filename|firmware.bin}}}}}}
tftp> put firmware.bin
+
Sent x bytes in x seconds
Sent x bytes in x seconds
+
 
</pre>
+
</includeonly>

Revision as of 04:02, 15 September 2020

This template allows easy inclusion of TFTP flashing instructions across the wiki.

Steps

Enter TFTP Mode

Follow the steps for your device to enter TFTP Mode

Set Up a Static IP Address

The next step is to assign your computer a static IP address of 192.168.1.25/24

  1. Windows: Setting a static IP address in Windows 10
  2. Mac: Setting a static IP address in OSX
  3. Linux: Setting a static IP address in Ubuntu 18.04 desktop

Downgrade Ubiquiti AirOS

Because we are "jailbreaking" the Ubiquiti router, we have to downgrade to an older version of their proprietary firmware first. Using a tool called TFTP, we can do this quite simply.

  1. Download the firmware file you wish to flash


  1. Launch a command prompt/terminal, and enter the following, one line at a time:
tftp
tftp> connect <device_ip>
tftp> binary
tftp> rexmt 1
tftp> timeout 60
tftp> put firmware.bin
Sent x bytes in x seconds