Hi all,

I'm trying to connect my smartphone to the Internet through NuttX and ESP32
by creating a SoftAP - station bridge. Is this possible?

Currently, I'm building NuttX as esp32-devkitc:sta_softap, configuring
wlan0 as station and wlan1 as softAP using the commands from here[1][2]. I
have also enabled support for L2 forwarding and routing table from the make
menuconfig.

>From my smartphone, I am able to connect to ESP32 but there is no internet
access. From the board, I can reach 8.8.8.8 by pinging after using the
following command: *addroute default 192.168.0.1 wlan0*.

I have also tried enabling NAT (CONFIG_NET_NAT) hoping that will solve the
issue but it still persists.

Does someone have any relevant input here? Am I missing any rules in the
routing table or any configurations?

Best regards,
Robert

[1]:
https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32/index.html#wi-fi
[2]:
https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32/index.html#wi-fi-softap

Reply via email to