Difference between revisions of "Netgear ReadyNAS 316"
m (→Debian) |
m (→Transmission) |
||
Line 50: | Line 50: | ||
"rpc-whitelist-enabled": "false", |
"rpc-whitelist-enabled": "false", |
||
"rpc-authentication-required": "true", |
"rpc-authentication-required": "true", |
||
+ | Transgui / Transmission options / Network / Incoming port <> router firewall? |
||
+ | |||
+ | To fix .resume files from another location, here from /shares/.... to /data/....: |
||
+ | <source lang=bash> |
||
+ | #!/bin/bash |
||
+ | FILE="$1" |
||
+ | OLDDESTSIZE=$(cat "$FILE"|cut -f6 -d:|head -n1|sed 's/destination//') |
||
+ | OLDDEST="/shares" |
||
+ | NEWDEST="/data" |
||
+ | NEWDESTSIZE=$(($OLDDESTSIZE-${#OLDDEST}+${#NEWDEST})) |
||
+ | sed -i "s#:destination[0-9]\+:${OLDDEST}#:destination${NEWDESTSIZE}:${NEWDEST}#" "$FILE" |
||
+ | chown guest:guest "$FILE" |
||
+ | </source> |
||
+ | |||
==Android== |
==Android== |
||
* [https://play.google.com/store/apps/details?id=com.md.nasutils NAS Utils for NETGEAR ReadyNAS] |
* [https://play.google.com/store/apps/details?id=com.md.nasutils NAS Utils for NETGEAR ReadyNAS] |
Revision as of 23:54, 10 December 2013
Links
- http://www.netgear.com/business/products/storage/readynas/readynas-desktop.aspx
- http://www.readynas.com/
- X-RAID
- ReadyNAS Developer’s Corner
- ReadyNAS Downloads
General
Initial login: admin/password
If SSH activated, root has same pwd as admin.
Update FW
Debian
System is a Debian Wheezy
apt-get update apt-get install dialog apt-get dist-upgrade apt-get install mc screen binutils sshfs
apt-get install exim4 bsd-mailx
Config: smarthost, no local email / yobi.be / visible domain name: yobi.be / smarthost: smtp.isp.xxx
Complete /etc/email-addresses
backuppc
apt-get install backuppc
Small issue because Apache is not running as the usual www-data but admin user:
chgrp admin /etc/backuppc/* chgrp admin /usr/lib/backuppc/cgi-bin/index.cgi chmod u+s /usr/lib/backuppc/cgi-bin/index.cgi
Set backuppc password:
htpasswd /etc/backuppc/htpasswd backuppc
Move pool to the big partition, preserving hard links
/etc/init.d/backuppc stop cp -a /var/lib/backuppc /home rm -rf /var/lib/backuppc ln -s /home/backuppc /var/lib/backuppc /etc/init.d/backuppc start
Then visit https://readynas/backuppc
Default backup of localhost /etc will fail due to some read access issues, we can ignore them by tuning the corresponding TarClientCmd and appending to it:
--ignore-failed-read
Apps
Transmission
Default is admin/admin apparently
Edit /data/Transmission/config/settings.json
"rpc-enabled": true, "rpc-password": "your_password", # note that it will be encrypted next time automatically "rpc-port": 9091, "rpc-username": "your_name", "rpc-whitelist-enabled": "false", "rpc-authentication-required": "true",
Transgui / Transmission options / Network / Incoming port <> router firewall?
To fix .resume files from another location, here from /shares/.... to /data/....:
#!/bin/bash
FILE="$1"
OLDDESTSIZE=$(cat "$FILE"|cut -f6 -d:|head -n1|sed 's/destination//')
OLDDEST="/shares"
NEWDEST="/data"
NEWDESTSIZE=$(($OLDDESTSIZE-${#OLDDEST}+${#NEWDEST}))
sed -i "s#:destination[0-9]\+:${OLDDEST}#:destination${NEWDESTSIZE}:${NEWDEST}#" "$FILE"
chown guest:guest "$FILE"