Skip to content
New issue

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

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

Already on GitHub? # to your account

Using ESP32 as PPPOE server possible? #4

Open
Smig0l opened this issue Aug 29, 2024 · 2 comments
Open

Using ESP32 as PPPOE server possible? #4

Smig0l opened this issue Aug 29, 2024 · 2 comments

Comments

@Smig0l
Copy link

Smig0l commented Aug 29, 2024

Hi! I have come across your project after reading Wiznet W5500 pppoe docs...
I have an ESP32 and a W5500 lite module.
Is it possible to create a PPPOE server?

I know that this project is 8 years old but wondering if u can help me.

@njh
Copy link
Owner

njh commented Aug 30, 2024

Technically perfectly possible.

But there might better Ethernet options for ESP32 than W5500:
eg something like this https://www.olimex.com/Products/IoT/ESP32/ESP32-GATEWAY/

Looking at RFC2516, it looks like you need to process these EtherTypes:

  • 0x8863 (Discovery Stage)
  • 0x8864 (PPP Session Stage)

But then you either need to implement PPPoE yourself or glue in an existing library.
And then I guess route the IP packets over normal Ethernet?

I did have some success with implementing PPP for IPv6:
https://github.com/njh/tinyppp6

@Smig0l
Copy link
Author

Smig0l commented Aug 30, 2024

But then you either need to implement PPPoE yourself or glue in an existing library.

the only library i could find that mentions pppoe is this.

but it says "PPPOE_SERVER is not yet supported under lwIP!" even if i see some server function (like pppoe_send_pado)...

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

No branches or pull requests

2 participants