NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ntsux's avatar
ntsux
Aspirant
Dec 14, 2011

Lost Web Interface (Admin Access)

D'oh!

I am using an Ultra6 and love it (for the most part). I just went to install and configure ReadyNAS Photos 2 - and opted to disable the 'UPnP access to the photo album' and do the inbound NAT (port forward) manually on my firewall - no biggie. I think I blew things up when I configured the add-on to listen on port 80 (seeing as it's a web page I want people behind their office firewalls to view the photos on a standard port, and my admin interface listens on 443, there should be no issue).

Except - as soon as I did that, I immediately lost access to the FrontView Admin web site. I obviously created some sort of conflict in the NAS's web service, as telnets to the NAS on 443 or 80 go now unanswered (I am on the same subnet as the NAS, so no firewall, ACL or routing issues to worrt about).

OK, so I thought I'd just SSH into the box and figure out how to manually uninstall the Photos 2 add-on... but I have somehow lost SSH access as well. Well, to be specific, when I telnet to 22, I get the SSH service banner (SSH-2.0-OpenSSH_4.3p2 Debian-9), so I know the service is running - but all my PuTTY sessions abort as soon as I authenticate. I think the SSH issue is a red herring, but it's really making life difficult as I try to repair what I did with the Photos 2 add-on.

I have access to the shares via FTP and CIFS... those work great (thankfully, as the data is intact and available for me to access). I just lost the steering wheel and brakes!

OK, so no web admin access. No SSH admn access. That leaves - maybe the possibility of a local serial cable console session? Is this possible? Is this worth exploring as an option?

Other than finding/buying a data storage device to temporarily move 10TB of data as I perform factory reset on the Ultra 6, is there anything else I can do?

Your thoughts and help are much appreciated!

5 Replies

  • Wow that was fast, and sounds AWESOME. I have gone the SSH route a few times. One thing to note is that invalid credentials just prompt me to input the correct ones. Once I do, the session seems to abend immediately.

    However, I am really scared about the data itself. The FAQ does not mention that the data gets erased, (as it does state for the 'factor default' option), but I will ask the stupid questions before I do stupid things! From what I read, the data should remain intact. Is that your understanding as well?

    *** UPDATE (instead of a double-post) ***

    I just got in via SSH. The key was the user name - root instead of Admin. I had to read that a few times before I clued in. Thanks!

    Now, how can I properly uninstall the frickin' add-on from my console session? Or maybe edit it such that I can choose a port other than 80?
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    The OS Re-install leaves data intact. Only the factory default wipes the data.

    If you enabled SSH (i.e. via EnableRootSSH), an OS Re-install will reset the root (SSH) password as well as the admin password.

    If you can't get in via SSH to edit "/etc/frontview/apache/addons/READYNAS_PHOTOS_II.conf" yourself, you can contact tech support. They have a way of remotely logging in (they will tell you how to give them access) and fixing a problem like this (a fee may be attached).

    After editing the config you can then restart apache

    apache-ssl -f /etc/frontview/apache/httpd.conf -k restart


    Port 80 is used by default to refer you from http://ip.address.of.nas/ to http://ip.address.of.nas/shares (where you can access your shares via HTTP if you've configured them to be accessed that way) or from http://ip.address.of.nas/admin to https://ip.address.of.nas/admin. http is used for some parts of Frontview and for some addons, I think. It's a reserved port and you can't use it for other things. The thing to do if you want port 80 to take you to something like Photos II, is on your router to set port 80 to port forward to a different port (e.g. 8086) on the NAS. Not all routers can do this. DD-WRT firmware can be used on some routers that don't support this kind of port forwarding out of the box.

    Edit: Just been thinking about things. Due to the way Photos II works, port forwarding port 80 to a different port on the NAS wouldn't be the way to go with Photos II. I don't think it'd work.

    With Photos II, http://photos.readynas.com/photographername refers to the http://ip.address.of.nas:8086/... address

    There really is no need to set a different port for Photos II unless the default port Photos II uses is blocked for some reason.
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    You can use e.g. "vi" (can Google for its MAN page) to edit the conf file I mentioned.

    Alternatively you could simply remove Photos II

    sh /etc/frontview/addons/READYNAS_PHOTOS_II.remove
  • That was the trick! I am back up and running! Thanks very much - I really do appreciate the help. I hope I get to return the favour one day, or even pay it forward... perhaps on these boards!

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More