I find that this happens quite often. Perhaps you had UniFi installed some time back and decided to upgrade to a better router but have no idea what the PPPoE password is.
This guide will show you a few ways to obtain that password. I'll be using UniFi here but parts of it applies to other ISPs too.
Username and Password Example
Before we begin, here is an example of the UniFi username and password so you'll recognise it when you see it.
Username for home users: soonwai@unifi
For business users: soonwaisb@unifibiz
Password, if system generated, consists of 13 alpha and numeric characters: DRoWsSApYmTOn
Easy Low Tech Methods
Let's start with a few easy low-tech methods:
1. Look for the Service/Installation Order form
Look for the Service/Installation Order form that should have been given to you when UniFi was installed. It has the username and password on it. Maybe.
2. Call UniFi Support 100 (and other channels like Twitter and Facebook(?))
Call 100 to reset your password. After verification of your identity as the subscriber. UniFi will SMS the new system generated password to your mobile phone.
If the above didn't work then you can obtain the password from the existing router. First we'll need to gain access to the router
Logging in to the Router
Log in to the router with your router password. If you have not changed the password, you can try one of the following default passwords.
Default Router Passwords for UniFi Stock Routers
(DIR-615, TRG-212M, RG4332, L7-N-R2000)
Username: operator
Password: h566UniFi
Username: Management
Password: TestingR2
Default Router Password for Innacomm RGX4400
For the newer routers such as the Innacomm RGX4400, it's a bit different. It is:
Username: operator
Password: Opr@XXXX
where XXXX are the last 4 characters of your router's MAC address. You can get the MAC address from the box or the router's label.
Another way to get the MAC address is to log in as:
Username: admin
Password:
On the RGX4400 Router Status page, look under LAN Configuration for MAC address: 1CA532A6CC09. The last 4 characters are what you need. In this example, the password would be Opr@CC09 (in caps please)
Default Router Password for DLink DIR-850L
You don't have to enter a username. Password is on a sticker.
Password: admin@xxxx
Default Router Password for DLink DIR-850L (TIME)
You don't have to enter a username.
Password: TIMExxxx
Where xxxx are the last 4 characters of the router's MAC Address.
Default Router Password for TPLink Archer
Username: admin
Password: admin
Default Router Password for Maxis Technicolor TG784n v3
MaxisBB has a blank password.
Username: MaxisBB
Password:
For more settings you'll need the Administrator password. The default password for the Administrator account is either the Access Key or the Serial Number. Both are found on the sticker at the bottom of the router.
Username: Administrator
Password: Access Key or Serial Number
The Thomson router has one more login called tech which is used when you enable remote logins.
UniFi PPPoE Username and Password
Once you have managed to log in to the router as user "operator", the fun begins. I'll be brief for now until I have time to put in a few screenshots.
Inspect HTML Method
First, go to the WAN setup page. You can plainly see your UniFi username here and your password hidden.
1. Right click on the password and examine the HTML source of the page.
2. You may see something like this with your PPPoE password:
<input type="password" name="pppPassword" size="15" maxlength="29" value="DRoWsSApYmTOn">
Some routers try to be clever. For example, on the or RGX4400, you will see this:
<input type="password" name="pppPassword" size="15" maxlength="29" value="3487_TmPPPoE">
where 3487_TmPPPoE is not the actual password. Do a search for your username and you should find it:
it("enable", 1), new it("IpProtocol", 3), new it("ipDhcp", 0), new it("ipAddr", "0.0.0.0"), new it("remoteIpAddr", "0.0.0.0"), new it("netMask", "0.0.0.0"), new it("pppUsername", "soonwaisb@unifibiz"), new it("pppPassword", "DRoWsSApYmTOn"), new it("pppCtype", 0), new it("pppIdleTime", 0), new it("pppAuth", 0), new it("pppACName", "")
with the password next to it.
This method will work on most routers.
SSH/Telnet Method
SSH or Telnet to the router. Look for a file which may contain the PPPoE username and password. You may have to dig around. Some common files are chap-secrets and ppp-conf.
Example for RGX4400:
> cat /var/ppp/ppp.conf
CODE
if dev dev_v gw phase username password MRU
ppp0 PPPoE nas0_1 1 Network soonwaisb@unifibiz DRoWsSApYmTOn 1492
ppp0 PPPoE nas0_1 1 Network soonwaisb@unifibiz DRoWsSApYmTOn 1492
snmpwalk Method
This method works on the DIR-615. You'll get a whole bunch of SNMP results. Look for the following OIDs:
> snmpwalk -v 1 -c public 192.168.0.1 private
CODE
...
SNMPv2-SMI::enterprises.171.31.1.1.1.2.1.10.1 = STRING: "soonwaisb@unifibiz"
...
SNMPv2-SMI::enterprises.171.31.1.1.1.2.1.11.1 = STRING: "DRoWsSApYmTOn"
...
SNMPv2-SMI::enterprises.171.31.1.1.1.2.1.10.1 = STRING: "soonwaisb@unifibiz"
...
SNMPv2-SMI::enterprises.171.31.1.1.1.2.1.11.1 = STRING: "DRoWsSApYmTOn"
...
Mikrotik Routers
Mikrotik routers are very easy. Just toggle "Hide Passwords" off and you'll be able to see the passwords.
Software Method
If you have a backup of your router's config, there're a few utilities that can read the backup file and decrypt it. This works for many popular routers.
http://www.nirsoft.net/utils/router_password_recovery.html Thanks badai
http://securityxploded.com/dlink-password-decryptor.php
RouterPassView Thanks blacktubi
i dunno routers password
What if you don't know the routers password? Which means that you can't login to the router's admin page. There's one more method which I'll post later. This method requires physical access to the router, a screwdriver and a hammer drill.
This post has been edited by soonwai: Apr 6 2017, 04:08 PM