ESP8266 WiFi Repeater (NAT Router)

แชร์
ฝัง

ความคิดเห็น • 549

  • @xelionizer
    @xelionizer 6 ปีที่แล้ว

    Thanks, Dankesehr, Tak! Brilliant. These small ESP-devices are really cool;) Nice of you to make and provide your source for all of us to use..! Very much appreciated!!

  • @thisoldjeepcj5
    @thisoldjeepcj5 2 ปีที่แล้ว

    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.

  • @youradvertisehere
    @youradvertisehere 7 ปีที่แล้ว +1

    Starkes Projekt. Habe mir derweil einige angesehen, die so ziemlich das selbe machen sollten, das deine scheint mir aber by far the most adult, das bestentwickelte zu sein. Glückwunsch und Danke für deine Arbeit!

  • @franktek
    @franktek 4 ปีที่แล้ว +3

    I just wanted to say thank you. This works great and I hope you keep developing for the platform.

  • @martinmilner2019
    @martinmilner2019 6 ปีที่แล้ว

    Installed and and just have to say WOW. What a nice bit of analysis, programming, and documentation.

  • @gmag11
    @gmag11 7 ปีที่แล้ว +1

    Great idea! It's amazing what this device can do. The more I know it the more I find to learn about it.

  • @M7XOM
    @M7XOM 6 ปีที่แล้ว

    Hi Martin. Just wanted to say thank you very much for this project. I'm using 4 NodeMCU devices running your code and I'm getting wifi coverage all over my house and (finally) in my garage. I used the binaries, it was very easy to set up once I used the esp_init_data_default 'fix'. Thank you!

    • @martinger327
      @martinger327  6 ปีที่แล้ว

      Hi Kevin, happy to read that! :-)

  • @wtwrva
    @wtwrva 7 ปีที่แล้ว

    I had no idea this module was so powerful! Thanks!

  • @alfaspeedy4838
    @alfaspeedy4838 4 ปีที่แล้ว

    Tolles Projekt, mit Ihrer Hilfe ist es mir gelungen einen entfernten Solarregler Epever mit eBox-WIFI-o1 in mein Heimnetz einzubinden, vielen Dank.

  • @sabatimmm
    @sabatimmm 7 ปีที่แล้ว +2

    Hello martin and thanks for the FW,
    i have tested in a esp-07 work perfect.
    Good work man.

  • @gokulraj2829
    @gokulraj2829 6 ปีที่แล้ว +1

    Nice work Martin, Thanks for sharing. Wifi Repeater works great for me.

    • @moadbekkal3121
      @moadbekkal3121 4 ปีที่แล้ว

      hi Gokul Raj, do u know how he got at the minute 9:35 this external IP-add 192.168.178.67 ?
      and whats the context between this and the CMD portmap add TCP ... ? i dont get this external IP-add from the CMD "show stats".
      Thank u alot.

  • @braselectron
    @braselectron 5 ปีที่แล้ว

    Dear Martin, thank you for sharing. Excellent!

  • @martinbirrell57
    @martinbirrell57 4 ปีที่แล้ว

    Great work. Just what I need for my farm to monitor my pump and other things. I have a few Wemos D1 Mini's that I am going to test with the mesh option. Have already flashe 1 and it works well. Thank you

  • @matthewkleinmann
    @matthewkleinmann 6 ปีที่แล้ว

    Thank you for publishing this. It is nice to see all the positive comments. You did a great job on the readme file too. Every time I thought I had a question I re-read that file and found the answer.

  • @soupie187
    @soupie187 7 ปีที่แล้ว

    Holy shit it took forever to setup.
    This is the correct tutorial video to be watching using maker sagas instructions, all the other ones were bogus. Thanks thumbs up.

  • @MushFarmer
    @MushFarmer 6 ปีที่แล้ว +1

    Excellent work, I can use this for many situations on the farm

    • @moadbekkal3121
      @moadbekkal3121 4 ปีที่แล้ว

      hi
      MushFarmer,
      do u know how he got at the minute 9:35 this external IP-add 192.168.178.67 ?
      and whats the context between this and the CMD portmap add TCP ... ? i dont get this external IP-add from the CMD "show stats".
      Thank u alot.

  • @antaris42
    @antaris42 6 ปีที่แล้ว +1

    Very nice job ! And it’s really a great tool for IoT 👍 Thanks Martin

  • @Baklazan72
    @Baklazan72 3 ปีที่แล้ว +1

    Hello Martin,
    fantastic work, thanks a lot for your contribution to arduino/esp community!
    I tried it on ESP8266 as well as on ESP32 and it works great. I assume there is no possibility of port forwarding, or switching the router to bridge mode, so the "AP" clients would be accessible from the "STA" network, am I right? I wanted to extend the wifi range to my outdoor cameras but then I realized I am not able to access their RTSP stream port needed by NVR. Any chance of idea how to access it on "AP" side?

  • @evgen-y2k
    @evgen-y2k 5 ปีที่แล้ว

    Martin, thank you for great work!

  • @berniewolf6740
    @berniewolf6740 5 ปีที่แล้ว

    Nice project and nicely explained. Thanks.

  • @coling777
    @coling777 6 ปีที่แล้ว +1

    Thank you for sharing. This works really well.

  • @aparaajithac4033
    @aparaajithac4033 5 ปีที่แล้ว

    I have connected esp (esp with enc28j60 I/f) to home router via WiFi . then I connected enc28j60 to first-pc via Ethernet. Then if I connect second-pc to esp AP directly .... I can ping my first-pc from second-pc, I can ping home-router gw, I can ping google.com also from second-pc. But my problem is when I connect my second-pc to my home-router via WiFi ... I cannot ping first-pc. I tried port forwarding using portmap on esp but the port is being filtered out by the esp. Nmap utility reports the port as filtered. What other config do I need to make.

  • @eventhorizon8014
    @eventhorizon8014 4 ปีที่แล้ว

    4:01 "In a normal nutcase" lol (Yeah i know, its NAT case) ---- Really cool project, that esp8266 is totally awesome ! Well done :)

  • @avinashkachare2482
    @avinashkachare2482 3 ปีที่แล้ว

    Danke für das tolle Projekt. Kann esp8266 im Repeater-Modus als Tor Access Point verwendet werden? so dass der gesamte Verkehr durch diesen Zugangspunkt geht, wird anon sein. als hätten wir torghost unter Linux.

  • @chanhien4000
    @chanhien4000 7 ปีที่แล้ว

    Works really well. My iphone 6's wifi range is too bad that I need to use this. First time trying this and feels really good.

  • @lexb
    @lexb 7 ปีที่แล้ว +2

    Perfect idea, works fine with my esp-01. All fine except show command.
    Speed test results are 8.58Mbps down, 8.70 Mbps up.

  • @AlexeyAinger
    @AlexeyAinger 6 ปีที่แล้ว +2

    speed of reception and impact how much?

  • @Mailmartinviljoen
    @Mailmartinviljoen 6 ปีที่แล้ว +1

    I built this. But i built it into a light socket and encaptulated the whole ordeal with resin. Now i have wifi extender that looks like a light bulb and it saved me from drilling holes and routing cable all over the place. Im actually watching this video over this wifi extender :-) works well, on your git page you said i can handle 5mbs I actually got 7.8 which is where im throtled at. It tends to decrease speed and then in bursts go faster on average i get around 4mbs. This has been running for a week now. Thanks again this is very usefull!!!! And thanks also for assisting on your git page. Initially i couldnt get it programmed due to the dio setting on the flasher that was set to something else (you may want to warn people)

    • @offtherails2010
      @offtherails2010 6 ปีที่แล้ว

      WOW RESIN ENCAPSULATION !!! ooohhhh please please please would you be able to link a photo of what this looks like when encapsulated in Resin ?? im a HUGE FAN of Resin encapsulated projects,, please please please can i see a photo or quick video :))
      GREAT JOB !
      Also Martin Ger;
      YOU'RE AWESOME !!!!! Instructables instructable is fantastic - GENIUS !

  • @capiberra4118
    @capiberra4118 3 ปีที่แล้ว

    Very cool! I'll be giving this a try, THANKS! Are there any significant disadvantages / advantages to use of ESP32 version over ESP8266 version?

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      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.

  • @MrAyeah
    @MrAyeah 5 ปีที่แล้ว

    thanks @martin Ger very helpful

  • @mnmufid
    @mnmufid 4 ปีที่แล้ว +1

    Good for mash connection between sensors on wide area with only one AP.
    Don't expect more from $4 device. It is not for streaming/watching video relay.
    Thanks for the great Video.

  • @veereshy5444
    @veereshy5444 5 ปีที่แล้ว

    Hi Martin . Thanks a bunch .!.. Cool setup.. I will try the mqtt client part in my projects.. Just wanted to check with you on the QOS support of mqtt client. Do the mqtt client interface support QOS (0 and 1)? Thanks...

    • @martinger327
      @martinger327  5 ปีที่แล้ว

      Currently it use QOS 0. The lib supports 0, 1, and 2. Small adaptions in the code will enable that. Will try to enable that from the CLI in the next version.

  • @deenadayalan4040
    @deenadayalan4040 2 ปีที่แล้ว

    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?

  • @aparaajithac4033
    @aparaajithac4033 5 ปีที่แล้ว

    Hi Martin , amazing work. I have set up en28j60 and from first-PC connected to en28j60 (as IP 192.168.5.2) and the esp connected to my home router as STA IP 192.168.1.5 I cannot ping/reach my home router gateway 192.168.1.1 from first-pc thru en28j60. From a second-pc I connect to esp with telnet to 192.168.1.5 7777 and from within I can ping IP 192.168.5.2, IP 192.168.1.1, and even ping google.com. Do I need to set up static routes for the Ethernet interface?. Can you help me with a sample route map that I can add to esp to route Ethernet to home router gateway/network. I am stuck here for a while

  • @mrgeerders
    @mrgeerders 4 ปีที่แล้ว +1

    Do you have another video on flashing the ESP with the code to start someone from scratch? I'm looking to build my own for my camper that I will have to configure with each move, but don't know where to start, I bought an ESP with a programmer... And that's as far as I got

    • @martinger327
      @martinger327  4 ปีที่แล้ว

      If you have a board with USB connector flashing is easy. Description can be found here: github.com/martin-ger/esp_wifi_repeater#building-and-flashing .

  • @jeffreyosborne6747
    @jeffreyosborne6747 5 ปีที่แล้ว

    As a newcomer to the ESP from Arduino land, this looks insane. If I can fix some WiFi holes in the house and around garden with this app I will be very pleased. Can't wait to start with my NodeMCU. If this was available in the Arduino IDE environment it would go viral I'm sure.

    • @hypercube33
      @hypercube33 3 ปีที่แล้ว

      It cant since its not running on that platform. Its running on lower level binaries.

  • @ashutoshmohanty
    @ashutoshmohanty 3 ปีที่แล้ว

    Great work Martin.

  • @arielcasali2583
    @arielcasali2583 5 ปีที่แล้ว +1

    Hello Martin, your project is Genial! Congratulations!! Is there a way to increment the number of max -clients?

    • @martinger327
      @martinger327  5 ปีที่แล้ว

      Sorry, no. This is a limit in the closed source driver from Espressif.

  • @wei48221
    @wei48221 5 ปีที่แล้ว

    Awesome project.. Thanks for sharing..

  • @nomnom914
    @nomnom914 15 วันที่ผ่านมา

    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

  • @ohaiyo1040
    @ohaiyo1040 2 หลายเดือนก่อน

    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

  • @militantpotato8671
    @militantpotato8671 5 ปีที่แล้ว

    Node mcu keeps restarting. In mode 4. Please help. What should I do?

  • @Justin-lj1ny
    @Justin-lj1ny 2 ปีที่แล้ว +1

    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.

    • @martinger327
      @martinger327  2 ปีที่แล้ว

      No, this is not yet implemented for the ESP32.

    • @Justin-lj1ny
      @Justin-lj1ny 2 ปีที่แล้ว

      @@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?

  • @rj8875
    @rj8875 5 ปีที่แล้ว

    Thank you very much for your work.

  • @nserme
    @nserme 3 ปีที่แล้ว

    Huge fan or the routers, a bit stuck with the installation of the pre built binaries on the more expansive nat router. I am no docker user and the pre built binaries seem to do nothing when flashed to the esp... am I missing a button press or something? I'm using the esp download tool and a nodemcu esp 32

    • @martinger327
      @martinger327  3 ปีที่แล้ว +1

      It only works on an ESP8266. For ESP32 look here: github.com/martin-ger/esp32_nat_router

  • @markludwig5805
    @markludwig5805 6 ปีที่แล้ว

    Great job…Love it. I have some static IP addresses on my network and would like to exclude a range of IP addresses. What is the command via telnet to do this? Or maybe there is a command to have Nat router assign an IP based on a MAC address?

    • @martinger327
      @martinger327  6 ปีที่แล้ว

      You can save the current DHCP leases with "save dhcp". This will preserve IP assingments after reboot.

  • @markbowhill
    @markbowhill 2 หลายเดือนก่อน

    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.

  • @shadman1911
    @shadman1911 6 ปีที่แล้ว

    Amazing stuff! I send you this message through one of this routers. I use nodemcu board, mine is inside a DDS tape case with an external antenna running from old cell phone battery

  • @wolves2.075
    @wolves2.075 2 ปีที่แล้ว

    Hi I flashed it using arduino uno, but I can't find any ap of esp 01

  • @moadbekkal3121
    @moadbekkal3121 4 ปีที่แล้ว

    hi Martin, Thank u so much for all this Infos, i still have a question.
    how did u get at the minute 9:35 this external IP-add 192.168.178.67 ?
    and whats the context between this and the CMD portmap add TCP ... ?
    i dont get this external IP-add from the CMD "show stats".
    Thank u alot.

    • @martinger327
      @martinger327  4 ปีที่แล้ว +1

      The external IP is usually given by the uplink AP via DHCP. It can be different after each connect. You don't use it explicitly in the portmap command. Here you specify the external port and the internal IP/port. Then you can reach the internal IP/port by connecting to the external IP/port. This external IP is the listed IP again.

    • @moadbekkal3121
      @moadbekkal3121 4 ปีที่แล้ว

      @@martinger327 also this external IP is in my case is the STA IP of the ESP when i type "show stats" CMD?
      Then i should put this IP and Port 7777 in theTelnet and open a Monitor on port 8888!
      The NetCat is not necessary, can i put the STA IP and the Port 8888 dictly in the Wireshark? and the PC where the Wireshark is installed musst not be connected to MyAp!
      Thank u so much indeed.

  • @gruneranfanger6947
    @gruneranfanger6947 6 ปีที่แล้ว

    Hallo Martin, ich arbeite unter WIN7 mit einem ESP8266 NODEMCU mit einem 12E CHip. Den Chip habe ich mit den beiden Dateien unter firmware geflasht , was auch einwandfrei funktoniert hat. Nach powerOn blinkt die blaue LED für ca. 3 Sek. schnell und erlischt anschließend. Es gelingt mir nicht, das Modul mit dem Serialmonitor anzusprechen. Es erscheint auch MyAP nicht. Was kann die Ursache sein??

    • @gruneranfanger6947
      @gruneranfanger6947 6 ปีที่แล้ว

      Hat sich erledigt, nachdem ich mir die Kommentare durchgelesen hatte. Die Ursache war in der Tat ESP_ini... Sorry

  •  7 ปีที่แล้ว

    Really great project! Sorry if it has been already asked (I haven't seen it), how about the performance (eg. original speedtest results vs NAT router results)?

    • @martinger327
      @martinger327  7 ปีที่แล้ว +1

      There are some speedtest from other users below in the comments: 5-8 Mbps have been measured.

  • @capannolimaurizio
    @capannolimaurizio 4 ปีที่แล้ว

    Thankyou Martin, it works perfectly! Can you suggest a tested model with better antenna or with antenna connector onboard?

    • @eclecticlife
      @eclecticlife 4 ปีที่แล้ว +1

      The D1 Mini Pro has a connection for an external antenna.

    • @capannolimaurizio
      @capannolimaurizio 4 ปีที่แล้ว

      @@eclecticlife Thank you John!

    • @eclecticlife
      @eclecticlife 4 ปีที่แล้ว

      @@capannolimaurizio YW I forgot to mention that you need to desolder a resistor when connecting the external antenna to the D1 Mini Pro. Make sure to do a search, there is plenty information on how to do it. Thanks

  • @vtech8716
    @vtech8716 6 ปีที่แล้ว

    Thanks from Russia, very good project.

  • @zachreyhelmberger894
    @zachreyhelmberger894 2 ปีที่แล้ว

    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?

    • @martinger327
      @martinger327  2 ปีที่แล้ว

      Please look here for instructions: github.com/martin-ger/esp_wifi_repeater#building-and-flashing
      This is not an Arduino project.

  • @huseyint
    @huseyint 7 ปีที่แล้ว

    Thanks for the video. Can you please share your schematic (fritzing?) of the circuit where you are using a battery.

    • @martinger327
      @martinger327  6 ปีที่แล้ว

      Don't have a schematic tool, but it is just a standard 18650 li-ion battery with a switch and SI-diode in line to protect the ESP from more than 3,7V. Later I added a TP4056 over-/undercharging protection circuit with micro USB connector for re-charging in place.

  • @martinger327
    @martinger327  7 ปีที่แล้ว

    Up to now, I heard of no problems on any ESP12 based HW. Should run with the standard firmware version. I only had a problem with some newer ESP01 (after booting only random output on the serial. blue LED on) - there the firmware-1.5.4 works.
    Please check, what happens on the serial output (at 115200) just after resetting the flashed modul. Verify, that your setup can sucessfully flash other firmware files (e.g. AT-firmware).

  • @ankitpatil223
    @ankitpatil223 7 ปีที่แล้ว

    hello tried to flash bin's inside firmware folder,it flashes successfully and after resetting it the blue led flashes rapidly and wifi not appearing,terminal outputting junk continuously,pls help

  • @EmilePolka
    @EmilePolka ปีที่แล้ว +1

    is it possible to do transparent bridge with the repeater? doing NAT is kinda nasty.

  • @tddstudiotv
    @tddstudiotv 4 ปีที่แล้ว +2

    Hey Martin, I'm having a bit of trouble while configuring NodeMCU when the original SSID has spaces. Can you help me?

    • @dirkkm3548
      @dirkkm3548 4 ปีที่แล้ว +1

      Just use %20 instead of a blank/space. For example: My%20SSID. It is easier from the console port.

    • @tddstudiotv
      @tddstudiotv 4 ปีที่แล้ว

      @@dirkkm3548 thanks you, I will try it

  • @ziggyspaz
    @ziggyspaz 2 ปีที่แล้ว

    Just came across this, thanks 🙏

  • @markludwig5805
    @markludwig5805 6 ปีที่แล้ว

    I am using openHAB2, home automation software, running on the Pi in my RV and Boat. So the NAT Router works great repeating the RV Parks/Marinas WIFI, or my mobile hotspot, since there is no wired internet in such mobile applications. Here’s my question…I’m running into the max number of connections to the NAT Router. I’ve read that 4 or 5 is the max, your documents indicate 8 is the max. I use the NAT Router as my WIFI repeater/AP with the Pi and several home brew esp8266’s, some sonoff/tasmota power outlets, Echo Dot, smart phone, tablet, and laptop, etc all on same network all communicating via MQTT to the Pi/MQTT broker. What might be your solution to get all devices on the network??? Thanks for this great project.

    • @martinger327
      @martinger327  6 ปีที่แล้ว

      The limitation is built into the binary blobs of the ESPs WiFi-Driver. One solution could be to cascade two repeaters and to connect especially the low-bandwidth clients to the second one.

    • @markludwig5805
      @markludwig5805 6 ปีที่แล้ว

      Cascading two repeaters works, I was surprised how easy it was. 1st repeater IP 192.168.0.1/ssid = First, and 2nd repeater 192.168.1.1/ssid second. Thanks so much for your effort. Auf Wiedersehn.

  • @lindnerlars81
    @lindnerlars81 4 ปีที่แล้ว +1

    Hi Martin, super Projekt, vielen Dank :)
    Ich habe vor kurzem deinen "esp32_nat_router" auf einem NodeMCU ESP32 Wifi - Modul installiert und die Download- und Upload-Geschwindigkeit getestet und festgestellt, dass sie wesentlich langsamer als, als mit meinem Standard Home Router..... Kann man die Geschwindigkeit des "esp32_nat_router" noch erhoehen?

    • @martinger327
      @martinger327  4 ปีที่แล้ว

      Ich wüste nicht wie. Es ist auf jeden Fall langsamer als direkt, weil ja alles 2x geschickt werden muss. Aber je nach Empfangsstärke kommt man schon auf mehr als 10 MBit/s.

    • @kitecattestecke2303
      @kitecattestecke2303 4 ปีที่แล้ว

      Auf 160Mhz gestellt? ;-)

    • @lindnerlars81
      @lindnerlars81 4 ปีที่แล้ว

      Wie mache ich das??

  • @AnakJaringan
    @AnakJaringan 2 ปีที่แล้ว

    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?

    • @AnakJaringan
      @AnakJaringan 2 ปีที่แล้ว

      How do I make the firmware?

    • @martinger327
      @martinger327  2 ปีที่แล้ว

      @@AnakJaringan github.com/martin-ger/esp_wifi_repeater#building-and-flashing

  • @faizquraishi6129
    @faizquraishi6129 3 ปีที่แล้ว

    Flashing was done on the development board and how did esp 01 started working as repeater.
    Can you please make a more detailed video explaining all steps related to esp 8266 01 and everything else.
    Thanks.

    • @martinger327
      @martinger327  3 ปีที่แล้ว +2

      It is the same procedure as with every binary on the ESP-01. Just the same adresse as the ESP-12 development board. See e.g. here: medium.com/@aallan/getting-started-with-the-esp8266-270e30feb4d1

  • @guidoramirez8457
    @guidoramirez8457 2 ปีที่แล้ว

    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?

    • @martinger327
      @martinger327  2 ปีที่แล้ว +1

      The ESP8266 version allows for port filtering, the ESP32 version not yet.

    • @guidoramirez8457
      @guidoramirez8457 2 ปีที่แล้ว

      @@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.

  • @belajardanberbagiapapunitu4246
    @belajardanberbagiapapunitu4246 6 ปีที่แล้ว

    sorry to ask, why download speed down below 500kbps to 1000 kbps with close range to (ap esp8266), please help and solution, thank you

    • @martinger327
      @martinger327  6 ปีที่แล้ว +1

      Possibly a buffer shortage. Look for "LmacRxBlk" on the serial console, This is an indication that the WiFi doesn't find any free buffers for incoming frames.

  • @darioercole
    @darioercole 7 ปีที่แล้ว

    Hi Martin, really great idea.

    • @martinger327
      @martinger327  7 ปีที่แล้ว

      The board in the video at 8:35 is a cheap (

  • @NullByteWHT
    @NullByteWHT 5 ปีที่แล้ว +1

    This is super cool

  • @boyiscola
    @boyiscola 7 ปีที่แล้ว

    Is there a limit to how many soft-APs you can chain? I plan to setup about 50 outdoor sensors/relay controllers (irrigation valves and moisture/pressure sensors) using Wemos D1 Mini in a line configuration (one device connected to each soft-AP) with 30-100m between units. Will it work to use 50 soft-APs?

    • @martinger327
      @martinger327  7 ปีที่แล้ว +1

      From the protocol side this should be no problem, bandwidth also probably not. Individual config of 50 sensors should be a pain in the a... . I guess the main problems would be error propagation and debugging. If each hop has a success probability of 99,9% (which is somewhat reasonable at least for a single packet) it will be only about 95% for the whole line.
      Experiences from wireless multi-hop networks show, that something around 5-10 hops is a reasonable diameter. Things could be better if you have a known fixed topology. I would start with 10 in a row. In fall semester I will make some experiments with multi-hop ESP networks. I am curious about the results...

    • @boyiscola
      @boyiscola 7 ปีที่แล้ว

      Thanks Martin. I currently only have 3 D1 minis and one D1 pro so I cannot test full scale yet. I agree about the config being cumbersome but for a one-off project it will be ok. To reduce the number of hops I will try to use D1 pros with external antennas (slightly longer range) and have stars of D1 minis around these.

  • @johanponin1360
    @johanponin1360 6 ปีที่แล้ว

    Very very, very very very nice. Thanks

  • @pedrongTinapay2023
    @pedrongTinapay2023 5 ปีที่แล้ว

    The program works up until the part where we write the SSID and the password but after pressing the "set" button, the ESP8266 restarts but does not turn back on again. followed the steps in the github link. tried changing the power source, but still the same. any comments on this? :)

    • @martinger327
      @martinger327  5 ปีที่แล้ว +1

      Latest update should fix this.

  • @palashproduction4723
    @palashproduction4723 ปีที่แล้ว

    Nat router on esp32 Is usable alternative to commercial products. I just finished my portable router. Thank you, your work Is great.

    • @xerix32
      @xerix32 11 หลายเดือนก่อน

      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
      @palashproduction4723 11 หลายเดือนก่อน

      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.

  • @amanmittal4232
    @amanmittal4232 4 ปีที่แล้ว +1

    The nodemcu board is working fine but the internet speed is too slow?? How to solve this problem??

    • @4x4inGreece
      @4x4inGreece 4 ปีที่แล้ว

      Obviously the speed depends on the CPU speed of the board. So I believe that with Arduino boards cannot be faster. Give $50-70 and buy a Mikrotik Router that is a firewall / router / repeater / switch / and_more board that can be configured as you wish with settings, scripts, schedules, etc

  • @dianed4938
    @dianed4938 3 ปีที่แล้ว

    I tried it with a Node MCU and got terrible up and down speeds as well as 30-50% packets loss. Will give it try with an ESP 01 when I get the chance. Surely there must be something wrong on my side?

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      That's a bad performance, but it heavily depends on signal strength. What kind of perf test do you use?

  • @lemailpoubel6210
    @lemailpoubel6210 3 ปีที่แล้ว

    Hello, could you tell me how much does it draw from 3.3v in "normal" activity ?
    thank you.

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      About 70mA - WiFi has to be active all the time.

  • @svizztech
    @svizztech 3 ปีที่แล้ว +2

    Hier wegen dem CT Artikel ;) danke.

  • @hansmaier3689
    @hansmaier3689 5 ปีที่แล้ว

    Hi Martin, nice project, in my case it is working as far as there is only one client connected. With two clients connected almost no throughput?!?

  • @franktek
    @franktek 4 ปีที่แล้ว

    I just wanted to add some findings that may help with using this for outdoor/mesh/range extender.
    I was getting inconsistent internet speed results and it was driving me crazy. I really wanted and needed this to work. I am trying to ensure emergency network coverage for my remote property(using Viasat). for E911 and cameras etc.
    I have a note 9 and all is good on normal WiFi, barely 1mbps on esp82xx.
    It turns out, if you enable airplane mode, then turn WiFi back on it seems to work quite well!
    I am now reaching 5-6 Mbps consistently. I hope this helps someone else in the same shoes.
    Would love to see the ESP32 in mesh config! and a larger mesh node count. like 100 node. :-)
    Setup as follows, still tweaking but close.
    esp8266-12F
    External antenna Mod
    Tp4056 Charging Module
    single 18650 2500mah
    2.5W 5V/500mAh Solar Panel

  • @ankitpatil223
    @ankitpatil223 7 ปีที่แล้ว

    superb work,hands off!!!!!!!!!!!!!!!

  • @domingoscastelhano1702
    @domingoscastelhano1702 3 ปีที่แล้ว

    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

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      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.

    • @domingoscastelhano1702
      @domingoscastelhano1702 3 ปีที่แล้ว

      @@martinger327 Thank you;the extender is needed because the place of the nodemcu as poor wifi

  • @MrDinakdakan
    @MrDinakdakan 3 ปีที่แล้ว

    i want to try this out with my drone, seems the controls work but video is not working, is there an option to send all udp and tcp back to a single ip i mean port forward everything to single ip

    • @martinger327
      @martinger327  3 ปีที่แล้ว +1

      You have to set single port forwards for each TCP and UDP port. You have to know the port numbers for that.
      You might try out this setup and use the ESP as fixed relay on the ground: github.com/martin-ger/ESP_E58-Drone

    • @MrDinakdakan
      @MrDinakdakan 3 ปีที่แล้ว

      @@martinger327 thank you for the reply martin, i have tried all ports based on the tellopilot forums, sdk, i can fly the drone using the app but the video is just black, drone is ryze dji tello, I want to piggyback the esp in the drone, and add another extender then from my mobile phone, this way when the drone is 80m above i still have a good bitrate on video, will check out the link, thanks again

  • @albertocelano5402
    @albertocelano5402 4 ปีที่แล้ว

    Hi Martin, thanks for the video. I've only one question, I'm not able to ping some device connected to the AP from pc connected to the home router..instead i can do the opposite, could you suggest something? thanks

    • @martinger327
      @martinger327  4 ปีที่แล้ว +1

      This is because of the NAT. It is the normal behavior. You can reach devices via TCP or UDP using Port forwards, but you cannot forward ICMP

    • @albertocelano5402
      @albertocelano5402 4 ปีที่แล้ว

      @@martinger327 thanks for quick answer, so I can use mqtt to send/receive message between two device, first in home network and second in ap network, right ?

    • @martinger327
      @martinger327  4 ปีที่แล้ว +1

      @@albertocelano5402 If the broker is in the home network it will work direktly. If it is in the ESP's network you will need a port forward TCP 1883 to the brokers IP and 1883. From the home network you then have to connect MQTT to the ESP's address. It will be forwarded to the real broker.

  • @ArunJayapal
    @ArunJayapal 3 ปีที่แล้ว

    Great work 👍 Appreciated the fact that I could vnc into my machine (connected to upstream AP) from my phone (connected to a downstream Esp AP).
    Are there any wired solutions that can complement this repeater?
    Like
    esp ↔️ wired ↔️ esp

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      The difficulty is, that there is no port with an equivalent speed compared to wfi. UART is too slow, SPI might be a chance, but I don't have a driver for SPI Master/Slave both on ESP and I don't think it will work for a longer distance.

  • @moadbekkal3121
    @moadbekkal3121 4 ปีที่แล้ว

    Hallo Martin, Danke nochmal fuer das Video. Bis zum oeffnen von Port durch "monitor on 8888" habe ich es geschaft, aber fehlt mir noch den Schritt "netcat [external_ip_of_the_repeater] [portno] | sudo wireshark -k -S -i -", die nicht bei mir in Win7 funktioniert wollte, was soll ich stattdessen schreiben? also senden von external IP + Port in die Standard Input of wireshark.

    • @martinger327
      @martinger327  4 ปีที่แล้ว +1

      Ehrlich gesagt, weiss ich nicht, wie und ob das auf Windows geht. Was bei mir einfach klappt ist eine Linux VM auf Windows.

    • @moadbekkal3121
      @moadbekkal3121 4 ปีที่แล้ว

      @@martinger327 okay ich probiere es auf Linux.
      VielenDank :)

  • @irfannoorhuda4353
    @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
      @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.

  • @bebetterin_2023
    @bebetterin_2023 2 ปีที่แล้ว

    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?

    • @italosoares69
      @italosoares69 2 ปีที่แล้ว

      press the boot button while uploading

  • @dirkkm3548
    @dirkkm3548 4 ปีที่แล้ว +1

    Hey Martin, tolles Projekt, läuft super! Jetzt hätte ich gene noch ein OLED Display integriert. Öffnest du dein Projekt für eine mögliche Platformio o.ä. Ebene irgendwann?

    • @martinger327
      @martinger327  4 ปีที่แล้ว

      Danke. Das Projekt ist ja Open Source. Das Problem ist, dass ich keine gute Lib für die OLED-Ansteuerung für das SDK kenne. Es gibt NAT inzwischen ja auch für Arduino, so kann man es leichter mit einer Anzeige kombinieren, nur gibt es dann eben nicht unmittelbar alle Zusatzfunktionen des esp_wifi_repeaters jenseits des einfachen NAT.

    • @dirkkm3548
      @dirkkm3548 4 ปีที่แล้ว

      @@martinger327 Danke das du dir die Zeit nimmst alle Fragen zu beantworten. Jetzt habe ich mal versucht das ganze auf eine VS-Code Ebene umzuheben. Leider kommen beim Kompilieren mit -make- einige Fehler hoch die überwiegend MQTT verursacht. Kannst du mir die "Basics" nennen wie du dieses Projekt kompilierst (mit welchem Tool)??

    • @martinger327
      @martinger327  4 ปีที่แล้ว

      @@dirkkm3548 Ich nutze das esp_open_sdk mit dem entsprechenden Makefile, also "make", dann "make flash". Und wenn du in "user_config.h" erstmal "#define MQTT_CLIENT 1" auskommentierst, sollte zumindest die Abhängigkeit von MQTT raus sein.

    • @dirkkm3548
      @dirkkm3548 4 ปีที่แล้ว +1

      Hallo Martin, nach langem tüddeln hab ich es endlich hinbekommen. Wenn ich dein Projekt mit Make übersetze passt die Checksumme nicht mehr, nach dem Flashen funktioniert der D1-mini pro, zeigt jedoch keine Weboberfläche. Wenn ich deine orig. Files flashe funktioniert er einwandfrei. OK soweit so gut.
      Jetzt nochmals zum Thema MQTT: Anbindung Broker läuft, bekomme auch alle Informationen angezeigt.
      Wenn ich jetzt einen GPIO setzen möchte habe ich das Verständnisproblem mit dem publish Befehl.
      sollte die onboard LED aktivieren. Funzt aber nicht.
      show mqtt = MQTT command topic: Aussen/ESProuter/command.
      Könntest du nochmals dein Wissen kundtun?
      Vielen DANK!!!!!

  • @soupie187
    @soupie187 7 ปีที่แล้ว

    Have purchased a 2nd esp 12e after getting the first one working last month.
    Have flashed it trying with both bin files. The esp AP doesn't show up. Whats going on? Do you think it is a bunk chip? the logo looks like pacman with 'Hysiry' written on it.
    edit: turns out this mcu worked with flashing using nodemcu-flasher - also had to power cycle before and after flashing. The other very similar looking mcu did not.

    • @avon9798
      @avon9798 7 ปีที่แล้ว

      try using the other group firmware mine too dose not work with 0x10000 firmware i mean 0x40000

    • @avon9798
      @avon9798 7 ปีที่แล้ว

      set [ap_mac|sta_mac] xx:xx:xx:xx:xx:xx: work on yours?

  • @carstenjones847
    @carstenjones847 2 ปีที่แล้ว

    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

    • @martinger327
      @martinger327  2 ปีที่แล้ว

      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.

    • @carstenjones847
      @carstenjones847 2 ปีที่แล้ว

      @@martinger327 ich leider auch nicht. Nun eventuell geht das auch nicht da die Leistung nicht reicht.

  • @SubliminalNation
    @SubliminalNation ปีที่แล้ว

    Can I use a 5v mobile phone charger to power esp8266?? Will it be a problem??

    • @martinger327
      @martinger327  ปีที่แล้ว +1

      The development boards with USB connector have a voltage regulator and are powered with 5V, that ist fine. The pure ESP needs 3.3V.

  • @ItalicSix
    @ItalicSix 6 ปีที่แล้ว

    Great tutorial. I'm posting this from down the end of the garden thanks to you.
    I seem to be dropping out when I turn on my Bluetooth speaker and especially when I turn on Bluetooth on my iPad. Any ideas?

    • @martinger327
      @martinger327  6 ปีที่แล้ว

      Guess, you are facing the general interference problem of WiFi (in the 2,4 GHz band) and Bluetooth (e.g. blog.commander.com/how-to-prevent-wifi-and-bluetooth-interference/ ). Especially if you have lower signal power at wider ranges and more traffic (the repeater of course re-sends any packet) this might occur.
      You might try to set the WiFi mode to 1 (b-only). This is an option I added lately. If you router allows b-only clients to connect, this can give you some more dB signal strength and a more robust enconding (but less speed).

    • @ItalicSix
      @ItalicSix 6 ปีที่แล้ว

      Thanks for the reply :)

  • @tmdrake
    @tmdrake 6 ปีที่แล้ว

    I wonder if ESP8266 support RIP instead of using NAT routing...much better as nat stacking can cause issues in NAT tables.

    • @martinger327
      @martinger327  6 ปีที่แล้ว +1

      Currently working on that...

    • @hypercube33
      @hypercube33 3 ปีที่แล้ว

      @@martinger327 Any update? I love this project

    • @martinger327
      @martinger327  3 ปีที่แล้ว +1

      @@hypercube33 No further progress on that, sorry.

  • @AliG.G
    @AliG.G 5 ปีที่แล้ว

    I am kinda lost in this video. All I was trying to do was to create an ESP8266 - Wemos d1 mini in AP + STA mode to talk to another ESP8266 -Wemos in STA mode via UDP. I have successfully managed to create a network [Open or pass protected] but it keeps getting disconnected every few seconds. Is it anywhere remotely related to your video Martin? lol

    • @martinger327
      @martinger327  5 ปีที่แล้ว

      I think, you were looking for somewhat different. To connect two ESPs you basically have to put one in STA and the other in AP (or STA_AP mode, should not make any difference) mode. Plenty of demo code out there (e.g. for Arduino). Once this works, you can start an UDP server and a UDP client.

  • @raffycamulataldamar6645
    @raffycamulataldamar6645 ปีที่แล้ว +1

    nice work

  • @raduraducioi465
    @raduraducioi465 3 ปีที่แล้ว

    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.

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      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.

    • @raduraducioi465
      @raduraducioi465 3 ปีที่แล้ว

      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.

    • @martinger327
      @martinger327  3 ปีที่แล้ว

      @@raduraducioi465 Add the call(s) to ip_portmap_add() after esp32_nat_router.c#L367

  • @mikeefpv
    @mikeefpv ปีที่แล้ว

    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

    • @martinger327
      @martinger327  ปีที่แล้ว

      Due to NAT this is not possible

    • @mikeefpv
      @mikeefpv ปีที่แล้ว

      @@martinger327 it is also strange that the esp32_nat_router project
      works in esp32 dev kit v4 but wifirepeater project not

    • @martinger327
      @martinger327  ปีที่แล้ว

      @@mikeefpv esp_wifi-repeater is an ESP8266 project (and the older one), thus it needs a completly different devel environment.

    • @mikeefpv
      @mikeefpv ปีที่แล้ว

      @@martinger327 understood. the mesh project has great functionality that would be very useful on hardware where external antennas are available

  • @8dmaker842
    @8dmaker842 2 ปีที่แล้ว

    What IDE used to compile sources?

    • @martinger327
      @martinger327  2 ปีที่แล้ว

      esp_open_sdk: github.com/martin-ger/esp_wifi_repeater#building-and-flashing

  • @MinVTS
    @MinVTS 7 ปีที่แล้ว

    How can I connect it to SSID contain whitespace character like "My AP"?

    • @martinger327
      @martinger327  7 ปีที่แล้ว

      Use a backslash:
      CMD> set ssid My\ AP

  • @ankeetgugale9894
    @ankeetgugale9894 7 ปีที่แล้ว

    Hello Martin,
    I am working with esp8266 where i am receiving data through "esp8266" from a server using putty.
    The problem I am facing is that when I am sending data to esp8266 through server I am not receiving all the data in the string.
    for eg:-
    if I am trying to send "helloworld" through server, I am only getting "hello" in my string.
    my received string should contain "helloworld" the full data, but that is not happening.
    Can anyone help why this is happening?
    This is the process I've followed with esp8266 communicating via UART
    AT
    AT+CWMODE=1
    AT+CIPMUX=1
    AT+CWJAP="USSID","PASSWORD"
    AT+CIFSR (HERE I AM GETTING IP address of esp8266)
    AT+CIPSERVER=1,PORT NUMBER
    I am connecting to server using IP address of esp8266,
    Thank you in advance.

    • @martinger327
      @martinger327  7 ปีที่แล้ว +1

      This questions refers to the original AT-firmware that is actually
      replaced by my software. I have no further experiences with this
      firmware - sorry.
      Think, you shout send this to a general ESP8266 board.