ESP32-PPPOS-EXAMPLE icon indicating copy to clipboard operation
ESP32-PPPOS-EXAMPLE copied to clipboard

Route Wifi AP to PPPoS

Open crismansantos opened this issue 6 years ago • 6 comments

Hi! I'm trying route Wifi AP to PPPoS but until this moment nothing work! kakaka First, I created a PPPoS client connection with a PPPoS server and PPP worked very well. So I created a Wifi AP and add pppapi_set_default function at the pppos client connection, but it's not worked.

I tryed set pppos to default interface with netif_set_default function but also not work

Can you help me?

Sorry for my english, I'm Brazilian kakaka

crismansantos avatar Apr 12 '18 11:04 crismansantos

Hi crismansantos

did you find any solution ?

aswathreddy avatar Feb 20 '19 11:02 aswathreddy

Hey dude I sttoped working on this a long time ago because I not find any solution. Was not implemented on esp-idf until then, and I think that not implemented yet.

crismansantos avatar Feb 20 '19 12:02 crismansantos

Thank for the reply ! https://www.esp32.com/viewtopic.php?t=1496 According to the forum discussion says ppos example can enable wifi using gsm network Can you please let me know where did you stopped it so that I will continue from there.

aswathreddy avatar Feb 20 '19 13:02 aswathreddy

In fact PPPoS works very well, it's not a problem. The problem is if you want route this interface to another. The ESP-IDF team does not have implemented ARP protocol and IP forward for this. Take a look on official esp-idf repository. There you will see several problem like that and none solution. You can set ppp interface as default interface, but not more than that. And implement all it need to work involves a lot of work.

crismansantos avatar Feb 20 '19 13:02 crismansantos

Hi Crisman,

Thanks for your suggestion. I see that ARP implementation in esp-idf are you referring to the same or different one?

https://github.com/espressif/esp-lwip/blob/2.0.3-esp/src/core/ipv4/etharp.c

aswathreddy avatar Feb 21 '19 01:02 aswathreddy

Hi there, Are there any updates on this topic? I to want to use a single 3G module to control multiple devices. I need to connect my other esp-32 based devices to internet through AP created by an ESP-32. This will help me in saving the cost and don't even have to buy any router as well.

KrrishnaShah avatar Feb 13 '20 07:02 KrrishnaShah