Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route Wifi AP to PPPoS #8

Open
crismansantos opened this issue Apr 12, 2018 · 6 comments
Open

Route Wifi AP to PPPoS #8

crismansantos opened this issue Apr 12, 2018 · 6 comments

Comments

@crismansantos
Copy link

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

@aswathreddy
Copy link

aswathreddy commented Feb 20, 2019

Hi crismansantos

did you find any solution ?

@crismansantos
Copy link
Author

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.

@aswathreddy
Copy link

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.

@crismansantos
Copy link
Author

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.

@aswathreddy
Copy link

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

@KrrishnaShah
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants