Hello, I need to make a transparent WiFi to Ethernet (and vice versa) router. The main using script is to connect the laptop via WiFi to the access point of ESP32- S3 and get the full vision of a direct connection ...Read more
Hello,
I need to make a transparent WiFi to Ethernet (and vice versa) router. The main using script is to connect the laptop via WiFi to the access point of ESP32- S3 and get the full vision of a direct connection to Ethernet.
I guess I need to capture IP packets from WiFi and redirect them into an Ethernet adapter, but do not know how to get raw IP packets from the lwIP stack. Another question is how to connect the Ethernet adapter to the embedded lwIP stack simultaneously with WiFi.
Any idea how to do this?
Thank You
Read less
Hello, To create a transparent WiFi to Ethernet router, you will need to implement packet forwarding between the WiFi interface and the Ethernet interface. This can be done using the lwIP stack, which is commonly used in embedded systems. To get raw IP packets from the lwIP stack, you can use the lwRead more
Hello,
To create a transparent WiFi to Ethernet router, you will need to implement packet forwarding between the WiFi interface and the Ethernet interface. This can be done using the lwIP stack, which is commonly used in embedded systems.
To get raw IP packets from the lwIP stack, you can use the lwIP raw API. This API allows you to register a callback function that is called whenever a packet is received or sent by the lwIP stack. You can use this callback function to capture the IP packets from the WiFi interface and forward them to the Ethernet interface.
Thank You
See less