General NAS-Central Forums

Welcome to the NAS community
It is currently Fri Jun 23, 2017 3:40 pm

All times are UTC




Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Mon Mar 04, 2013 10:27 pm 
Offline

Joined: Mon Mar 04, 2013 9:43 pm
Posts: 7
To install Tranmission on the Iomega EZ Media & Backup Center (from now on EZ)

Not Responsible if something goes wrong!

Set up shh:
1. Go to http://<IP ADDRESS OF NAS>/diagnostics.html
2. Tick checkbox to enable SSH.
3. Upon restart, login with username 'root' and password 'soho<admin password>' (All one word. Example:'sohoabc123'. If no admin account is set- just 'soho')

Link to ipkg repo:

Whats in quotes you type at the terminal prompt after the #

"
Code:
nano /etc/ipkg.conf
"

add the following lines to the editor:

Code:
src cross http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable
src native http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable


exit the editor: (CTRL-O and Enter) to save , then (CTRL-X) to return to the command line

update and install programs with ipkg

"
Code:
ipkg update
"

"
Code:
ipkg install python26 py26-cheetah py26-openssl par2cmdline unrar unzip git gcc transmission
" (there are more programs here but they are usefull for later on if we want to install other programs)

set-up directories for transmission program configuration:

"
Code:
mkdir /mnt/pools/A/A0/Media
"
"
Code:
mkdir /mnt/pools/A/A0/Media/Downloads
"
"
Code:
mkdir /mnt/pools/A/A0/Media/Downloads/watch
"
"
Code:
mkdir /mnt/pools/A/A0/Media/Downloads/complete
"
"
Code:
mkdir /mnt/pools/A/A0/Media/Downloads/incomplete
"
"
Code:
mkdir /mnt/pools/A/A0/Media/Downloads/_config
"

set up access: "
Code:
cd /mnt/pools/A/A0/
"
"
Code:
chown -R nobody:users Downloads
"
"
Code:
chmod -R 777 Downloads
"

Start Transmission:
"
Code:
/opt/bin/transmission-daemon --config-dir /mnt/pools/A/A0/Media/Downloads/_config --port 9092 --allowed *.*.*.*
"

transmission starts and you can the browser plugin to view it from a diffrent computer: http://192.168.0.10:9092/transmission/web/ (replace the 192.168.0.10 with your own ip address of the EZ)

after you see it its working go back to the ssh promt

time to close transmission
"
Code:
ps -aux | more
"
find the pid of the transmission program running
kill the process:
"
Code:
kill (#pid)
" (the parentheses are replaced with a number form the ps -aux)

time to edit the config file for transmission:
"
Code:
nano /mnt/pools/A/A0/Media/Downloads/_config/settings.json
"

My sample file:

Code:
{
    "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,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/mnt/pools/A/A0/Media/Downloads/complete",
    "download-queue-enabled": true,
    "download-queue-size": 2,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/mnt/pools/A/A0/Media/Downloads/incomplete",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "peer-limit-global": 120,
    "peer-limit-per-torrent": 40,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "Your.pass",
    "rpc-port": 9092,
    "rpc-url": "/transmission/",
    "rpc-username": "",
    "rpc-whitelist": "*.*.*.*",
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true,
    "watch-dir": "/mnt/pools/A/A0/Media/Downloads/watch",
    "watch-dir-enabled": true
}


Help on understanding the file : https://trac.transmissionbt.com/wiki/EditConfigFiles

exit the editor: (CTRL-O and Enter) to save , then (CTRL-X) to return to the command line

to restart the transmission daemon type:
Code:
/opt/bin/transmission-daemon --config-dir /mnt/pools/A/A0/Media/Downloads/_config


I will figure out later how to start transmission when the drive boots but until then use the above command.

I Got download speed up to 6.4 MB/s max speed and 4.9 MB/s avg. i have a 100 MB/s line and the max speed i have downloaded was at 10.3-10.7 MB/s and avg. 8.8 -9.7 MB/s using my desktop PC. This was run without other things running on the EZ, no file copying or media browsing/playing.
I would like to know what kind of speed do you guys get.


-------------------------------------------------------------------------
Update 1:

If for some reason transmission doesn't want to download and says "can not connect to tracker" make sure you have turned on the torrent download option in your nas setting on the Iomega EZ.

-------------------------------------------------------------------------


Last edited by spl51285 on Sat Mar 09, 2013 9:06 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Mar 08, 2013 2:32 am 
Offline

Joined: Fri Mar 08, 2013 1:58 am
Posts: 8
Thank you very much.

It worked great.

will test the downloads speed and comment later...


Top
 Profile  
 
PostPosted: Sat Mar 09, 2013 9:10 am 
Offline

Joined: Mon Mar 04, 2013 9:43 pm
Posts: 7
elmo22 wrote:
Thank you very much.

It worked great.

will test the downloads speed and comment later...



Thanks for trying it out... I would like to see more people involved in this project.
Maybe we can in the future delete the Iomega software and put on there an open OS.

On the speed i got up to 7.4 Mb/s the other day on downloading!


Top
 Profile  
 
PostPosted: Tue Mar 12, 2013 12:27 pm 
Offline

Joined: Tue Mar 12, 2013 12:24 pm
Posts: 1
I'm a newbie to this, can someone help me

getting this error


ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optwa ... e/Packages
Downloading http://ipkg.nslu2-linux.org/feeds/optwa ... e/Packages
An error ocurred, return value: 2.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-GzDlb2 http://ipkg.nslu2-linux.org/feeds/optwa ... /Packages'
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-GzDlb2 http://ipkg.nslu2-linux.org/feeds/optwa ... /Packages'


Top
 Profile  
 
PostPosted: Tue Mar 12, 2013 8:42 pm 
Offline

Joined: Fri Mar 08, 2013 1:58 am
Posts: 8
I also got the same error when i was testing the procedure...
the problem was a syntax error in the url in ipkg.conf :

spl51285 wrote:

Link to ipkg repo:

Whats in quotes you type at the terminal prompt after the #

"
Code:
nano /etc/ipkg.conf
"

add the following lines to the editor:

Code:
src cross http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable
src native http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable


exit the editor: (CTRL-O and Enter) to save , then (CTRL-X) to return to the command line

update and install programs with ipkg


i had typed: cs08qlarmel
but has to be: cs08q1armel ...

solved the problem by copying the url and then paste in the nano editor...

hope it helps....


Top
 Profile  
 
PostPosted: Wed Mar 20, 2013 4:47 pm 
Offline

Joined: Mon Mar 04, 2013 9:43 pm
Posts: 7
JeroenS wrote:
I'm a newbie to this, can someone help me

getting this error


ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optwa ... e/Packages
Downloading http://ipkg.nslu2-linux.org/feeds/optwa ... e/Packages
An error ocurred, return value: 2.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-GzDlb2 http://ipkg.nslu2-linux.org/feeds/optwa ... /Packages'
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-GzDlb2 http://ipkg.nslu2-linux.org/feeds/optwa ... /Packages'


its just an error in the URL

The original url: http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/Packages
Yours: http://ipkg.nslu2-linux.org/feeds/optware/cs08q1arme1/cross/stable/Packages

good luck


Top
 Profile  
 
PostPosted: Sun Apr 07, 2013 8:12 pm 
Offline

Joined: Sun Apr 07, 2013 8:07 pm
Posts: 1
Thanks for the detailed information, installed and work in minutes !

download speed is not that fast for me, got a poor DSL line with Bell Canada, can't go over 2.5


Top
 Profile  
 
PostPosted: Sun Apr 14, 2013 10:58 am 
Offline

Joined: Sun Apr 14, 2013 4:34 am
Posts: 4
Works greatly!
Thanks.


Top
 Profile  
 
PostPosted: Fri Apr 19, 2013 1:14 pm 
Offline

Joined: Thu Apr 18, 2013 2:32 pm
Posts: 8
Location: Miami, Fl
After upgrading the firmware to 4.0.2.9960, the Root password, to enable SSH, soho[admin password] doesn't work anymore.

Does anybody know the new root password for firmaware 4.0.2.9960?


Top
 Profile  
 
PostPosted: Thu May 02, 2013 7:04 pm 
Offline

Joined: Thu May 02, 2013 6:55 pm
Posts: 1
Thank you very much for this job.. It works perfect.

In order to enable ssh in version 4.0.2.9960 you should enter the new link : https://LenovoIPAddress/manage/diagnostics.html
There you could enable support mode via ssh, I couldnt use the port 22 so changed to 23.
Then you will be able to login as root with the same password than older version, I mean soho+admin_password


Top
 Profile  
 
PostPosted: Tue May 14, 2013 4:01 am 
Offline

Joined: Tue May 14, 2013 3:51 am
Posts: 1
hello. my version is 4.0.2.9960. When i try to install bzip2, i found that:


//opt/ipkg/info/bzip2.postinst: line 2: /opt/bin/update-alternatives:

Can you tell me how to do it? Make a link ?


Top
 Profile  
 
PostPosted: Sun May 19, 2013 2:53 am 
Offline

Joined: Sun May 19, 2013 2:52 am
Posts: 4
This works great! So much better than the terrible built-in bittorrent application on the EZ Media.

Have you figured out how to make it start on boot? I don't want to have to remember to SSH in every time I restart :).

Thanks for the awesome work.


Top
 Profile  
 
PostPosted: Sun May 19, 2013 7:05 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6000
The file /etc/rc.local is called on boot, writable and persistent. So you can use it to start your own stuff. Unfortunately the data partition is not yet mounted when it's called, so it will have to wait until the partition is mounted, and yet it has to finish to continue the boot process.
Code:
#!/bin/sh

Polling()
{
    while [ true ] ; do
        if [ -x /path/to/transmission ] ; then
            /path/to/transmission  args
            exit 0
        fi
        sleep 10
    done
}

Polling &

exit 0
You can exchange rc.local by this script. It starts 'Polling' in background, and exits.
Polling waits until transmission is available, and starts it. Mission completed.


Top
 Profile  
 
PostPosted: Sat May 25, 2013 1:21 am 
Offline

Joined: Sat May 25, 2013 1:19 am
Posts: 1
Hi.
I'm a newbie and encounted a problem.

I've installed transmission.
But when I connect via Web, I just can see belows.


409: Conflict

Your request had an invalid session-id header.

To fix this, follow these steps:

When reading a response, get its X-Transmission-Session-Id header and remember it
Add the updated header to your outgoing requests
When you get this 409 error message, resend your request with the updated header
This requirement has been added to help prevent CSRF attacks.


What should I do?

Thanks.


Top
 Profile  
 
PostPosted: Mon Jun 17, 2013 9:27 am 
Offline

Joined: Mon Jun 17, 2013 9:22 am
Posts: 4
Its possible compile for iOmega Ez M&B older version Transmission 2.33 or 2.22 ? My torrent site not allow 2.77 :/ Or maybe compile 2.77 who will be visible for torrent site as 2.33 or 2.22 (little cheat :> )

thanx for great tutorial and reply for my request :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group