Skip to content
Contents
GuidesOpenWrt
Editorial verified

During TFTP recovery, does the router fetch the firmware or wait for an upload?

With the Archer C7 v2 the router asks the computer for a file. The WNDR3700 v1 waits for an upload. That first request tells you which TFTP tool to open.

Look for a read request or an upload instruction

TFTP is a simple file transfer protocol. The client is the side that sends the first request. In both procedures the firmware travels from the computer to the router. A bootloader can use a different IP address, Ethernet port and image format from the running operating system. TFTP specification, RFC 1350

What the device guide says Who starts the transfer What to do on the computer
Start a TFTP server and place an image with a particular name in its directory The router sends a read request (RRQ) Start the server and wait for the router to fetch the file
Run put or select Upload at a particular LED signal, using the bootloader IP The computer sends a write request (WRQ) Upload the image in binary mode with a TFTP client

For the TP-Link Archer C7 v2, the device page describes the router requesting ArcherC7v2_tp_recovery.bin. For the NETGEAR WNDR3700 v1, the computer sends an image that the bootloader accepts. Check the corresponding section again for a v3, v4 or different regional variant. Archer C7 device page · WNDR3700 device page

What to write down before connecting the cable

  1. Read the model, hardware revision and region from the label. Check whether that revision can install OpenWrt directly over TFTP. Some bootloaders accept only the manufacturer's recovery image. After restoring it, follow the model's first-install instructions. Identify your hardware
  2. Note the computer's static IP and subnet mask, the bootloader IP, the Ethernet port, the button sequence, the LED signal for recovery and the indication that writing has finished. Some routers request the file from one fixed IP address even if another address is on the same subnet.
  3. Record both the downloaded image name and the filename required for transfer. Check the format and SHA-256 before renaming a copy. A filename extension cannot turn a sysupgrade or initramfs image into a factory image. A procedure that boots an image into RAM may require a separate installation step. Choose and verify firmware
  4. Connect the computer directly to the specified Ethernet port. TFTP has no authentication or encryption. Bind the temporary server to the wired interface, serve only the firmware file and stop the server when finished.

Read the log before trying again

What you see What to check
You expect a download, but the server log is empty Confirm that the device uses RRQ. Check the interface, computer IP, physical port and recovery LED. An empty log alone does not establish the transfer direction.
RRQ followed by File not found The router reached your computer. Compare the full requested name, letter case and extension with the file in the server's root directory.
An upload times out or stops after a few blocks Check the bootloader IP, upload window and cable. The initial request normally goes to UDP 69. Later packets use transfer ports chosen by the endpoints. Check that the firewall permits that application on the wired interface.
The byte count is complete, but the management page is unavailable Leave the power on until the documented flash and reboot signals finish. Restore the computer's network settings, open the new system's management address and check its model and release.

Continue with the steps for your computer. Windows TFTP recovery · macOS TFTP recovery

Explore hardware

Devices mentioned

Comments