CfCbazar
DIY

ESP8266 WiFi Repeater (Mesh + NAPT)

ESP8266 WiFi Repeater

This guide shows how to turn an ESP8266 NodeMCU into a WiFi repeater / extender using two methods:

Method 1: Flash the open‑source esp_wifi_repeater firmware (Mesh mode available) ✔ Method 2: Use the Arduino IDE example RangeExtender-NAPT (no mesh mode)

Both methods require connecting to the repeater WiFi and visiting 192.168.4.1 to configure it.

Step 1 — Download the Repeater Firmware
Open-source project
Download

Download the firmware from GitHub:

https://github.com/martin-ger/esp_wifi_repeater/tree/master

Extract the ZIP and open the firmware folder. You will see:

  • 0x00000.bin
  • 0x02000.bin
  • 0x82000.bin
Step 2 — Open the ESP Web Flash Tool
Works only in Chrome / Edge
Connect to the ESP266 and select the files from the extracted zip
Flash

Visit the official online flasher:

https://esp.huhn.me/

Connect your ESP8266 via USB and click Connect.

Step 3 — Flash the Firmware
Upload all 3 files
Upload

Upload the files to the correct addresses:

0x00000.bin → 0x00000
0x02000.bin → 0x02000
0x82000.bin → 0x82000
            

Click Flash and wait until it completes.

Step 4 — Reboot & Connect
ESP8266 starts in AP mode
WiFi

Power‑cycle the ESP8266.

It will create a WiFi network:

MyAP

Then open:

http://192.168.4.1

This step is required for both methods. You must connect to the repeater WiFi and configure it at 192.168.4.1.

Step 5 — Configure the Repeater
Mesh mode available only in Method 1
Setup

Inside the web interface:

  • Enter the SSID you want to repeat
  • Enter the WiFi password
  • Mesh Mode is available only in the esp_wifi_repeater firmware
  • Click Save

Wait about 2 minutes for the mesh to initialize (Method 1 only).

Step 6 — Check Mesh Status
Method 1 only
Debug

Open the ESP Web Flash Tool again and click Serial Monitor.

You will see logs like:

Mesh connected!
Repeating SSID: YourWiFi
Signal: -65 dBm
            

This applies only to the esp_wifi_repeater firmware.

Alternative Method — Arduino IDE Repeater
No firmware flashing required
Arduino

The ESP8266 Arduino core includes a built‑in WiFi repeater example called RangeExtender-NAPT.

To use it:

  1. Open the Arduino IDE
  2. Go to File → Examples → ESP8266WiFi → RangeExtender-NAPT
  3. Edit the SSID and password in the sketch
  4. Upload to your NodeMCU

After uploading, connect to the repeater WiFi and visit:

http://192.168.4.1

This method does not include mesh mode — it uses NAPT (Network Address and Port Translation) to extend your WiFi network.