- Install rp-pppoe (emerge rp-pppoe on Gentoo, apt-get install pppoe on Debian or the equivalent command on your distro)
- Create the file /etc/ppp/pppoe-server-options containing the following lines:
- Add the following line to /etc/ppp/pap-secrets
"your ISP login name" * "some bogus password"
- Connect the router's uplink port to your computer's network interface and run the following command as root (assuming eth0 is the name of your interface):
# pppoe-server -I eth0 -F
- Now the server should tell you that it's waiting for incoming connections. Trigger a dial-in on your router. When that happens, the password will be printed to the system log in plain text.
Ever got into the situation where you need the dial-in password for your ISP and you either lost or forgot it? And it won't be shown in the router's configuration interface or you lost that password as well? And the router configuration is obfuscated when saved into a file? Well, here comes the solution (at least if you run Linux):