How to Retrieve PPPoE Credentials from Your ISP's Router

Hi everyone,

I wanted to share a solution for anyone who's been in the same situation I’ve faced a few times: wanting to replace your ISP's router with your own, but not being provided with the PPPoE credentials.

To solve this, I’ve created a Python script that’s packaged as a frozen binary, so there’s no need to install anything. Just download, run it, and delete the file afterward. The tool is compatible with Mac, Linux, and Windows, making the process of retrieving your PPPoE credentials simple and straightforward.

In addition to retrieving your PPPoE credentials, the tool can also detect the VLAN ID, which is helpful if you're unsure which VLAN your provider uses.

I hope this helps anyone looking to set up their new router.

Happy networking! :globe_with_meridians:

5 Likes

This script works by emulating a PPPoE server and convincing the ISP's router to connect to it and then to use PAP for authentication.

Of course, this can only work for Ethernet-based WAN. Not for DSL or GPON, because you can't connect a PC and have it act like the other end of such links.

Nice work.

This is very similar to a tool made by a Spanish guy named frikidelto.

Yes, I based my work on his approach and goals, but I'm aiming to simplify it, make it cross-platform, and remove dependency on certain Ubuntu packages.

1 Like

Thanks, you're righ -- it only works on Ethernet WAN routers. I'll make sure to include that in the README.