Flashing OpenWrt via TFTP
Detailed guide for flashing OpenWrt firmware onto TP-Link TL-WR940N V6 via TFTP. Beginner-friendly with stable, reliable results.
TP-Link TL-WR940N V6 Front (V4 and V6 have identical exterior)
TP-Link TL-WR940N V6 Angle View
Before you start, confirm these parameters match the device, firmware file, and recovery flow.
| Compatible model | TP-Link TL-WR940N V4 / V6 |
|---|---|
| Recovery method | Native TFTP recovery |
| Router recovery IP | 192.168.0.1 |
| Computer static IP | 192.168.0.66 |
| Firmware file | openwrt-ath79-tiny-tplink_tl-wr940n-v6-squashfs-factory.bin |
| Suggested TFTP filename | wr940nv6.bin |
| Common failure causes | Wrong computer IP, mismatched firmware filename, Reset not held for recovery mode, firewall blocking TFTP |
Follow these steps to recover your router
During recovery, the router uses 192.168.0.1 and sends its TFTP request to your computer at 192.168.0.66.
| Step | Action |
|---|---|
| 1 | Control Panel β Network and Sharing Center β Change adapter settings |
| 2 | Right-click "Ethernet" β Properties β Internet Protocol Version 4 (TCP/IPv4) |
| 3 | Select "Use the following IP address" |
| Step | Action |
|---|---|
| 1 | System Settings β Network β Ethernet β Details |
| 2 | IPv4 Configuration: Manual |
| 3 | IP Address: 192.168.0.66, Subnet Mask: 255.255.255.0 |
| Step | Action |
|---|---|
| 1 | Download Tftpd64 and run it |
| 2 | Server interface: Select 192.168.0.66 |
| 3 | Current Directory: Select folder containing the firmware |
| 4 | Rename firmware to wr940nv6.bin for simplicity |
| Step | Action |
|---|---|
| 1 | Download TFTP Server for macOS |
| 2 | Set computer IP to 192.168.0.66 |
| 3 | Click Start to launch the server |
| 4 | Place firmware in TFTP root directory |
Connect computer β router LAN port (any LAN port works)
Keep router powered off (unplug the power adapter)
Use a toothpick or needle to press and hold the Reset hole on the back of the router
While still holding Reset, plug in the power adapter
Continue holding Reset for 7-10 seconds, watch the LEDs
When the power LED blinks rapidly, firmware download is in progress β you can release Reset β
| Phase | Duration | LED Behavior |
|---|---|---|
| Firmware Download | 10-20 seconds | Rapid blinking |
| Writing to Flash | ~40 seconds | Occasional blinking |
| Auto Reboot | After completion | LED turns off then back on |
| Item | Value |
|---|---|
| Management Address | http://192.168.1.1 |
| Username | root |
| Password | Empty (no password needed for first login) |
Change computer network back to automatic IP (DHCP), or manually set:
| Item | Path | Description |
|---|---|---|
| Set root password | System β Administration | Set a password to protect the device |
| Configure WAN | Network β Interfaces | Select WAN port internet type (DHCP/PPPoE/Static IP) |
| Set up Wi-Fi | Network β Wireless | Edit β Set ESSID and password |
| Problem | Solution |
|---|---|
| LED not blinking rapidly | Check if computer IP is 192.168.0.66; check cable; disable firewall |
| TFTP timeout/failed | Rename firmware to wr940nv6.bin; try a different TFTP app |
| Router won't boot after flash | Retry TFTP flash; verify firmware integrity (~3-4MB) |
| Can't access 192.168.1.1 | Clear browser cache; check if computer IP is in 192.168.1.x range |
| Stock firmware says "Invalid firmware" | Must use TFTP method β stock Web has signature verification |
| Version | LED Indicator | TFTP Support | Notes |
|---|---|---|---|
| V4 | Multiple LEDs (LAN1-4, WAN, WLAN, SYSTEM) | β Supported | Nearly identical hardware to V6 |
| V6 | WAN LED only | β Supported | Target model of this tutorial |
| V6.1 | WAN LED only | β Supported | May require connecting through a switch for TFTP |
This tutorial is for learning and reference only. Flashing firmware carries risks and may cause brick or void warranty. Before proceeding:
Last updated: April 2026