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 == | + | == Example == |
| − | {{Template:TFTP Flashing Steps}}</noinclude> | + | <pre>{{Template:TFTP Flashing Steps}}</pre> |
| + | {{Template:TFTP Flashing Steps}} | ||
| + | |||
| + | Additional parameters may be passed to customize the instructions: | ||
| + | <pre> | ||
| + | {{Template:TFTP Flashing Steps | ||
| + | |factory_reset_steps= | ||
| + | # Power off the device | ||
| + | # Use a paper clip to hold in the reset button | ||
| + | # Plug in the device | ||
| + | # Continue holding the reset button until the LED flashes | ||
| + | |firmware_link=[https://example.com/12345.bin firmware file] | ||
| + | |firmware_filename=firmware.bin | ||
| + | |firmware_renamed=yes | ||
| + | |device_ip=192.168.1.20 | ||
| + | |user_ip=192.168.1.25/24 | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Template:TFTP Flashing Steps | ||
| + | |factory_reset_steps= | ||
| + | # Power off the device | ||
| + | # Use a paper clip to hold in the reset button | ||
| + | # Plug in the device | ||
| + | # Continue holding the reset button until the LED flashes | ||
| + | |firmware_link=[https://example.com/12345.bin firmware file] | ||
| + | |firmware_filename=firmware.bin | ||
| + | |firmware_renamed=yes | ||
| + | |device_ip=192.168.1.20 | ||
| + | |user_ip=192.168.1.25/24 | ||
| + | }} | ||
| + | |||
| + | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div style="margin-left: 1.6em;"> | <div style="margin-left: 1.6em;"> | ||
Latest revision as of 10:44, 15 September 2020
This template allows easy inclusion of TFTP flashing instructions across the wiki.
Contents
Example
{{Template:TFTP Flashing 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 in the appropriate subnet for your device. See the wiki page for your device if you are unsure.
- 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
Sending Firmware via TFTP
- 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_filename> Sent x bytes in x seconds
Additional parameters may be passed to customize the instructions:
{{Template:TFTP Flashing Steps
|factory_reset_steps=
# Power off the device
# Use a paper clip to hold in the reset button
# Plug in the device
# Continue holding the reset button until the LED flashes
|firmware_link=[https://example.com/12345.bin firmware file]
|firmware_filename=firmware.bin
|firmware_renamed=yes
|device_ip=192.168.1.20
|user_ip=192.168.1.25/24
}}
Enter TFTP Mode
- Power off the device
- Use a paper clip to hold in the reset button
- Plug in the device
- Continue holding the reset button until the LED flashes
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
Sending Firmware via TFTP
- Download firmware file
- Rename the firmware file to
firmware.bin, as the device will look for this file name - Launch a command prompt/terminal, and enter the following, one line at a time:
tftp
tftp> connect 192.168.1.20 tftp> binary tftp> rexmt 1 tftp> timeout 60 tftp> put firmware.bin Sent x bytes in x seconds