Hello! I looked in example "eth2wifi" inside IDF, but I need to do something a little different.
Ethernet to WiFi STA and not AP. I tried some things but none worked.
I have one device with ethernet connection, but in some clients, just the wifi is present. I need ESP32 to connect in WiFi (STA) and route all trafic to ethernet and vice-versa.
I tried to enable "IP forwarding and NAT" in LwIP menuconfig options, but none worked. Someone can help me?
ethernet and wifi bridge
Re: ethernet and wifi bridge
Hello WiFive! Thanks for this example. I test but fail.
ESP32 can connect in my router and get own IP Addr, however, my computer still failling to get IP Address and internet access. When DHCP (in computer) is active and ping someone, this error appears: ping: connect: Network is unreachable
When use static IP in computer, ping show this another error: From 192.168.43.155 icmp_seq=1 Destination Host Unreachable
I tried to asign static IP to computer equal from ESP32 WiFi STA and different, but none worked.
I tried to enable "IP Forwarding" and "NAT" in LwIP menuconfig, but nothing changes. (idf 4.2)
I tried normal ethernet cable and crossover, but fail again
Re: ethernet and wifi bridge
hi,
I am new to esp32 idf. I use LAN8720 breakout board with ESP32 to allow my Raspberry Pi 2 (which don't have wifi) to connect to the internet. attached file is my config. I use esp32 as a wifi station so I have to set the ssid/pwd fields same as ssid/pwd of my home wifi router, right? hope someone can help. thanks
I am new to esp32 idf. I use LAN8720 breakout board with ESP32 to allow my Raspberry Pi 2 (which don't have wifi) to connect to the internet. attached file is my config. I use esp32 as a wifi station so I have to set the ssid/pwd fields same as ssid/pwd of my home wifi router, right? hope someone can help. thanks
- Attachments
-
- Screenshot 2024-05-01 at 14.41.16.png (93.88 KiB) Viewed 1193 times
Who is online
Users browsing this forum: Baidu [Spider] and 67 guests