ESP8266 WiFi Repeater (NAT Router)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

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

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

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

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

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

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

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

  • @Mailmartinviljoen
    @Mailmartinviljoen 7 ปีที่แล้ว +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 7 ปีที่แล้ว

      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 !

  • @lexb
    @lexb 8 ปีที่แล้ว +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.

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

  • @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!!

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

    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  7 ปีที่แล้ว

      Hi Kevin, happy to read that! :-)

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

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

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

      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.

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

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

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

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

  • @mnmufid
    @mnmufid 5 ปีที่แล้ว +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.

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

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

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

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

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

      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.

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

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

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

    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.

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

    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

  • @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 ปีที่แล้ว

      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 ปีที่แล้ว

      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.

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

    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 4 ปีที่แล้ว

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

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

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

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

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

  • @MrFredericPlante
    @MrFredericPlante 8 ปีที่แล้ว

    It could be interesting to be able to "repeat" back and foward from the Serial also. This way we could integrate a GMS/GPRS modem into the network, since they became so affordable these days.. I know the max pace for those modem are low like 115200, but, when the goal is sending/getting and small data packet, it is still just perfect.
    In this case, the ESP become the internet router.

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

      Actually, the code is prepared for that and i already did a similar thing. Look into my repository github.com/martin-ger/esp_slip_router .
      All one has to do, is to write a netif implementation for the modem interface. Used one for the simple SLIP but probably a GPRS-model has a more sophisticated protocol. Do you know a spec there?

    • @MrFredericPlante
      @MrFredericPlante 8 ปีที่แล้ว

      I use this guy:
      www.aliexpress.com/item/Smallest-SIM800L-GPRS-GSM-Module-MicroSIM-Card-Core-BOard-Quad-band-TTL-Serial-Port-NEW/32535199738.html
      Has for datasheet this one was suttable for me:
      cristiansteib.github.io/Sim800l/info/SIM800+Series_AT+Command+Manual_V1.09.pdf

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

      Thanks - this looks cool. Will order one and look into it...

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

    Dear Martin, thank you for sharing. Excellent!

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

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

    Hier wegen dem CT Artikel ;) danke.

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

    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

  • @Baklazan72
    @Baklazan72 4 ปีที่แล้ว +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?

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

    Thank you for sharing. This works really well.

  • @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  7 ปีที่แล้ว

      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.

  • @mrgeerders
    @mrgeerders 5 ปีที่แล้ว +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  5 ปีที่แล้ว

      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 .

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

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

    Nice project and nicely explained. Thanks.

  • @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!!!!!

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

    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  4 ปีที่แล้ว

      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.

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

  • @ohaiyo1040
    @ohaiyo1040 10 หลายเดือนก่อน +1

    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

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

  • @mf.quraishi
    @mf.quraishi 4 ปีที่แล้ว

    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  4 ปีที่แล้ว +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

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

    Hi. Great work! I dont understand how you acces the esp for adv. config. Can i just use the windows cmd promt 6:40?

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

      On Windows use putty and open a telnet connection to port 7777 on the esp when it is already connected to WiFi.
      Or use it as a serial terminal with 115200 bps on the COM ports that is connected to the esp.

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

      Thanks! This works. Im trying to setup the exstender on a WPA2 Enterprise network( for a chromecast). How do i find the "peap_identity" for my network?

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

      Never mind. I just realised that my router is 5Ghz and the esp8266 is 2.4Ghz...

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

      @@antonrnnedal7797 PEAP has two identities, the outer identity, that is visible to an external observer (and can be used to route the following authentication to the correct RADUIS server), often anonymous@"your-domain", and the inner identity, the peap identity: this is the username that ist actually checked by the RADIUS server. It is protected by the encryption and is not visible to the rest of the world.

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

    Martin, thank you for great work!

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

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

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

    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  4 ปีที่แล้ว +1

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

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

    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  5 ปีที่แล้ว +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 5 ปีที่แล้ว

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

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

    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  3 ปีที่แล้ว

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

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

    This is super cool

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

  • @euritiumauwolf
    @euritiumauwolf 8 ปีที่แล้ว

    Hello I flashed the bin's with the esptool for windows, the blue light of the generic esp8266 (flashing) and the program say FINISH as the image, but the myap not appears!!! :( why?

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

      Which ESP module do you use? What do you meant with "not appears"? Any debug output an the serial at 115200 baud? Just erratic noise there? Make sure you use the flashing instructions in my comment above.

    • @euritiumauwolf
      @euritiumauwolf 8 ปีที่แล้ว

      Martin. Hello friend, yes the network called myAp by default does not appear, I try with nodemcu and it was not possible to load by esptool in windows.
      With the esp01 if it was possible to load the two bin but without result in the serial monitor, try in linux with telnet but neither.
      Is it possible for each model to have its own bin-like files?

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

      All good it seems that the nodemcu had a manufacturing defect thank you!

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

    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  6 ปีที่แล้ว

      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.

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

    hi, what speed can it do up/down
    as wifi range extender ?

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

      Thanks to Ribeiro Santos, who did a speed test at
      "www.esp8266.com/viewtopic.php?f=11&t=13002". He measured:
      "Using speedtest.net, 2 meters far the router, it shows Down: 6.03Mbps and Upload: 4.83Mbps."

    • @farmtech2
      @farmtech2 8 ปีที่แล้ว

      Yes almost as i got 6.8mbs up & 5.87mbs down

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

      Here are some performance testing results I got using 6x ESP8266 (WeMos), each subsequent ESP used the previous unit as its access point... essentially to test any degradation of throughput if using multiple ESP units extending each other. Testing each unit by connecting a Linux laptop and measuring the internet speed test (Ookla) and simple Ping, assessing both complex and simple traffic.
      Interesting to note that while the first test slowly degraded in performance with each hop, the simple traffic test using ping degraded very little (if at all).
      Home PC with direct internet connection Download 66.6 Mbps, Upload 28 Mbps
      1 Hop (AP1 as Entry Point) (1x ESP8266)
      -Download 9.2 Mbps, Upload 8.6 Mbps
      -Ping bbc.com
      16031ms, 5% packet loss
      2 Hop (AP2 as Entry Point)(2x ESP8266)
      -Download 5.5 Mbps, Upload 5.6 Mbps
      -Ping bbc.com
      16033ms, 5% packet loss
      3 Hop (AP3 as Entry Point)(3x ESP8266)
      -Download 3.7 Mbps, Upload 4.1 Mbps
      -Ping bbc.com
      16020ms, 5% packet loss
      4 Hop (AP4 as Entry Point)(4x ESP8266)
      -Download 1.7 Mbps (odd result!!), Upload 3.4 Mbps
      -Ping bbc.com
      16012ms, 5% packet loss
      5 Hop (AP5 as Entry Point)(5x ESP8266)
      -Download 2.1 Mbps, Upload 2.2 Mbps
      -Ping bbc.com
      16006ms, 5% packet loss
      6 Hop (AP6 as Entry Point)(6x ESP8266)
      -Download 2.1 Mbps, Upload 2.2 Mbps
      -Ping bbc.com
      16002ms, 5% packet loss
      Great work Martin!!!

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

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

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

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

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

      @@eclecticlife Thank you John!

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

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

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

    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  8 ปีที่แล้ว +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.

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

    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  7 ปีที่แล้ว

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

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

    Thanks from Russia, very good project.

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

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

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

    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  7 ปีที่แล้ว

      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 7 ปีที่แล้ว

      Thanks for the reply :)

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

    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  7 ปีที่แล้ว

      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.

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

    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.

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

    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  2 ปีที่แล้ว

      Due to NAT this is not possible

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

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

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

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

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

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

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

    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

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

    Hi Martin, really great idea.

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

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

  • @DonovanMagryta
    @DonovanMagryta 8 ปีที่แล้ว

    Hi,
    I followed the instructions and it works on my esp01, but it isn't requiring a password for AP connection, contrary to my settings which have been double checked using the "show" command. what should I do to get it secured?

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

      "set ap_open 0" should do the job.

    • @DonovanMagryta
      @DonovanMagryta 8 ปีที่แล้ว

      Martin Ger I tried that, it replied "open auth set" then I typed save, disconnected, and unplugged the ESP from power then powered it again. No change. It still is open, and doesn't require a password to connect.

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

      Sometime the client caches the old AP settings. Can you really connect without PW? Try to change the SSID - still open?

    • @DonovanMagryta
      @DonovanMagryta 8 ปีที่แล้ว

      Martin Ger Still open. I even tried re flashing the bin files... It still retains the old settings

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

      Strange, never had any issues on that... You might try to wipe out the WiFi settings by flashing blank.bin from the sdk AT firmware to 0x7e000 & 0xfe000 on the ESP-01.

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

    speed of reception and impact how much?

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

    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  4 ปีที่แล้ว +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 4 ปีที่แล้ว

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

  • @nomnom914
    @nomnom914 8 หลายเดือนก่อน

    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

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

    How do I 'reset factory'?
    Great software. I configured STA & AP settings via the browser using WPA2. When it came time to log in to the new wifi network, the connection has always been refused.
    How do I 'reset factory' to wipe out wifi configs? Maybe I mistyped the password or it is too long (16 char). I cannot access via telnet. telnet 192.168.4.1 777, always results in 'Operation timed out', whether I connect the ESP8266 to my computer or to a power source. I cannot enter the 'reset factory' command via telnet.
    I have tried to flash the 'blink' example code, then flash wifi repeater code again, but the wifi settings are always preserved. The Wifi network never resets back to MyAP. Any suggestions?

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

      'reset factory' from the serial console sets all params back to initial values.

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

      @Martin Ger How? As I wrote, I cannot access via telnet. The following results in an 'Operation timed out' when one end of the cable is connected to the computer and the other end is connected to the ESP8266: telnet 192.168.4.1 7777.
      What command do I use when the wifi network is enforcing a password I do not have? I am new to Arduino. How do I establish a connection to a serial console, that will listen to the command 'reset factory'? Do I use esptool.py or or an AT command? As I mentioned, I tried the telnet command. Thanks.

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

      @@francim123 Use the serial connection. If this fails, the sw isn't installed correctly at all.

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

    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?

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

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

  •  3 หลายเดือนก่อน

    9:23 "The Internet" :D Nice work

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

    thanks @martin Ger very helpful

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

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

    Great project…I’m using it for my Home Automation via mobile hotspot. I have openhab running on raspberry Pi and some esp8366’s with less than 8 nodes. If I configure the Pi or esp8266 with a static IP address the Nat Router won’t see them. I prefer to have a static IP on the PI so I can SSH/putty into it but static IP’s for esp8266’s not necessary. I have the PI's IP set to 192.168.0.254. So, how do I configure the Nat router to have this Pi with it’s static IP? Thanks for your help.

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

      Don't understand completly: the PI is on the "left" (STA) side of the esp_WiFi_repeater and the (some) other node on the "right" (AP) NATed side? It the esp_WiFi_repeater STA interface is set to an IP 192.168.0.x (either statically or via DHCP) it can see the PI. NATing and DHCP are independant.

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

      The Pi and four esp8266 are all on the same side, the other side is my mobile hotspot. The problem is if the esp8266 has a static IP address then it is not on the network. Also if the Pi has a static IP it is not on the network. If I replace the Nat router with my cradle point router all devices do show up, static IP’s and dhcp’s. So it appears that I can’t mix Static IP’s with dhcp??? All I’m trying to do is fix the IP of the raspberry Pi so I know what it is so I can ssh into it. There must be a setting I unaware of. I guess my work around might be to not have any static IP’s and then do a save dhcp so the PI’s address is known and does not change.

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

      Static IP should not be a problem. But from where do you want to connect via ssh? Outside (mobile hotspot)? Then you will need a portmapping entry in the router.

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

      Static Ip is the problem I’m experiencing. All devices are on the inside on the same network 192.168.0.x. f I replace the esp8266 Nat router with my cradle point router all is good. No idea why Static IP’s are not logging in to the esp8266 Nat router. I think I will remove Static IP’s and let dhcp take over, then find out where the PI’s IP address ended up for ssh. Thank you for your prompt responses….its puzzeling. I’ll keep you post on my progress. Happy New Year.

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

      Problem solved. Here’s my update. As I mentioned above, I was having trouble with the Raspberry Pi 2, running openHAB2, connecting with the NAT Router. I tried static IP and dhcp, no success. I thought I was also having trouble with other esp8266’s connecting but was wrong. I switched out the NAT Router and replaced it with a Cradlepoint M1200B router and all worked fine. What could be different? I then put both routers on my LAN with different SSID’s and from the Pi I did a “iwlist wlan0 scan” (WiFi scan of AP) and I noticed that the NAT Router Group Cipher and Pairwise parameters used TKIP while the Cradlepoint used CCMP. In my Pi networking configuration I was only using CCMP. Once I changed the Pi’s parameters to CCMP TKIP success. Not sure what this means but all is OK now. I’m not a Pi networking guru and I found that all Pi networking tutorials and TH-cam videos were very out of date and the Pi (Jesse) configures differently than previous Pi’s versions but that’s another story. Thank you so much for this great project and your previous responses. I have another issue that I’ll address with you on a new post.

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

    Just came across this, thanks 🙏

  • @EEAbhiramShajee
    @EEAbhiramShajee 7 หลายเดือนก่อน

    How can i increase the range , if soldered an external antenna with it , does it solve the problem ?

  • @JohnBrown-cx3lv
    @JohnBrown-cx3lv 7 ปีที่แล้ว

    Thanks for this, but I consistently get:
    no ssid founf, reconnect after 1s
    disconnect from ssid ssid, reason 201
    reconnect
    When I type "show config" it shows the ssid and password that I've entered, and a scan shows the ssid of my router.
    Any ideas?

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

      Type:
      set ssid
      set password
      save
      reset

    • @JohnBrown-cx3lv
      @JohnBrown-cx3lv 7 ปีที่แล้ว

      Thanks. It was the reset step I'd missed.

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

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

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

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

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

    Hello sir Martin! I'm making an IoT project right now, I use 2 esp8266, the 1st esp8266 act as a client then it will send data to the 2nd esp8266(act as a wifi repeater) then this 2nd esp8266 has a sensor that will be send to the router going to web. I use your library from github for the 2nd esp8266 so that the client can connect to the wifi repeater. But the problem is when I upload the code for the sensor using the 2nd esp8266(wifi repeater) it stop broadcasting a wifi network/access point. There's other way to answer my problem?

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

      So you want to run my firmware plus a self-made sensor code? If so, you need to combine this into one firmware. Three options for doing this: a) you can do your sensor interaction with the build-in "gpio" commands and MQTT with the existing firmware. b) you modify the esp_wifi_repeater firmware with the sensor code (probably the most challenging option) or c) you link your sensor program with this lib github.com/martin-ger/lwip_nat_arduino and initialize the WiFi properly (example in github.com/martin-ger/lwip_nat_arduino/blob/master/WiFiNatRouter.ino )

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

      Yes sir. I want to run the firmware plus a sensor code. I'll try the third option.

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

      @@martinger327 Sir There's an error in intstalling the library, this library github.com/martin-ger/lwip_nat_arduino it says (Specified folder/zip file does not contain a valid library).

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

    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.

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

      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.

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

      @@martinger327 sure, I understood. Thank you.

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

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

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

      @@martinger327 It appears only 0x00000 and 0x02000 are required even with Auto mesh, then what is purpose of 0x82000 bin? Thanks

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

      @@thisoldjeepcj5 It is the second binary for over-the-air upload. Not required for normal operation.

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

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

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

    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  4 ปีที่แล้ว

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

  • @KCLeung-gm8ql
    @KCLeung-gm8ql 4 ปีที่แล้ว

    I flashed my ESP-01 Module successfully and I can connect with MyAP and enter to 192.168.4.1. But the setting cannot be saved.

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

      Does ist work from serial?

    • @KCLeung-gm8ql
      @KCLeung-gm8ql 4 ปีที่แล้ว

      @@martinger327 it's work from telnet

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

    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  4 ปีที่แล้ว

      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.

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

    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.

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

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

    Awesome project.. Thanks for sharing..

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

    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  5 ปีที่แล้ว +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 5 ปีที่แล้ว

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

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

    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?

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

      No, Automesh is not implemented for the ESP32

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

      @@martinger327 Thank you for your reply. Is there any possible way to achieve mesh WiFi repeater through esp32.

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

      @@deenadayalan4040 You can configure multiple repeaters in a row manually.

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

      @@martinger327 thank you

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

      @@martinger327 is there any major difference between ESP8266 and ESP32 for auto mesh implementation. Because ESP32 is advanced one.

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

    I would like to implement a wireless network that allows me to collect UDP messages (30 bytes each every 30 seconds) of several sensors placed inside 14 closed and contiguous rooms whose total area is about 60x15 square meters.
    I haven't able to get a reliable connection as the wireless signal of the sensors is very weak outside their rooms. Even with two conventional Access Points we have dead areas inside the rooms.
    My planned solution is to place on the roof of each room 1 ESP loaded with your esp_wifi_repeater firmware. Then every ESP will advertise an unique SSID and will act as the router of the sensors inside its room. And all the ESPs will be connected to the main network via a single Access Point that allow one listening device to collect the broadcasted UDPs messages on that network.
    So far my concern is related to the "congestion" of the wireless network. Considering that there will be about 57 radios operating at the same time (14 ESP + 3 sensors per room + 1 AP), could this result in a saturated network for that "small" area? Could it be a problem if all the ESP use the same channel, or does the firmware as a way to select a less congested channel for its AP side?
    If this "structure" does not seems reasonable, I would appreciate any lights that lead me on the proper direction.
    Thank you!

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

      Congestion will not be an issue - 30 Bytes every 30 seconds is about nothing and a client that doesn't send a message doesn't consume any bandwidth. An AP, i.e. each ESP, does send a Beacon every 100 ms- also not quite a lot. Different channels is not possible as the repeater always works on the channel of the uplink AP. The only limitation I see is, that each ESP cannot manage more than 8 clients, but your design is pobably below this limit.
      If all the 14 ESP can connect directly to the one central AP I assume, that one ESP per room is not absolutly required, mayby one ESP for 2 neighbouring rooms might work as well.

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

      Thank you Martin!

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

    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.

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

      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.

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

      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.

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

      @@martinger327 solved!
      I've read that but could find the codes now it makes sense.thank you.

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

  • @alexsinclair1071
    @alexsinclair1071 8 ปีที่แล้ว

    Been looking for this. Flashed the precompiled firmware into 8266 12E and configured as described but set ap_open 0. I saved the config but my AP remains open though the device says it is not. Have tried several times but can't get the thing to use encryption. Also, seems I can only change the ap_ssid once before I need to do a erase EEprom. Any help appreciated. EDIT: also found that I can not enter an ssids or passwords which contains white space for example: password This is my password, goes in as "This.

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

      The new settings are applied after a reset.

    • @alexsinclair1071
      @alexsinclair1071 8 ปีที่แล้ว

      Yep, I know. I did that in various forms several times. I have a similar
      dev board to yours and have used save & reset from telnet, save
      & hard reset on board and have also saved & power cycled but
      still can't get the encryption to kick in.
      The ssid thing I mentioned above: After the initial flash with your
      pre-compiled binaries, I get one chance to change the ap_ssid and it
      works. If I want to change it again I have to fully erase and re-flash.
      I will be looking to recompile your source and will have a further look
      myself but so far have only had about an hour to play with it. Really
      impressed that I could watch youtube via an ESP8266 repeater. Speedtest
      says I get around 6meg transfer rate which is also not bad at all. Just
      need the encryption and it's good to go.
      Binaries are date stamped 22/01/2017.
      Thanks for showing that this can be done. :-)

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

      Strange - not a known issue. Maybe you try to delete any existing default WiFi config by flashing blank.bin to 0x7e000 & 0x3fe000

    • @alexsinclair1071
      @alexsinclair1071 8 ปีที่แล้ว

      I'll keep playing with it. As I said above, I have fully erased each time.
      This is definitely a huge step in the right direction though :)

    • @alexsinclair1071
      @alexsinclair1071 8 ปีที่แล้ว

      OK, perhaps a dumb on my part.
      The ap_password must be at least 8 characters long for this to work.
      So long as the password is >= 8 chars, the encryption and the ssid change works. Seems that my short password invalidated the whole setup.
      I would like to be able to enter passwords & ssids which include white space chars (spaces) is there any way that I can do this? At the moment, the ssid/password strings are truncated to the first space. eg (ap_password This is my password) ends up the same as (ap_password This).
      EDIT: ssids / passwords in reality can and do contain spaces.

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

    Very good. Now I'm subscribing. But it is *not* a repeater, it is a small router.

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

      You are absolutly right - it is a NAT router. I just called it "repeater" as many might understand better it's primary purpose...

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

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

    • @martinger327
      @martinger327  2 ปีที่แล้ว +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.

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

    is it possible to change the mac adress?

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

      Changing the MAC addresses is possible with the SDK, but the repeater doen't allow for this right now.

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

      Thank you for this awesome project, is there a way to donate? Will you add the possibility to change the esp mac and hostname by commands ?

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

      Added "set [ap_mac|sta_mac] xx:xx:xx:xx:xx:xx" in the lastest version. Sets the MAC addresse of either AP or STA.

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

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

    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  3 ปีที่แล้ว +1

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

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

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