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

Forum Discussion

behlers's avatar
behlers
Aspirant
Oct 29, 2022

RN204 Recovery From my Stupid Mistake

First, this is a problem of my own making, I know that.

I have a ReadyNAS RN204 with 4 x 4TB drives. I had it upgraded to 6.10.8. It uses the Annapurna ARM processor. 

I was using ZeroTier to remotely and securely access the NAS securely. I had installed it by opening up SSH and then downloading and installing binaries. Worked fine and I was even able to get bridging to work, so the ReadyNAS was my remote access server. I should have stopped there.

I use NordVPN for all of my mobile devices and wanted to consolidate away from using both ZeroTier and NordVPN. Nord has support for Linux and even Debian 8.10. Nord also has support for bridging like ZeroTier. So I uninstalled ZeroTier and started to install NordVPN. But there was one fatal (I hope not) flaw, NordVPN needed libc6 and libc6-dev v 2.28 and the closed Netgear distro only used v2.19. Foolishly I tried to upgrade libc libraries, but I got into a problem with ldconfig.rc which is built using libc6 and which could not be upgraded on a running system.

So I attempted to downgrade back to Netgear stock libraries, but got stuck. Now I cannot boot due to the NordVPN service (/etc/init.d) is trying to run, but fails on load due to the libc issues.

I tried running the USB recovery, which said it ran successfully, but now I am back to the Nord service trying to launch and hanging up network access.

What I think I need to do is telnet in and disable the Nord service. Then I can undo the damage I have done and get back to my starting point. I can boot into Tech Support mode, but it is asking for a user and password that I don't have. Any clue what these might be? I have tried everything I could think of. I think Netgear hashes the password from the mac address of the first Ethernet, but I need the tool to hash the key.


Most of my data is backed up to the cloud so at least it is not a fire.

Any help is greatly appreciated.  

4 Replies

  • PS...I can see the ReadyNAS in RAIDar and it gives a Debug Code of 57496

     

    I bet that means "can't boot due to corrupted firmware" or something like that.

  • Inching forward I have found that I can get into the tech support telnet shell with:

    username: root
    password: infr8ntdebug

    Maybe I can now fix my issues...more soon

    • StephenB's avatar
      StephenB
      Guru

      behlers wrote:

      Inching forward I have found that I can get into the tech support telnet shell with:

      username: root
      password: infr8ntdebug

      Maybe I can now fix my issues...more soon


      From there you can start RAID and chroot by entering

       

       

      # rnutil chroot

       

       

      Note that /apps is a mount point to the data volume, so if you installed Nord there you will need to mount it.

       

      If you do need that access and use X-RAID, you can mount it with

       

      # btrfs device scan
      # btrfs fi show
      # mount /dev/md127 /data

       

       

      If you use Flex-RAID with a single volume, you just substitute your volume name instead of using /data.  With multiple volumes, you do need to know the correct RAID group (mdxxx) to mount.

       

       

      • behlers's avatar
        behlers
        Aspirant

        Stephan,
        Thanks so much for the pointer. I managed to get myself back up and running.
        What I ended up doing was going in through chroot, then:
        1. Manually deleting all traces of NordVPN

        2. Manually deleting all of the symbolic links to glibc that was only partially updated. Thankfully all of the version 2.19 binaries were still there.

        3. Recreating all of the symbolic links to point back at the correct version.

        4. Did an OS reinstall, which got me to a non-chroot terminal

        5. Apt clean update upgrade

        6. Reboot

        7. Recreate all of my network connections

        8. Download Zerotier and install

        9. Manually create a bridge and put eth1 and virtual ZT interface in it.

        10. Number the bridge
        AND BOOM, back to where I started. No more messing around.

        I did install syslog-ng and point it at one of my btfs shares so I can log everything else on my network. 

        Leave well enough alone.

        Thanks,

        Bob

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