1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resseting "web" admin password via SSH access

Discussion in 'Tomato Firmware' started by zehninguem, May 14, 2008.

  1. zehninguem

    zehninguem Network Guru Member

    I forgot the admin (web interface) password of the router that I installed at my mother's house. But I still have access to the router via SSH.
    Since I will lost remote access if I request her to reset the router I would like to know if somebody knows were I can find the file with the admin user passord (not root but the web interface admin user).

    Thanks
     
  2. nvtweak

    nvtweak LI Guru Member

    nvram get http_passwd
     
  3. journeyman1876

    journeyman1876 Addicted to LI Member

    nvtweak, I support a family member remotely and they too have forgotten their web admin password. I don't have remote access to their router, but I can visit them on site and connect to their LAN. What is the best way to retrieve their admin password without doing a reset and starting over?
     
  4. Rob650

    Rob650 Addicted to LI Member

    Does that router have an SES button on the front, journeyman1876? If so you can follow this to get the password back: http://www.polarcloud.com/tomatofaq#why_doesnt_my_password_work

     
  5. journeyman1876

    journeyman1876 Addicted to LI Member

    Thanks Rob650! Yes it does (WRT54G). As a networking novice, any chance I could ask you to come down into the weeds for a min and tell me how to "telnet into the router on port 233"?
     
  6. Rob650

    Rob650 Addicted to LI Member

    Open up a command prompt (Start menu > Programs > Accessories > Command Prompt)

    Type
    Code:
    telnet 192.168.1.1 233
    You are now logged into the router. Now type
    Code:
    nvram get http_passwd
    to retrieve the password.
     
  7. journeyman1876

    journeyman1876 Addicted to LI Member

    I lied. Turns out their router does not have the SES button (older v1.1). I attempted the telnet command anyway and of course it does not work (FYI, their router IP address is 192.168.2.1):

    C:\>telnet 192.168.2.1 233
    Connecting To 192.168.2.1...Could not open connection to the host, on port 233:
    Connect failed

    Any other suggestions for retrieving their admin password?
     
  8. Rob650

    Rob650 Addicted to LI Member

    I don't believe there are any other easy methods. Looks like a reset is in order.
     

Share This Page