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

Forum Discussion

euphos's avatar
euphos
Aspirant
Jan 03, 2014

Update via SSH & USB Stick??

Does anyone know how to apply an update via usb through ssh? I currently have 6.1.4 running on a Pro2, but lost access to the web GUI, so I can't do the update to 6.1.5. I still have SSH access and can use the shares in Windows. I believe the admin account was lost somehow when I tried to add the Pro2 to my ReadyCloud.

Hoping the firmware update will restore the admin account. Unless someone else has ideas??

7 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    Don't need a USB stick:


    # cd /var/readynasd
    # wget ftp://downloads.netgear.com/files/GDC/READYNAS-300/ReadyNASOS-6.1.5-x86_64.zip
    # unzip R*.zip
    # rm *.html *.zip
    # echo /var/readynasd/ReadyNASOS-6.1.5-x86_64.img > /etc/.flash_update
    # rn_shutdown -r
  • Thanks mgdm! That did update the firmware to 6.1.5, but unfortunately it did not restore the "admin" user.

    I SSH'd in successfully, an issued a "passwd admin" command, and it came back with:
    "user 'admin' does not exist"

    Any way to restore the admin account / user?
  • Nope - that did do it either.

    Any other ideas? Can I get a screen grab of some directory or file contents? Would that help diagnose what happened?
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    Do you have a backup of your data?

    Perhaps do a factory default, then restore data from backup.
  • Luckily, Yes - All data is backed up. Was saving this as a last resort.
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    Well 6.1.5 has a nodesize and leafsize change that requires the creation of a new volume, so a factory default would be what I would recommend.

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