Reading out the credentials for PPPoE or PPTP via the CLI
Last adaptation to the version: 12.6.0
New:
- Updated to Redesign of the webinterface
Reading the access data from PPP
It is not possible to read the PPP password via the graphical user interface.
However, it is possible via the CLI.
- You can access the CLI either via SSH or via the web interface using the menu item
- Use the command interface get to display all interface settings
- Look for the line with the type PPPoE or PPTP
- The options ppp_user and ppp_password show the DSL setup data (user and password)
Example:
[…] wan0 |PPPOE |DYNADDR| |external,firewall-external,external_v6,firewall-external_v6,vpn-ipsec,firewall-vpn-ipsec,vpn-ppp|ppp_user=my_ppp_user@isp,ppp_password=my_ppp_password,pppoe_parent=eth0,ppp_lcp=1,mtu=1492|mtu=1492 |UP […]
In this example, "my_ppp_user@isp" is the user for login and "my_ppp_password" is the associated password.