× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Install Sparkleshare ReadyNAS Duo

knorrhane
Aspirant

Install Sparkleshare ReadyNAS Duo

So I was wondering if it's possible to install Sparkleshare (http://sparkleshare.org/) on my ReadyNAS Duo? I was thinking I download the source and compile it on my ReadyNAS, however when I messed around with apt-get update and apt-get install in the past I managed to disable Frontview and I had to do a factory reset. Before I get at it this time, I was hoping to get some feedback.

Thanks!

EDIT: I believe it was the apt-get upgrade command that messed things up for me previously, I won't do that again.
Message 1 of 3
TheWierd
Guide

Re: Install Sparkleshare ReadyNAS Duo

Resurrection on this thread!

I would also like this included in to ReadyNAS.

And they have come a long way now 😄
Message 2 of 3
simon0117
Tutor

Re: Install Sparkleshare ReadyNAS Duo

I started working on this but gave up after a while, I think the ssh-keygen was taking literally days to run. Maybe my notes can help someone get further.


The "short page" at http://sparkleshare.org/set-up-a-host/ says you need git and ssh installed.

Enable Root SSH Access
http://www.readynas.com/?p=4203
reboot

Git
http://www.readynas.com/?p=3443

From Frontview - Security - User & Group Accounts, create a group "git" and a user "git"

SSH in as root:
git init ––bare ~git/MyProject
mkdir ~git/.ssh
touch ~git/.ssh/authorized_keys

On your client machine SparkleShare created a special key file for you in ~/SparkleShare. Copy its contents.
Back in the SSH session, edit ~git/.ssh/authorized_keys (with vi) and paste.

chmod 700 ~/git/.ssh
chmod 600 ~git/.ssh/authorized_keys
chown -R git:git ~git

To set a password/shell to login as git account:
passwd git
chsh git
usermod -U git

To lock the git account
usermod -L git

To fix SSH errors in /var/log/auth.log
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
touch /etc/security/pam_env.conf
touch /etc/security/limits.conf

From http://www.readynas.com/forum/viewtopic.php?f=21&t=57577
ssh-keygen -G /tmp/moduli-2048.candidates -b 2048
ssh-keygen -T /etc/moduli -f /tmp/moduli-2048.candidates


In SparkleShare setup, add a project "On your own server". Put in the hostname or IP, and /c/home/git/MyProject for the path






Jul 7 21:54:01 jupiter sshd[1499]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Jul 7 21:54:04 jupiter sshd[1501]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Jul 7 21:54:07 jupiter sshd[1501]: Accepted publickey for git from 192.168.1.106 port 63148 ssh2
Jul 7 21:54:07 jupiter sshd[1503]: (pam_unix) session opened for user git by (uid=0)
Jul 7 21:54:07 jupiter pam_limits[1503]: can not read settings from /etc/security/limits.conf
Jul 7 21:54:07 jupiter pam_limits[1503]: error parsing the configuration file
Jul 7 21:54:07 jupiter PAM-env[1503]: Unable to open config file: No such file or directory
Jul 7 21:54:07 jupiter PAM-env[1503]: Unable to open config file: No such file or directory
Jul 7 21:54:07 jupiter sshd[1503]: (pam_unix) session closed for user git
Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 903 views
  • 0 kudos
  • 3 in conversation
Announcements