esp32_nat_router icon indicating copy to clipboard operation
esp32_nat_router copied to clipboard

which idf version?

Open xenpac opened this issue 4 years ago • 12 comments
trafficstars

hi,

i used idf 4.4, got: WARNING: Missing submodule components/micro-ecc/micro-ecc... Attempting 'git submodule update --init components/micro-ecc/micro-ecc' in esp-idf root directory... error: pathspec 'components/micro-ecc/micro-ecc' did not match any file(s) known to git. /home/tom/esp/esp-idf/make/project.mk:703: recipe for target '/home/tom/esp/esp-idf/components/micro-ecc/micro-ecc/.git' failed

which version did u use to compile?

xenpac avatar Apr 19 '21 18:04 xenpac

I used this: https://github.com/espressif/esp-idf/releases/tag/v3.3.5

martin-ger avatar Apr 19 '21 18:04 martin-ger

ok, now im getting: esp32_nat_router/components/cmd_router/cmd_router.c:27:2: error: #error "IP_NAPT must be defined" #error "IP_NAPT must be defined" ^~~~~

xenpac avatar Apr 20 '21 09:04 xenpac

Did you configure this:

in the project directory run make menuconfig (or idf.py menuconfig for cmake).

    *Component config -> LWIP > [x] Enable copy between Layer2 and Layer3 packets.
    *Component config -> LWIP > [x] Enable IP forwarding.
    *Component config -> LWIP > [x] Enable NAT (new/experimental).

martin-ger avatar Apr 20 '21 09:04 martin-ger

ok thanks, i just used the binarys for now.

xenpac avatar Apr 20 '21 11:04 xenpac

works;) but the esp_nat_router appears as "non-encrypted" although i set a passwd in the webconfig. do i have to select an encryption scheme somewhere?

xenpac avatar Apr 20 '21 11:04 xenpac

Should be encrypted after restart - perhaps something cached in the client?

martin-ger avatar Apr 20 '21 12:04 martin-ger

what encryption scheme are you using?

xenpac avatar Apr 20 '21 12:04 xenpac

WPA-PSK

martin-ger avatar Apr 20 '21 12:04 martin-ger

ok, a passwd length of 4 was too short ;_) now using a length of 10 and it works.

xenpac avatar Apr 20 '21 12:04 xenpac

is this project actually the same as the esp-wifi-repeater , just for the esp32?

xenpac avatar Apr 20 '21 14:04 xenpac

The idea is the same, but the implementation is completely different and it has LEDs features.

Am 20. April 2021 16:59:25 schrieb xenpac @.***>:

is this project actually the same as the esp-wifi-repeater , just for the esp32? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

martin-ger avatar Apr 20 '21 16:04 martin-ger

nebenbei....eine seehr schöne software...Kompliment!

xenpac avatar Apr 20 '21 17:04 xenpac