Difference between revisions of "Template:TFTP Flashing Steps"

Jump to navigation Jump to search
Line 18: 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 {{{firmware_link|the firmware file you wish to flash}}}
+
# Download {{{firmware_link|the firmware file you wish to flash}}}{{#if: {{{firmware_renamed|}}}{{{firmware_filename|}}}|
 
+
# Rename the firmware file to <code>{{{firmware_filename}}}</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:
  
Line 30: Line 28:
 
  tftp> rexmt 1
 
  tftp> rexmt 1
 
  tftp> timeout 60
 
  tftp> timeout 60
  tftp> put {{{rename_firmware|{{{firmware_filename|firmware.bin}}}}}}
+
  tftp> put {{{firmware_filename|<firmware_filename>}}}
 
  Sent x bytes in x seconds
 
  Sent x bytes in x seconds
  
 
</includeonly>
 
</includeonly>

Revision as of 09:19, 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
  2. 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_filename>
Sent x bytes in x seconds