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
TP-Link router TFTP IP is 192.168.0.66. Set your computer to the same subnet.
| 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.100, Subnet Mask: 255.255.255.0 |
| Step | Action |
|---|---|
| 1 | Download Tftpd64 and run it |
| 2 | Server interface: Select 192.168.0.100 |
| 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.100 |
| 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.100; 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