Difference between revisions of "Template:TFTP Flashing Steps"
Jump to navigation
Jump to search
Stephen304 (talk | contribs) |
Stephen304 (talk | contribs) |
||
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 | + | {{Template:TFTP Flashing Steps}}</noinclude> |
− | + | <includeonly> | |
− | + | === Enter TFTP Mode === | |
− | + | {{{factory_reset_steps|Follow the steps for your device to enter TFTP Mode}}} | |
− | |||
=== 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 | + | # Download {{{firmware_link|the firmware file you wish to flash}}} |
− | # Rename the firmware file to <code> | + | |
+ | {{#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: | ||
− | + | ||
− | tftp | + | tftp |
− | + | ||
− | + | 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 | + | |
− | </ | + | </includeonly> |
Revision as of 03: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
- Windows: Setting a static IP address in Windows 10
- Mac: Setting a static IP address in OSX
- 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.
- Download the firmware file you wish to flash
- 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