How to install transmission?
How to install transmission?
Hi All!
I bought an unknown type of NAS (ZZZ Smart Group NAS310 media server, for more info : http://e-support.dk/?p=184 ). It has a simple, very limited bit torrent client. It can to run max 8 torrent one time. I vould like to change this BT client to Transmission.
The server runs on a Debian(?) linux, but no telnet or ssh.
Could somebody help me to this?
Best regards : -=L=-
I bought an unknown type of NAS (ZZZ Smart Group NAS310 media server, for more info : http://e-support.dk/?p=184 ). It has a simple, very limited bit torrent client. It can to run max 8 torrent one time. I vould like to change this BT client to Transmission.
The server runs on a Debian(?) linux, but no telnet or ssh.
Could somebody help me to this?
Best regards : -=L=-
You do not have the required permissions to view the files attached to this post.
Re: How to install transmission?
I downloaded the firmware from the download link on the page you pointed to, and I could partly sift it. According to the kernel strings the box runs an oxnas SoC.
The linuxrc in initramfs basically does:So it seems the rootfs is located on /dev/sda2. You can take the disk out and have a look. Unfortunately the gzipped file which contains that rootfs is not decompressible for me.
An oxnas is an Arm processor, so you could install ffp, to get ssh access, and to be able to install transmission.
BTW, why do you think the box runs Debian?
The linuxrc in initramfs basically does:
Code: Select all
mount /dev/sda2 /mnt/data
if [ -f /mnt/data/conf/.inital_hd.lock ] ; then
cd /mnt/data
pivot_root . initrd
exec usr/sbin/chroot . bin/sh -c "\
test -x sbin/cunstom && exec sbin/custom
test -x sbin/init && exec sbin/init"
fi
test -x sbin/init && exec sbin/init
An oxnas is an Arm processor, so you could install ffp, to get ssh access, and to be able to install transmission.
BTW, why do you think the box runs Debian?
Re: How to install transmission?
Hi!
I took out the hdd, and find three primary disks : sda1 /Swap 133.32 MiB, sda2 (xfs, system, 133.35 MiB), sda3 (xfs, data, the rest of the disk).
I renamed the firmware binary bin to gz and I opened it with ark. I found two section inside:
mini_firmware.bin 4.0 MiB owner/group Benjamin 2011-06-23
nas_firmware.bin 10.1 MiB owner/group Benjamin 2011-06-23
The installed file system on sda2 same as a typical linux file system. I think, so it uses Debian, because the Debian 2.4.xxx kernel is ported to ARM processors.
I saw the directory sda2/conf a subdirectory /transmission_daemon.
When I opened it, I found a settings.json :
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "/mnt/data/public/BTDownload",
"encryption": 1,
"incomplete-dir": "//Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"umask": 18,
"upload-slots-per-torrent": 14
Is possible to change the limitation (8 torrent one time) in settings.json? I think, this is the simple way to modify the system.
Best regards : -=L=-
I took out the hdd, and find three primary disks : sda1 /Swap 133.32 MiB, sda2 (xfs, system, 133.35 MiB), sda3 (xfs, data, the rest of the disk).
I renamed the firmware binary bin to gz and I opened it with ark. I found two section inside:
mini_firmware.bin 4.0 MiB owner/group Benjamin 2011-06-23
nas_firmware.bin 10.1 MiB owner/group Benjamin 2011-06-23
The installed file system on sda2 same as a typical linux file system. I think, so it uses Debian, because the Debian 2.4.xxx kernel is ported to ARM processors.
I saw the directory sda2/conf a subdirectory /transmission_daemon.
When I opened it, I found a settings.json :
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "/mnt/data/public/BTDownload",
"encryption": 1,
"incomplete-dir": "//Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"umask": 18,
"upload-slots-per-torrent": 14
Is possible to change the limitation (8 torrent one time) in settings.json? I think, this is the simple way to modify the system.
Best regards : -=L=-
Re: How to install transmission?
Is that is the reason you think it's Debian?The installed file system on sda2 same as a typical linux file system. I think, so it uses Debian, because the Debian 2.4.xxx kernel is ported to ARM processors.
Indeed Debian has ARM support, but *lots* of Linux distro's have. Ubuntu, Arch, OpenWRT, Gentoo, Yocto, ...
The Linux kernel has ARM support and gcc has ARM support, which makes it relatively easy to compile any distro for ARM.
In most cases a Debian derivative can be recognized by a file /etc/debian_version.
Read the transmission documentation.Is possible to change the limitation (8 torrent one time) in settings.json? I think, this is the simple way to modify the system.
Re: How to install transmission?
Hi!
Sorry, I did not have time to engage with the problem. Yes, it is not Debian ( one for you ). I modified RPC_WHITELIST, and after that, I can to connect to the torrent cilent with Transmission Remote GUI 5.0.1 ( thanks for Yury Sidorov ). The NAS310 uses an old version of Transmission ( 1.92 ). With this GUI, I can to run more then 8 torrents ( now about 22 run ).
I'm face of the new problem. When I switch off the NAS with power switch, after restart, it owerwrites the rpc_whitelist. I send you a link, with the NAS's files. I can not to modify nothing inside the packed files, but I think, there is the solution.
Best regards : -=L=-
Sorry, I did not have time to engage with the problem. Yes, it is not Debian ( one for you ). I modified RPC_WHITELIST, and after that, I can to connect to the torrent cilent with Transmission Remote GUI 5.0.1 ( thanks for Yury Sidorov ). The NAS310 uses an old version of Transmission ( 1.92 ). With this GUI, I can to run more then 8 torrents ( now about 22 run ).
I'm face of the new problem. When I switch off the NAS with power switch, after restart, it owerwrites the rpc_whitelist. I send you a link, with the NAS's files. I can not to modify nothing inside the packed files, but I think, there is the solution.
Best regards : -=L=-
Last edited by leslie21 on Mon Oct 05, 2015 5:53 am, edited 1 time in total.
Re: How to install transmission?
There is some very nasty code in /etc/init.d/rc.sysinit, around line 170:This deletes the transmission settings. I guess they are auto-recreated then.
Code: Select all
if [ -f /conf/transmission-daemon/settings.json ] ; then
rm -f /conf/transmission-daemon/settings.json
fi
Re: How to install transmission?
Hi!
Many thanks for your help!
I'll try to comment this lines ( or delete ) and back soon with result.
Best regards : -=L=-
Many thanks for your help!
I'll try to comment this lines ( or delete ) and back soon with result.
Best regards : -=L=-
Re: How to install transmission?
Hi!
I commented that lines inside the compressed file as a superuser. Since everything works fine.
Many thanks again and have a nice day!
Best regards : -=L=-
I commented that lines inside the compressed file as a superuser. Since everything works fine.
Many thanks again and have a nice day!
Best regards : -=L=-
Re: How to install transmission?
Hi Do you have software and manual for this NAS? I would like to have it. e-support.dk is not working anymore.
best regards.
Christian
best regards.
Christian
Re: How to install transmission?
Thanks Leslie. It was ust what i needed 
Regards./Christian

Regards./Christian
Re: How to install transmission?
Did someone test performance of this NAS, samba share transfer speed...