How can i increase the range , if soldered an external antenna with it , does it solve the problem ?
@nomnom9142 ай бұрын
is there a guide on how to flash and program this thing? I found the github but cant find any code, I need it since i got two nodemcus and wanted to extend my wifi for my cctvs
@markbowhill4 ай бұрын
Ausome work!!! Im testing this option. Can i use one ESP8266 to work like NAT Router and like Relay controler (mqtt on the cloud) at the same time? The NAT Router is runing very well but the mqtt client on the same NAT ROUTER ESP8266 no connect.
@ohaiyo10404 ай бұрын
yo, i tried to use esp32 flash tools but when i tried flashing, it says no xmc flash detected. how to fix? any help would be appreciated
@larkbox842710 ай бұрын
Hi Im late to the party as usual, this looks like a great lil project, ideal for my BAN (eBike Area Network) initially a rgbled control system for lighting and indicator warning lighting..
@EmilePolka Жыл бұрын
is it possible to do transparent bridge with the repeater? doing NAT is kinda nasty.
@martinger327 Жыл бұрын
No, only NAT possible.
@Nobody-hs9cl Жыл бұрын
Seoretically the ausor of sis sing could have sought about speaking german... it would have been wors a try.
@TheAimb0t10 ай бұрын
Komisch.... ich habe auf deinem Kanal leider kein deutsches Video zu diesem Thema gefunden.. Also bevor man andere kritisiert, lieber mal vor der eigenen Haustüre kehren. An den Ersteller dieses Video: Gute Arbeit und eine tolle Erklärung.
@palashproduction4723 Жыл бұрын
Nat router on esp32 Is usable alternative to commercial products. I just finished my portable router. Thank you, your work Is great.
@xerix32 Жыл бұрын
Hi @palashproduction4723, I used an ESP32 too, but speed rate is 6 Mbit/s maximux, with a low rate of 1-2.. Your experience?
@palashproduction4723 Жыл бұрын
Hello @xerix32, my results are a bit worse than yours. I never got to 6 Mbps, 3-4 was my maximum, with same rates as you had. My network infrastructure is not the best.
@SubliminalNation Жыл бұрын
Can I use a 5v mobile phone charger to power esp8266?? Will it be a problem??
@martinger327 Жыл бұрын
The development boards with USB connector have a voltage regulator and are powered with 5V, that ist fine. The pure ESP needs 3.3V.
@xiv3r Жыл бұрын
nice work
@irfannoorhuda4353 Жыл бұрын
Bro? I have esp01 board, not esp01s, if i enter your program to my esp01 and I set according to your directions on the web, the result is not the same as what was directed. the wifi is always unreadable, not as directed, I can't find the wifi name MyAp. what's the solution?
@irfannoorhuda4353 Жыл бұрын
I've tried setting up with 20/26/40Mhz, DIO/QIO, and 8mbit, and I've ticked the two firmware columns. and have connected ground with gpio when programming. but it didn't work.
@mikeefpv2 жыл бұрын
thank you very much for your work. it is impossible to make one subnet on different mesh levels? routing and portmap takes a long time to set up every time. if disable nat/dhcp on softAP and bridge two interfaces
@martinger3272 жыл бұрын
Due to NAT this is not possible
@mikeefpv2 жыл бұрын
@@martinger327 it is also strange that the esp32_nat_router project works in esp32 dev kit v4 but wifirepeater project not
@martinger3272 жыл бұрын
@@mikeefpv esp_wifi-repeater is an ESP8266 project (and the older one), thus it needs a completly different devel environment.
@mikeefpv2 жыл бұрын
@@martinger327 understood. the mesh project has great functionality that would be very useful on hardware where external antennas are available
@dergamer23452 жыл бұрын
Lol bei mir geht alles bis auf das speichern des passwort oder auch des namen LEL
@thisoldjeepcj52 жыл бұрын
Thank you for sharing your work. This seems similar to the GE Harris Mercury/ Inet radios I used to work on. Amazing capabilities in such a small device.
@deenadayalan40402 жыл бұрын
Hi all, I did try ESP32 NAT router. I was use spark fun thing plus board. I did take speed test through my mobile. ESP32 board placed 14 meter from the router and mobile placed 1 meter from the ESP32 . 1) mobile connected with router, download speed 43 mbps and upload speed 31 mbps. 2)mobile connected with ESP32 , download speed 4 mbps and upload speed 3 mbps. How to increase internet speed in this case ? please suggest suitable solution to me. Thank you.
@martinger3272 жыл бұрын
There is not much you can do other than better antenna and some experiments with the direction. Everything has to be transmitted twice in both directions so the best you can expect it half the throughput, but this is best case.
@deenadayalan40402 жыл бұрын
@@martinger327 can you suggest any other micro controller for this application ?
@vberz47782 жыл бұрын
@@deenadayalan4040 MikroTik mAP Lite
@Test-dn1qe2 жыл бұрын
Klasse Arbeit! Ich benutze gerade die ESP32 Verision github.com/martin-ger/esp32_nat_router auf eine ESP32S --> Eigentlich wollte ich diese Version github.com/martin-ger/esp_wifi_repeater mit der MESH Funktion nutzen, leider wird nach dem Flash keine WIFI STA aufgebaut, also ich kann nicht auf den ESP per WIFI zugreifen. Die Flash Dateien und Adressen sind nicht gleichen in den Turorials. Woran kann es liegen,... Wo könnte mein Fehler liegen, daß die MESH Repeater Version sich eventuell nicht richtig installiert oder bootet.
@martinger3272 жыл бұрын
Ich wüsste kein grundsätzliches Problem mit den aktuellen Binaries.
@erichmarake91522 жыл бұрын
Kann es sein, dass es Probleme gibt, wenn die Router-SSID ein Blank hat ? wie: FRITZ!Box 7490
@Justin-lj1ny2 жыл бұрын
Hi Martin, I've seen your work with the esp32 as a nat router. How would you configure it to work with a W2AP enterprise network? The native interface on the github build doesn't seem to give an option for a user ID.
@martinger3272 жыл бұрын
No, this is not yet implemented for the ESP32.
@Justin-lj1ny2 жыл бұрын
@@martinger327 I think I have managed to connect with the W2AP network and can download html code after pinning a website. I'm a bit suck trying to set up the routing. Do you have any advice for figuring out how to route the STA to the AP?
Hi Martin Erstmal super Arbeit die du geleistet hast. Wäre es möglich diesen auch als wirklichen Repeater zu nutzen? Also das er nicht als NAT fungiert? Er soll im gleichen Netzsegment laufen wie die Clients die direkt am Router hängen. Möchte mein Netz erweitern um IOT Geräte zu steuern und da ist es ja nötig das alle im gleichen Netz sind. Ich danke dir schon mal im Voraus
@martinger3272 жыл бұрын
Ich habe das mit dem Treiber nicht geschafft, direkt auf Schicht 2 weiterzuleiten. Vielleicht habe ich mich zu dumm angestellt, aber ich habe das bis jetzt auch noch nirgendwo anders gesehen.
@carstenjones8472 жыл бұрын
@@martinger327 ich leider auch nicht. Nun eventuell geht das auch nicht da die Leistung nicht reicht.
@deenadayalan40402 жыл бұрын
Dear martin, 1)I did load existing firmware in my three ESP8266( 0x00000 and 0x02000 ) 2)Restarted the ESP8266 3)I did configure my SSID, password and enable the Auto mesh. 4)Once again connected Wi-Fi (MyAP) in my laptop. 5)"Couldn't connect to the network" warning displayed with close button. 6)If press the close button "MyAP" disabled from my laptop. Note: 1) I did try with different SSID , 2) I did load and try with 0x82000 bin also, but same issue occurred. But Single Board without Auto mesh working well. Please let me know the solution.
@martinger3272 жыл бұрын
With Automesh the SSID of the ESP is the same as the one from the upstream AP. The MyAP isn't valid any more. Simply use the settings of the upstream AP.
@deenadayalan40402 жыл бұрын
@@martinger327 sure, I understood. Thank you.
@deenadayalan40402 жыл бұрын
@@martinger327 once again I have few doubts regarding Auto mesh, Please clarify to me, I configured 3 nodes with same SSID, password of router. And I could able to getting one node AP(with SSID of my router) to my station(Mobile) and internet too. I did monitor through serial window "Auto mesh successfully configured and started", and "Station" this message has displayed. But, 1) How to cross check or identify the mesh is formed or not? 2) I couldn't identify like which node is parent and child (tree structure )? I felt all nodes are connected with Router only.
@thisoldjeepcj52 жыл бұрын
@@martinger327 It appears only 0x00000 and 0x02000 are required even with Auto mesh, then what is purpose of 0x82000 bin? Thanks
@martinger3272 жыл бұрын
@@thisoldjeepcj5 It is the second binary for over-the-air upload. Not required for normal operation.
@deenadayalan40402 жыл бұрын
Dear martin, I could connect internet through single esp8266.But I couldn't connect internet through 3 nodes with auto mesh configuration.is there any procedure to get internet?
@deenadayalan40402 жыл бұрын
Hi martin, this project is very useful to make a simple Wi-Fi repeater. Can we make ESP32 Wi-Fi repeater with auto mesh configuration based on this example?
@martinger3272 жыл бұрын
No, Automesh is not implemented for the ESP32
@deenadayalan40402 жыл бұрын
@@martinger327 Thank you for your reply. Is there any possible way to achieve mesh WiFi repeater through esp32.
@martinger3272 жыл бұрын
@@deenadayalan4040 You can configure multiple repeaters in a row manually.
@deenadayalan40402 жыл бұрын
@@martinger327 thank you
@deenadayalan40402 жыл бұрын
@@martinger327 is there any major difference between ESP8266 and ESP32 for auto mesh implementation. Because ESP32 is advanced one.
@wolves2.0752 жыл бұрын
Hi I flashed it using arduino uno, but I can't find any ap of esp 01
@ilducedimas2 жыл бұрын
I can't thank you ENOUGH for your video. You rock!
@bebetterin_20232 жыл бұрын
Hi Martin, it's a very good project. But I have a problem, when I am trying to write the firmware on the esp I get the chip sync error. And I couldn't make it connect to the wifi. Do you have any idea what can I do?
@italosoares692 жыл бұрын
press the boot button while uploading
@AnakJaringan2 жыл бұрын
Hi Martin, that's an awesome project! I have a question, what about the web interface? if I edit it how can I make it like your project?
Hi Martin, it's a great project. I have a question... It's possible using the esp32 as a NAT router and only allow some ports to be use? I mean, if a user wants to communicate to PORT 80 and I don't allow that port, the station receives nothing. How can i do that?
@martinger3273 жыл бұрын
The ESP8266 version allows for port filtering, the ESP32 version not yet.
@guidoramirez84573 жыл бұрын
@@martinger327 Thank you so much for your answer. I'm new implementing Wifi to an esp project so I will be glad if you can guide me with in which part of lwip I should study to implement port filtering in esp32.
@evanfelthman46923 жыл бұрын
Hi Martin, cant we do this in Arduino sketch?
@martinger3273 жыл бұрын
Have a look at this github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/RangeExtender-NAPT/RangeExtender-NAPT.ino
@evanfelthman46923 жыл бұрын
@@martinger327 Is it possible to code an esp32 as a webserver+wifiscanner+AP+while connecting to a router/home internet(wifi. begin)?. The idea is to deal with peers as an independent sensor but communicate readings back and forth to the main server to get instructions.
@martinger3273 жыл бұрын
@@evanfelthman4692 Can be done. As a starting point you can use this: github.com/martin-ger/esp32_nat_router
@martinger3273 жыл бұрын
Sorry, no Arduino sketch...
@zachreyhelmberger8943 жыл бұрын
Wonderful project!!! Thank you for posting this clear and concise video!! Is there a tutorial on how to actually program the ESP? I am an Arduino IDE Noob and when I downloaded the zip file, I could not find a .ino file anywhere. Is there a tutorial on how to use/compile/upload all of the files in the zip? I am rather clueless on how to proceed. I am on a Linux machine, so do I have to install some special programs on my laptop in order to make this go on my ESP-12 dev board?
@martinger3273 жыл бұрын
Please look here for instructions: github.com/martin-ger/esp_wifi_repeater#building-and-flashing This is not an Arduino project.
@ziggyspaz3 жыл бұрын
Hi Martin, Is there a way to secure the telnet shell?
@martinger3273 жыл бұрын
You can switch it off after configurarion.
@martinger3273 жыл бұрын
With 'lock <passwd>' you can also secure any config changes.
@ziggyspaz3 жыл бұрын
@@martinger327 how do I switch the telnet shell off?
@martinger3273 жыл бұрын
@@ziggyspaz set config_access 0 save reset
@ziggyspaz3 жыл бұрын
@@martinger327 Thank you!
@ziggyspaz3 жыл бұрын
Just came across this, thanks 🙏
@RK-yx4xl3 жыл бұрын
Hi, martin ger, I'm a beginner at this technology, I have a few simple doubts. What is difference between "esp_slip_router" and "esp_wifi_repeater(NAT)"?
@martinger3273 жыл бұрын
Slip_router is a serial-to-WiFi router, WiFi_repeater a WiFi-to-WiFi router.
@RK-yx4xl3 жыл бұрын
thank you so much for the quick reply and now I got some clarity with confirmation. And I have few more doubts, 1. Is wifi SLIP has automesh? 2. In slip network initially, one station should be connected with the home router and the station is serially connected with an access point device. From the access point, the other station will have internet. Is am making sense?
@martinger3273 жыл бұрын
@@RK-yx4xl 1: no Automesh, 2: a device has only serial ports, it then either connects via the ESP and WiFi to an AP and the internet, or it offers via the ESP its own AP for other WiFi devices (no internet connectivity then)
@RK-yx4xl3 жыл бұрын
@@martinger327 Thank you so much for the clarification. And my final question is: Is it possible to have ESP mesh and access point on the same esp chip? Or how can we achieve that?
@martinger3273 жыл бұрын
@@RK-yx4xl no, think that is not possible
@udayelectro873 жыл бұрын
sir how to write pass .. which has a # sign ( eg #2021 ) please help me ?
@martinger3273 жыл бұрын
use %23 instead, like described here: "If you want to enter non-ASCII or special characters in the web interface you have to use HTTP-style hex encoding like "My%20AccessPoint". "
@MrBobWareham3 жыл бұрын
A shame this has not gone further I see no other reference to running MQTT on an esp everybody wants to use a Raspberry I wish someone would do more on the subject 11-06-2021
@namilo88633 жыл бұрын
how to change port 1883 and (change username + password) ? Thanh you !
@martinger3273 жыл бұрын
The console is available either via the serial port at 115200 baud or via tcp port 7777 (e.g. "telnet 192.168.4.1 7777" from a connected STA). Then: set broker_user unsername: sets the username for authentication of MQTT clients ("none" if no auth, default) set broker_password password: sets the password for authentication of MQTT clients ("none" if empty, default) set broker_port portno: sets the port number where the broker listens (default: 1883)
@namilo88633 жыл бұрын
@@martinger327 And how can i turn off AP ? Thanh you.
@martinger3273 жыл бұрын
@@namilo8863 set ap_on [0|1]: selects, whether the soft-AP is disabled (ap_on=0) or enabled (ap_on=1, default)
@namilo88633 жыл бұрын
@@martinger327 Thanh you ^ ^
@namilo88633 жыл бұрын
@@martinger327 mDNS: STA interface but I can't find mdns when I use ping mqtt.local. How to find ip by using ping name mdns ?
@rkhanso3 жыл бұрын
I'm just trying this now and am stuck with an Arduino compile error. Sorry if this is basic. I'm not even at a novice level at Arudino. Getting an error: smoke_detector_sketch:10:1: error: 'MQTT' does not name a type MQTT myMqtt(CLIENT_ID, "192,168,2,100", 1883); And a few of these: C:\Users\Roger\Documents\Arduino\smoke_detector_sketch\smoke_detector_sketch.ino: In function 'void loop()': smoke_detector_sketch:68:20: error: 'myMqtt' was not declared in this scope boolean result = myMqtt.publish(topic, valueStr); And: Multiple libraries were found for "MQTT.h" Used: C:\Users\Roger\Documents\Arduino\libraries\MQTT Not used: C:\Users\Roger\Documents\Arduino\libraries\esp-mqtt-arduino-master exit status 1 'MQTT' does not name a type
@rkhanso3 жыл бұрын
Nevermind - got it working after copying a generic sketch and adjusting.
@domingoscastelhano17023 жыл бұрын
Hi Martin,congratulations for this great job.I built an extender based on a esp32 ,I see on the serial monitor that there ia a station connected ,DHCP assigns an IP to the station (a nodemcu tasmotized) but I can't acess to that IP. Any idea what can be the problem? Regards
@martinger3273 жыл бұрын
If you want to access the connected NodeMCU from the upstream network, (e.g. via HTTP) you will need a port-forward. In the ESP32 version this has to be added in the source code. However, the STAs can connect from their side e.g. to an upstream MQTT broker. This is normal for a NATed network.
@domingoscastelhano17023 жыл бұрын
@@martinger327 Thank you;the extender is needed because the place of the nodemcu as poor wifi
@wernerlingenhel16883 жыл бұрын
Hallo Martin. Erstmal Gratulation zu deiner Arbeit! Ich hätte aber noch eine Frage: Kann es sein, dass beim Setzen des 'password' eine Längenbegrenzung gilt. Ich habe einige Sonderzeichen und gebe diese mit 'http style hex encoding' ein. Es werden aber prinzipiell nur 66 Zeichen gesamt akzeptiert - ansonsten kommt der Fehler 'invalid command'. Kannst Du mir vielleicht weiterhelfen? Das Problem taucht bei allen Eingabemethoden auf. liebe Grüsse Werner
@martinger3273 жыл бұрын
Eine längere Eingabezeile in github.com/martin-ger/esp_wifi_repeater/blob/master/user/user_config.h#L22 sollte das lösen.
@wernerlingenhel16883 жыл бұрын
@@martinger327 Vielen Dank für die rasche Antwort - werde es morgen versuchen und berichten ...
@wernerlingenhel16883 жыл бұрын
HalloMartin. Neue Firmware funktioniert nun einwandfrei mit dem langen Schutzwort. Vielen Dank für dein Bemühen!
@user-co8un6lx3t3 жыл бұрын
Hi! looked at your code in the example for arduino, is delay (1000) required in the loop () function?
@martinger3273 жыл бұрын
No, it is not - just to do anything... ;-)
@user-co8un6lx3t3 жыл бұрын
@@martinger327 🥃
@sarungbandel3 жыл бұрын
How to show hidden wifi
@martinger3273 жыл бұрын
You cannot show a hidden WiFi with this SW. You can connect to one, if you know name an credentials simply be entering these.
@adaw93 жыл бұрын
Wow... Thank you so much, almost use my very old laptop as broker. Excellent work! Thank you for sharing!
@svizztech3 жыл бұрын
Hier wegen dem CT Artikel ;) danke.
@KP-KP3 жыл бұрын
Hi, Thanks for the video, But I have no clue how to setup your code. If this video is for experts then I am sorry for asking the question. If not, then can U please explain how to set it up, where to set it up and how to run it?
Hello Martin, for the esp32 nat router how can i do a port forward?, i can't find the "portmap add" like in esp8266 nat.
@martinger3273 жыл бұрын
This is not yet implemented from the GUI or CLI. It is available in lwip_napt.h, you might hardcode port forwards in the code.
@raduraducioi4653 жыл бұрын
Can you you guide me ? I just installed esp-idf and replaced the lwip with your version. I am amateur but i can edit/search files.
@martinger3273 жыл бұрын
@@raduraducioi465 Add the call(s) to ip_portmap_add() after esp32_nat_router.c#L367
@igpp6943 жыл бұрын
Im having some troubles setting the password to my STA , the password has some " %" symbols and gets corrupted when i set up , and i cant conect to the route i've tried using telnet and GUI o set this values but it''s the same result. Any sugestion? @MartinGer I can conect to the AP but it cant conect to the internet since the password gets screwed during the set operation.
@igpp6943 жыл бұрын
also i tried to conect with a simple password to my phone using it as an AP with a password having chars only and it worked.
@martinger3273 жыл бұрын
If you want to enter non-ASCII or special characters in the web interface you have to use HTTP-style hex encoding like "My%20AccessPoint". This will result in a string "My AccessPoint". With this hex encoding you can enter any byte value you like.
@igpp6943 жыл бұрын
@@martinger327 solved! I've read that but could find the codes now it makes sense.thank you.
@skane013 жыл бұрын
Hi Martin, great work. Is it possible to implement your solution using Tasmota?
@martinger3273 жыл бұрын
There is no link between Tasmota and this SW. They even use a different build environment. Arduino now also supports NAT for the ESP8266, so you can add it to Arduino projects (like Tasmota), but I am not aware of any thoughts about that.
@skane013 жыл бұрын
@@martinger327 Thanks for your reply, Martin
@hughbreivik46533 жыл бұрын
This in my view is a really smart but simple hack! Thank you for sharing!
@lacoste62lak613 жыл бұрын
Hi Martin thanks for this useful project . Ca you help me because after I flash the code its actually works but how can I connect it to the AP with spaces because when I tried to connect it is not working ..
@martinger3273 жыл бұрын
github.com/martin-ger/esp_wifi_repeater#basic-web-config-interface: "If you want to enter non-ASCII or special characters in the web interface you have to use HTTP-style hex encoding like "My%20AccessPoint". This will result in a string "My AccessPoint". With this hex encoding you can enter any byte value you like, except for 0 (for C-internal reasons)."
@capiberra41183 жыл бұрын
Very cool! I'll be giving this a try, THANKS! Are there any significant disadvantages / advantages to use of ESP32 version over ESP8266 version?
@martinger3273 жыл бұрын
The ESP32 version has a significantly better performance, when used for higher bandwidth clients. The ESP8266 version has much more features, including port mapping, ACLs, monitoring, MQTT management, GPIO support, and AutoMesh (and the ESP8266 is slightly cheaper). If you are only looking for a basic range extender, the ESP32 is the better choice.