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

Forum Discussion

adinb's avatar
adinb
Aspirant
Jul 04, 2006

Unison Support?

I'd like to throw support for Unison (client & server) into the hat. It's cross platform, similar to rsync, but easier to use, and has plenty of F/OSS implementations. Unison might really make mirroring a lot easier with the readynas.

-adin

23 Replies

Replies have been turned off for this discussion
  • Picking up an ancient thread, i got unison working on my Readynas Duo V2 (arm). Maybe others are still interested?

     

    The best method seems to be as others have posted, to use root SSH access to the ReadyNas:

    1) Download the RootSsh add-on for arm (or i assume any other platform you wish - see here: https://www.readynas.com/?cat=36 )

           For arm: http://www.readynas.com/download/addons/arm/5.3/EnableRootSSH_1.0-arm.bin

                a. Save the file to your local machine

                b. In readynas Dashboard go to Add ons tab, click the +(Add) icon, browse to the file you saved, and press upload. It may indicate you need to restart the Readynas. Do so.

    2) Now you should be able to ssh as root to the Readynas from your local machine

             in Terminal, type 

    ssh root@ip.of.your.readynas

             You will be prompted for the password: use the SAME password you use to login to your ReadyNas dashboard. You should get to a shell prompt

    3) in the ssh prompt, Download the precompiled binary for Unison as found here: http://alan.petitepomme.net/unison/

           For arm: use the 'For Arm, compiled under Debian Squeeze' version - http://alan.petitepomme.net/unison/assets/unison-2.40.63-armel.zip

               in Terminal, type 

     

    wget http://alan.petitepomme.net/unison/assets/unison-2.40.63-armel.zip

          Tthe file will be downloaded into the library (home) of the ROOT user

    4) Unzip the file you just downloaded 

    unzip unison-2.40.63.armel.zip

        (Or whichever version you downloaded)

     

    5)  Make sure that the extrated file is executable 

    chmod +x unison-2.40.63.armel

     

    6) Now you should be able to test unison in a non-standard way by typing 

    ./unison-2.40.63.armel -version

     

           If you get a version number, its working. 

    7) This way of starting unison will not work well with the Unison client on your local machine, so lets fix that: 

    cp unison-2.40.63.armel /user/local/bin/unison

     

           This command copies the file you unzipped to the local/bin directory using the name unison. Now you should be able to use unison by typing 

    unison -version

     

            If that works, SUCCESS!

     

    Now set up your unison client machine using the gui, or learn command options to pull from the Readynas. You can fully use Unison at this point. 

       REMEMBER:

                i. The readynas share will be at ssh://root@ip.your.readynas//full_path_to_your_share/

        NOTE: there is a // after the ip address to indicate a full path name to your share. If the share is created in the home directory for ROOT user, input only one slash /

     

     

     

     

  • yes Unison really is the bees' knees for keeping multiple hosts in sync, been using it 15+ years now on many platforms, it has been solid as a rock. I'm excited to implement my new RN (total noob here) as a centralized always-on Unison server for all my clients - hub and spoke topology is really the way to go to minimize replication conflicts!

    But suspect the reference to deb Squeeze above - the forum doesn't display the post's year? - won't apply to OS6. My 204 is now on on 6.5.0, I'm ASSuming OS6 is based off Wheezy, but any specific suggestions as to the correct binary to use would be most appreciated.

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