[HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Forum » Forum / Torrent programs » [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Started by: anpe008anpe008
On: 1245964182|%e %b %Y, %H:%M %Z|agohover
Number of posts: 42
rss icon RSS: New posts
Summary:
This guide is for you if you: - have a brand new Western Digital (WD) My Book World Edition (White light), - want to have it configured in order to run smoothly and - want to have Transmission (P2P Torrent client) up and running, spending the minimum effort/time to download torrents.
[HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1245964182|%e %b %Y, %H:%M %Z|agohover

Foreword:
This guide is was my original source: http://mybookworld.wikidot.com/transmission
After a couple of months when I have read this at the first time, I decided to make mine as well based on my experience that I have gained during in these weeks. This guide gives the same as the original one just a bit simpler for newbies and goes further by adding and configuring all the necessary programs for both MBWE and Transmission. This guide is the result of my research, the collection of questions and resolved cases in the forum. I want to specially thank to frater to help me from scratch and gave all the useful pieces of advices.

Current Version: 1.5

New in 1.5:
*added info: disabling /etc/init.d/S9mDNSResponder effectively disabled AFP on OSX

New in 1.4:

  • gkrellmd added as tip to monitor your NAS activity (CPU, Port, HDD etc.)

New in 1.3:

  • Smart_Info.sh info added to FP Manager section (thanks David Turner)

New in 1.2:

  • Pictures added
  • Minor link corrections

New in 1.1:

  • FeaturePacks Manager with System_Configuration 1.2 works with that guide with some changes: see point 13.
  • Minor link corrections

Known Issues:

  • None

Let us start it!
-1. Some cleanup if you do not want to run the following programs during each startup (better then just "commenting out" the start up scripts). The following commands take away the execution right from the programs so they can not be run during startup. (Type them in the telnet prompt after a successful log-in. See more: Point 2):

  • Mionet:

chmod -x /etc/init.d/S9M_mionet

or just go to "Network tab/Remore Access" —> Unclick "Enable MioNet on Startup"

  • Twonkymediaserver:

chmod -x /etc/init.d/S97twonkyserver

  • mDNSResponder:

chmod -x /etc/init.d/S9mDNSResponder

Note: disabling /etc/init.d/S9mDNSResponder effectively disabled AFP on OSX

After running them, restart (System tab/Shutdown/Reboot/Reboot in the WEB Admin GUI) you MBWE and type in telnet to check that the above-mentioned programs are not running:

ps -efu root

0. Presettings in MBWE white WEBGUI:
Log-in as admin in the web interface by using the "Network Storage Manager" Tool and go to "Advanced mode".

http://192.168.1.2/?lang=en

where "192.168.1.2" is my MBWE IP address , change it to yours

3664367957_8899251a74.jpg?v=0

-In System tab/Advanced/SSH Access —> click to Enable —> Summit

3665153380_e790031039.jpg?v=0

Note that after SSH is enabled the proper admin log-in screen address is:

https://192.168.1.2/admin/system_index.php?lang=en

-In Network tab/LAN/:

Network Mode: static
IP Address: IP that you want to have permanently for using MBWE (this IP used all the time by the router for assigning the white MBWE)
Netmask: Same as in your router settings
Default getaway: Your routers IP
DNS Servers: Same as in your router settings

—-> If it is done click on Summit

3665153374_a08ae9700b.jpg?v=0

1) Update firmware
1A) If you have older firmware: Update firmware in System tab/Update —> click "Check For New Firmware" —> It will download the firmware first and then it ask to run and apply it.

3664379101_056f7bfef0.jpg?v=0

1B) If your firmware is up-to-date:

First you need to alter /etc/version (change the "01.00.16" into a "01.00.14")
Afterwards you can do the firmware upgrade. (Point 1A)

2) Get prep_whitelight script and run it: Downloads all the necessary programs and configures them automatically.
Guide to Telnet in the NAS (Go for the "Mybook White Light First Steps" section (follow that tutorial until the part where it starts the "FeaturePacks Manager"):
http://highlevelbits.free.fr/index.php?option=com_content&view=category&layout=blog&id=42&Itemid=68&lang=en

Thread what it does exactly:
http://mybookworld.wikidot.com/forum/t-161883/migrating-from-bluering-to-whitelight
http://mybookworld.wikidot.com/forum/t-143349/updated-trans-watchdog#post-505019

Then type the following:

cd ~
wget -O prep_whitelight http://wd.mirmana.com/prep_whitelight
sh prep_whitelight

Note: It can take for couple of minutes. So be patient.
If everything went all right you receive the following message:

Script finished!!
You can now fully use optware if you login again…
I advice a reboot!

3) Before we reboot, we do the followings: add Transmission autorun and autostop scripts
Thread: http://mybookworld.wikidot.com/forum/t-143349/updated-trans-watchdog

cd /opt/etc/init.d
wget -O S90transmission http://wd.mirmana.com/S90transmission
chmod +x S90transmission
ln -s S90transmission K10transmission

4) Now, we can install transmissions (1.72) and nano (text editor for opening/editing files in telnet, we need it later)

/opt/bin/ipkg install nano
/opt/bin/ipkg install transmission

5) Let us download the transmission settings file that contains the necessary settings for the proper run:
Kill transmission-daemon before downloading settings.json

cd /opt/etc/init.d
./K10transmission

Now we can get the file:

wget -O /root/.config/transmission-daemon/settings.json http://wd.mirmana.com/settings.json

Although you do not have to change anything in it, if you want to edit it for some reason use:

nano $HOME/.config/transmission-daemon/settings.json

Tip: More info for editing settings.json: http://trac.transmissionbt.com/wiki/EditConfigFiles

Tip: If you want to start transmission manually:

cd /opt/etc/init.d
./S90transmission

6) Download Sendmail: a perl-script to send mail to your email addrees if a torrent is downloaded.

wget -O /usr/local/sbin/sendEmail http://wd.mirmana.com/sendEmail
chmod +x /usr/local/sbin/sendEmail

Note: You do not have to change it.

If you want to email your downloaded torrent files info to a outgoing SMTP server where TLS/SSL is used (e.g. gmail accounts) then you have to get Net::SSLeay and IO::Socket::SSL perl modules as well:

/opt/bin/ipkg install perl-io-socket-ssl
/opt/bin/ipkg install perl-net-ssleay

7) Reboot in System tab/Shutdown/Reboot/Reboot
It take a while (3-4 mins) and then you will be guided to the log - in screen again.

3664375865_ddc6bdaecf.jpg?v=0

8) Telnet it again and Download run trans_watchdog as a 1-min cronjob
Thread what trans_watchdog does:
http://mybookworld.wikidot.com/forum/t-165520/trans-watchdog

wget -O /usr/local/sbin/trans_watchdog http://wd.mirmana.com/trans_watchdog
ln -s /usr/local/sbin/trans_watchdog /etc/cron.min/trans_watchdog
chmod +x /usr/local/sbin/trans_watchdog

Tip: More info for cron: https://help.ubuntu.com/community/CronHowto

Check that the trans_watchdog runs in each minute

cat /var/log/messages

Edit you variables in trans_watchdog.config:

nano /opt/etc/trans_watchdog.conf

There are more settings but the following ones are mandatory changes:

SOURCE=/shares/internal/PUBLIC/Torrent/source -> Where you download/put *.torrent files
WORK=/shares/internal/PUBLIC/Torrent/work -> Torrent files added from SOURCE to that folder, Downloading dir
TARGET=/shares/internal/PUBLIC/Torrent/target -> If the torrents are downloaded they will be moved that "TARGET" folder
MAIL_TO=moc.psiruoy|liamruoy#moc.psiruoy|liamruoy -> email address
MAILFROM=-moc.psiruoy|liamruoy#-moc.psiruoy|liamruoy> email address
MAILSERVER=smtp.yourisp.com-> ISP mail server name
SMB_USER=www-data to "SMB_USER=root" (this is correct for whitelight but not for bluering!)

Save and run it:

cd /usr/local/sbin/
./trans_watchdog

Check that all variables are set:

cat /opt/etc/trans_watchdog.conf

9) Transmission web GUI interface can be accessed by writing the following address in your browser:

http://192.168.1.2:9091/transmission/web/

Note: 192.168.1.2 is the IP that you have set at point 0) in Network Mode: static.

3664392691_78da32d098.jpg?v=0

10) Use transmission-remote-dotnet to remotely manage Transmission in Win OS.

http://code.google.com/p/transmission-remote-dotnet

3664398207_622025d7d8.jpg?v=0

Settings to connect to Transmission:

3665153372_f6b1350d87.jpg?v=0

11) If you have FFox and it is woth to install "Automatic Save Folder" plugin and add a rule to download automatically all *.torrent files to the "SOURCE" dir.

https://addons.mozilla.org/en-US/firefox/addon/4781

3665227436_58a2cb7b0f.jpg?v=0

12) Enjoy a properly set up system with the automated Transmission!
Test trans_watchdog:
Put some *.torrent files and wait! :)

(13) Optional): Install " Mybook White Light FeaturePacks Manager" (FPM) WEB GUI:
A very useful WEBGUI for newbies that gives a user-friendly interface for single-click installations (Transmission, No-IP, System_Configuration, NZBGET, WebServer and AccessBook etc) and simple configurations of the Mybook White Light additional features (installed ipkg programs, current running processes, my book info etc). These features can be made in the telnet command prompt but for those that are not familiar with Linux and does not use telnet it can be very useful.

*Thread: http://mybookworld.wikidot.com/forum/t-149988/featurepacks-manager-for-the-whitelight-available
*Webpage: http://highlevelbits.free.fr/index.php?option=com_content&view=article&id=75&Itemid=67&lang=en

After finishing the 12nd point I installed FPM and updated the System_Configuration to v1.2 ans it seems to works although I have run only the following command from his scripts (optware and perl are already installed in point 2, what was missing is the sort and "Installing FeaturePack Manager …" downloading sections):

wget http://highlevelbits.free.fr/download-MBWEW/FPInstaller/sort -O /usr/bin/sort
chmod +x /usr/bin/sort

mkdir /proto/SxM_webui/fpkmgr
mkdir /proto/SxM_webui/fpkmgr/fpks
mkdir /proto/SxM_webui/fpkmgr/temp

wget -q http://highlevelbits.free.fr/download-MBWEW/FPInstaller/fpkmgr/index -O /proto/SxM_webui/fpkmgr/index.php
chmod +x /proto/SxM_webui/fpkmgr/index.php

cd /proto/SxM_webui/fpkmgr
wget -q http://highlevelbits.free.fr/download-MBWEW/FPInstaller/fpkmgr/HTML.tar -O /proto/SxM_webui/fpkmgr/HTML.tar
tar -xf /proto/SxM_webui/fpkmgr/HTML.tar
rm "/proto/SxM_webui/fpkmgr/HTML.tar"

cd /proto/SxM_webui/fpkmgr/fpks
wget -q http://highlevelbits.free.fr/download-MBWEW/FPInstaller/fpkmgr/System_Configuration.tar -O /proto/SxM_webui/fpkmgr/fpks/System_Configuration.tar
tar -xf /proto/SxM_webui/fpkmgr/fpks/System_Configuration.tar
rm "/proto/SxM_webui/fpkmgr/fpks/System_Configuration.tar"

wget http://highlevelbits.free.fr/download-MBWEW/FPInstaller/updatessm.pl -O /root/updatessm.pl
/opt/bin/perl /root/updatessm.pl
rm "/root/updatessm.pl"

Then you log-in the WEBGUI by selecting "FeaturePacks Manager" from the Tool section, using your admin username and password. See more in above links.
(Note that although it says the Transmission is not installed, it is, so you do not have to install it.)

3665153368_01234e35fb.jpg?v=0
3664367961_831cf1c7ae.jpg?v=0
3664411463_998dd00ebf.jpg?v=0

Add Smart_Info.sh to FP Manager
Author: David Turner
Description: Display (among other things) the disk temperature
Post: http://mybookworld.wikidot.com/forum/t-149988#post-530794

Create Smart_Info.sh file:

nano /proto/SxM_webui/fpkmgr/fpks/System_Configuration/Smart_Info.sh

Add these lines to it:

echo "<br><b> 'Smart' Information : </b><br><br><small>"
/usr/sbin/smartctl -d ata -A /dev/sda|sed 's/ /\&nbsp;/g'
echo "</small>"

Save it (Ctrl + X) and log in the FP Manager Admin GUI and click "Smart Info".

3713590582_eba1075452.jpg?v=0

14) Optional: Add gkrellmd as tip to monitor your NAS activity (CPU, Port, HDD etc.)
Install gkrellmd from optware feed:

/opt/bin/ipkg install gkrellmd

Use its windows front-end from here: http://www.srcbox.net/projects/gkrellm/
On windows: install the client, go to the installation dir, and run

gkrellm.exe —server mybookworld

You should see gkrellm2 appear showing the streamed statistics from your MyBook world :-P

mybookworld-gkrellmd.png

Extra Info:
Original guide: http://mybookworld.wikidot.com/gkrellmd
Download some skins from: http://www.muhri.net/gkrellm/


FAQ:
1) When I go to https://192.168.1.2:9091/ you receive "403: Forbidden, Unauthorized IP Address."
Edit settings.json:

nano $HOME/.config/transmission-daemon/settings.json

Change to:

"rpc-access-control-list": "+127.0.0.1,+192.168.*.*",

You should not experience this error becasue the settings.json file contains this when you download it

2) Transmission crashes in each 5 mins (I have this problem):
Edit settings.json:

nano $HOME/.config/transmission-daemon/settings.json

Change:

"rpc-authentication-required": true,

to

"rpc-authentication-required": false,

last edited on 1251877356|%e %b %Y, %H:%M %Z|agohover by anpe008 + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
jennyXTjennyXT 1245976689|%e %b %Y, %H:%M %Z|agohover

Thank you very much for this :)

If only there was a thread like this earlier, I would have saved so much time.

But now I have another problem. Sometimes Transmission just stops, happened 3 times today. Whilst on my PC I start Transmission Remote but it fails to connect. I then open Feature Pack and see that Transmission has stopped. I then restart transmission and it starts to recheck every single torrent.

The thing is I have a lot of torrents and having the mbwe keep rechecking files seem very strenuous for the mbwe.

Any idea why this is happening?

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246000565|%e %b %Y, %H:%M %Z|agohover

You are welcome!

If a thread like this had been earlier, I would have saved so much time as well. ;)

I had the same problem. Try to restrict your number of downloads to 5 and check FAQ Paint to if you have authorisation for Transmission.

And check the error log file as well to get more info:

cat /var/log/messages

last edited on 1246000872|%e %b %Y, %H:%M %Z|agohover by anpe008 + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
jennyXTjennyXT 1246015209|%e %b %Y, %H:%M %Z|agohover

Thanks for all your help again :)

Today when starting Transmission I realised that most of them were only about 10-20% completed. They were 80% plus last night. I then recheck them and the go back to being 80%. I had to do this all day yesterday everytime transmission had to be started.

Please help, so annyoying now.

heres some of that log -


Jun 26 04:40:01 MyBookWorld cron.info /opt/sbin/cron[14936]: (root) CMD (sh /pro to/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 04:43:03 MyBookWorld daemon.info init: Starting pid 15025, console /dev/n ull: '/usr/bin/killall'
Jun 26 04:43:03 MyBookWorld syslog.info System log daemon exiting.
Jun 26 11:17:45 MyBookWorld syslog.info syslogd started: BusyBox v1.1.1
Jun 26 11:17:54 MyBookWorld daemon.info init: Starting pid 3848, console /dev/nu ll: '/bin/touch'
Jun 26 11:17:54 MyBookWorld daemon.info init: Starting pid 3849, console /dev/tt yS0: '/sbin/getty'
Jun 26 11:17:55 MyBookWorld daemon.info wixEvent[3365]: Network Link - NIC 1 lin k is up 100 Mbps full duplex.
Jun 26 11:17:55 MyBookWorld daemon.info wixEvent[3365]: Network IP Address - NIC 1 use static IP address 192.168.1.88
Jun 26 11:17:55 MyBookWorld daemon.info wixEvent[3365]: System Startup - System startup.
Jun 26 11:20:01 MyBookWorld cron.info /opt/sbin/cron[3937]: (root) CMD (sh /prot o/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 11:30:01 MyBookWorld cron.info /opt/sbin/cron[4081]: (root) CMD (sh /prot o/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 11:40:01 MyBookWorld cron.info /opt/sbin/cron[4227]: (root) CMD (sh /prot o/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 11:50:01 MyBookWorld cron.info /opt/sbin/cron[4399]: (root) CMD (sh /prot o/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 12:00:01 MyBookWorld cron.info /opt/sbin/cron[4545]: (root) CMD (sh /prot o/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 12:10:01 MyBookWorld cron.info /opt/sbin/cron[4707]: (root) CMD (sh /prot o/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog\n)
Jun 26 12:14:30 MyBookWorld auth.info sshd[4786]: Accepted password for root fro m 192.168.1.68 port 1281 ssh2


Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246018553|%e %b %Y, %H:%M %Z|agohover

I had this problem as well when I have isntalled "FeaturePacks Manager". For some reason in each 5 mins Transmission just crashed and started to recheck everything.

Restart Tranmission.
Connect with transmission-remote-dotnet.
Measure the time when it pops up an error meassage that it lost the connection.

I had this crashes in each 5 mins. 05/10/15 etc…

My solution was to upgrade my firmware than did the same steps that i have in the above guide. I lost all of my settings and installed programs (and settings) but i made backups before that from my settings and reinstalled eveything easly.

last edited on 1246020682|%e %b %Y, %H:%M %Z|agohover by anpe008 + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
jennyXTjennyXT 1246026831|%e %b %Y, %H:%M %Z|agohover

My mbwe is brand new and I updated firmware before doing anything else.

Okay. if it happens again. I'll start again from scratch

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
polvepolve 1246032275|%e %b %Y, %H:%M %Z|agohover

You say:
1) Update firmware
1A) If you have older firmware: Update firmware in System tab/Update —> click "Check For New Firmware" —> It will download the firmware first and then it ask to run and apply it.
1B) If your firmware is up-to-date:

First you need to alter /etc/version (change the 6 into a 4)
Afterwards you can do the firmware upgrade. (Point 1A)

In this way am I sure that all previous hack was removed and all previous transmission installation was removed too?

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
fraterfrater 1246034729|%e %b %Y, %H:%M %Z|agohover

Yes….

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246034848|%e %b %Y, %H:%M %Z|agohover

1 min earlier… :)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246034814|%e %b %Y, %H:%M %Z|agohover

In this way am I sure that all previous hack was removed and all previous transmission installation was removed too?

Correct. If you install a newer firmware you will keep all your files (e.g. in shares) but you will lose all settings and you will have a virgin MBWE, like a brand new one with default Factory settings.
It can be painful, i know. But with that you can make it sure that everything is set up properly and all progz and their configs are correct.

But to install and config Transmission is matter of sec:
Install:

/opt/bin/ipkg install transmission

and get settings.json:

  • Via Net

wget -O /root/.config/transmission-daemon/settings.json http://wd.mirmana.com/settings.json

  • or copy back your settings (that you have backed-up previously)

cp (what to copy) (where to copy, in that case "/root/.config/transmission-daemon/settings.json")

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
polvepolve 1246035487|%e %b %Y, %H:%M %Z|agohover

Thx a lot. I like to try and If somethig goes wrong roll back to a virgin MBWE.

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246036243|%e %b %Y, %H:%M %Z|agohover

If something goes wrong just change 6 to 4 in: /etc/version and then you can install the firmware with its factory settings…

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
polvepolve 1246037471|%e %b %Y, %H:%M %Z|agohover

anpe008 I love you :)))

another questio: is it possible that download speed in the MBWE is slower than with utorrent on PC? same torrent obviously !

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246038464|%e %b %Y, %H:%M %Z|agohover

This hard to tell (it depends on the actual seeds/leeches etc) but what can make big difference is that how many peer can access to your IP at the same time as well what port you use for incoming peers.

From my settings.json:

"dht-enabled": true,
"max-peers-global": 200,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-enabled": 0,
"port-forwarding-enabled": true,

I download with it with my full bandwidth sometime…

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
alllexxalllexx 1246039827|%e %b %Y, %H:%M %Z|agohover

You'll always have better rates with PC, then some NAS box, as long as you have the bandwidth to see the difference. How can some ARM926EJ processor compete with a Quadro/Duo/Pentium/AMD monster? :)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246044438|%e %b %Y, %H:%M %Z|agohover

Thread updated to V1.1
(13) Optional): Install "Mybook White Light FeaturePacks Manager" (FPM) WEB GUI section added.

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246105531|%e %b %Y, %H:%M %Z|agohover

Thread updated to V1.2:

  • Pictures added
  • Minor link corrections
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
jennyXTjennyXT 1246414562|%e %b %Y, %H:%M %Z|agohover

Can you help me with optimum Transmission settings for speed?

I have a torrent file currently downloading - connected to 6984 (14) seeds and 11854 (15) Peers

The same torrent on my PC downloads at 800 KB/s +. On Transmission I am lucky to get 100KB/s

Can you possibly help me with this?

Here is my settings file -

"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,
"complete-dir": "\/shares\/Public\/Media\/",
"dht-enabled": true,
"download-dir": "\/shares\/Public\/Media\/",
"encryption": 1,
"lazy-bitfield-enabled": true,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51769,
"peer-port-random-enabled": 0,
"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": 2,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 0.8000,
"ratio-limit-enabled": false,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{69d858c1276a4c4d0e7f8ead1160221aa3a33a6dyIU2O5lR",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 60,
"speed-limit-up-enabled": true,
"upload-slots-per-torrent": 14,
"watch-dir": "\/shares\/Public\/Media\/Torrents\/",
"watch-dir-enabled": true

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1246440535|%e %b %Y, %H:%M %Z|agohover

Change

"speed-limit-down": 100,

to

"speed-limit-down": XXXX,

where XXXX the limit what you want to set in KB/sec.

This is valid to

"speed-limit-up": 60,

as well, just for uploading…

If you have trans_watchdog isntalled as well, then you have to change the config file too:

/opt/etc/trans_watchdog.conf

last edited on 1246440786|%e %b %Y, %H:%M %Z|agohover by anpe008 + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1247416297|%e %b %Y, %H:%M %Z|agohover

New in 1.3:

* Smart_Info.sh info added to FP Manager section (thanks David Turner)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1250024863|%e %b %Y, %H:%M %Z|agohover

New in 1.4:

* gkrellmd added as tip to monitor your NAS activity (CPU, Port, HDD etc.)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
dr_windr_win 1251863656|%e %b %Y, %H:%M %Z|agohover

disabling /etc/init.d/S9mDNSResponder effectively disabled AFP on OSX,

if you have some Macs accessing MBWE and want disks to be visible as a separate computer in Finder do not turn this service off

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
anpe008anpe008 1251877185|%e %b %Y, %H:%M %Z|agohover

yes, i did not have OSX that is the reason i put in in the guide…
I updated the guide…

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torre
TroteljTrotelj 1252526314|%e %b %Y, %H:%M %Z|agohover

Hy!

Followed the instructions (I think) and have stumbled upon a problem:
I do not get an email when torrent has finished.

Can any one please help me find out what did I miss?

last edited on 1252530395|%e %b %Y, %H:%M %Z|agohover by Trotelj + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torre
anpe008anpe008 1252570007|%e %b %Y, %H:%M %Z|agohover

Check that all variables are set in trans_watchdog.config:

cat /opt/etc/trans_watchdog.conf

Doublecheck that the following parameters are correct in it:

MAIL_TO=moc.psiruoy|liamruoy#moc.psiruoy|liamruoy -> email address
MAILFROM=-moc.psiruoy|liamruoy#-moc.psiruoy|liamruoy> email address
MAILSERVER=smtp.yourisp.com-> ISP mail server name
SMB_USER=www-data to "SMB_USER=root" (this is correct for whitelight but not for bluering!)

If the problem still exists then try to manually run sendMail and try to send a test email to your account:

Check that the sendMail is there with correct rights.

chmod +x /usr/local/sbin/sendEmail

Go to the folder:

cd /usr/local/sbin/

Run sendEmail manually with help and follow the instructions to create a commandline with parameters and send an email to your account:

sendMail —help

It took me for a while to figure it out but if you have the correct parameters in the /opt/etc/trans_watchdog.conf then you should not need that step.

But it is always good to know how it works, doesn't it? :)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torre
fraterfrater 1252582040|%e %b %Y, %H:%M %Z|agohover

Do use the latest trans_watchdog and make sure you have sendEmail in your PATH!!

For non-worldbooks (and read-only filesystems) I adviced to place the file in /opt/usr/sbin/ which may not be in your PATH. This has been changed recently.

The log on the latest trans_watchdog will tell you if it fails to send an eMail…..

Please post the log (/var/log/messages) if it still fails to send a mail…

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torre
TroteljTrotelj 1252699924|%e %b %Y, %H:%M %Z|agohover

Thank you, frater and anpe008, for your reply.

anpe008

My watchdog configuration file looks like this:

TW_MAILERSERVICE=sendEmail
TW_MAILFROM=myFromMail@gmail.com
TW_MAILSERVER=smtp.gmail.com
TW_MAILTO=myToMail@gmail.com
...
TW_SMB_USER=root

I tryed sending mail manualy like you said:

[root@MyBookWorld sbin]# ls
sendEmail*      trans_watchdog*
[root@MyBookWorld sbin]# sendEmail -help
-bash: sendEmail: command not found

frater

I checked out /var/log/messages

it said:

MyBookWorld user.notice transmission: Sending eMail using sendEmail

It didn't say anything about an error…

It was also filled with (not on topic)

Sep 10 20:11:53 MyBookWorld auth.info sshd[9891]: Failed password for invalid user skid from 218.145.128.230 port 46527 ssh2
Sep 10 20:11:56 MyBookWorld auth.info sshd[9893]: Invalid user spik from 218.145.128.230
Sep 10 20:11:56 MyBookWorld auth.err sshd[9893]: error: Could not get shadow information for NOUSER

like messages… =S

attack?
If it is… what should I do to defend myself?

last edited on 1252739992|%e %b %Y, %H:%M %Z|agohover by Trotelj + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252621938|%e %b %Y, %H:%M %Z|agohover

Hello,

i followed your tutorial to install and customize transmission, but i got some questions.

1) How much resources are taken by the programs installed by "wget -O prep_whitelight http://wd.mirmana.com/prep_whitelight"? It took, as you said, several minutes to finish. Since the NAS is a pretty limited device, i'm worrying about it slowing down even more.

2) during my trial and error process, i deleted the file etc/init.d/post_network_start.sh. Everything still seems to work just fine, but i'm a bit worried. what are the consequences of deleting it, and how can i fix it? (replace it by an original file perhaps?)

3) Less transmission related, but still relevant. is it possible to allow users/groups to read/add files in a folder, but not modify/delete them?

PS: i also followed http://highlevelbits.free.fr/index.php?option=com_content&view=category&layout=blog&id=42&Itemid=68&lang=en, http://kyyhkynen.net/stuff/mybook/torrent_helper.php]this and http://mybookworld.wikidot.com/transmission tutorials with limited successes. they were either not working, me doing womething wrong, or lacking some functionality. i reset the device several times by updating its firmware.

thanks a heap!

Wim

last edited on 1252622012|%e %b %Y, %H:%M %Z|agohover by Moes-T + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
fraterfrater 1252672484|%e %b %Y, %H:%M %Z|agohover

Question 1:
Most stuff that's installed just take up some space on your disk. No slowing down (contrary to what windows users always think). It starts the cron service which is necessary to schedule tasks. This has a minor impact.

If you're worried about resources you should think about disabling mionet (and on the whitelight: twonky and if you don't have an apple the mdnsresponder (Apple File Protocol).

Question 2:

if [ ! -f /etc/init.d/post_network_start.sh ] ; then
wget -O /etc/init.d/post_network_start.sh http://wd.mirmana.co/post_network_start.sh
chmod +x /etc/init.d/post_network_start.sh
fi

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252688260|%e %b %Y, %H:%M %Z|agohover

thanks! you're a gem :)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252865238|%e %b %Y, %H:%M %Z|agohover

unfortunatly, i got another problem.

when i try to run your trans-watchdog, i get the echo posted hereunder.

I saw my complete torrents didn't get moved to my complete-folder, and my .torrent files in my watchdir weren't loaded. so i started to look into it. in the log, i found out that i made a spelling mistake about my completed-folder. When i fixed it, things still didn't work however. so i tried several things. firstly, i removed the link from the cron.min folder, so i can call the script when i want to.

when using /usr/local/sbin/trans-watchdog, or /usr/local/sbin/trans-watchdog -c /opt/etc/trans-watchdog.conf, i get thesame result. i got one completed torrent (seeding), one downloading torrent, and one pauzed torrent that needs verifying active in transmission.

Can you tell me what i'm doing wrong please? Also, I took a look in your script, but i don't see how you pass the config file as parameter to the script (to use the parameters defined therein). Hence i tried to run it with the -c <configfile> switch. however, it still doesn't work :(

I hope you can help me,

greetings,

Wim

[root@DoawnloadHub ~]# /usr/local/sbin/trans_watchdog -c /opt/etc/trans_watchd>
SOURCE: /shares/torrents/dottorrent
WORK: /shares/torrents/incomplete
TARGET: /shares/torrents/completed
USER: root
SCRIPTNAME: /usr/local/sbin/trans_watchdog
SAMBA USER: root
DATA USER: nobody
DATA GROUP: jewab
Schedule for 20:00 is 0
I will try to keep transmission running
Transmission is running
Transmission is NOT responding
Exiting because Transmission doesn't respond properly
Stopping Torrent client: transmission-daemon
Starting Torrent client: transmission-daemon

my .conf file:

TW_AUTO_REMOVE_FROM_LIST=1
TW_AUTO_REMOVE_SEEDLINK=1
TW_AUTO_UNRAR=1
TW_CPULEVEL=5
TW_DATAGROUP=jewab
TW_DATAUSER=nobody
TW_DEBUG=1
TW_FULL_THROTTLE_DOWN=0
TW_FULL_THROTTLE_UP=30
TW_INTERVAL=1
TW_KEEP_RAR=0
TW_KEEP_TRANSMISSION_RUNNING=1
TW_MAILERSERVICE=
TW_MAILFROM=
TW_MAILSERVER=
TW_MAILTO=
TW_MAX_RATIO=1
TW_MAX_SEEDHOURS=1
TW_MAX_SIMULTANEOUS=5
TW_MIN_SEEDHOURS=0
TW_SCHEDULE_THROTTLE_DOWN=2000
TW_SCHEDULE_THROTTLE_UP=20
TW_SCHEDULE_WEEKEND=([0]="0" [1]="0" [2]="1" [3]="1" [4]="1" [5]="1" [6]="1" [7]="1" [8]="0" [9]="0" [10]="0" [11]="0" [12]="0" [13]="0" [14]="0"$
TW_SCHEDULE_WORKDAY=([0]="1" [1]="1" [2]="1" [3]="1" [4]="1" [5]="1" [6]="1" [7]="0" [8]="0" [9]="1" [10]="1" [11]="1" [12]="1" [13]="1" [14]="1"$
TW_SMB_USER=root
TW_SOURCE=/shares/torrents/dottorrent
TW_SUPERSOCIAL=1
TW_TARGET=/shares/torrents/completed
TW_THROTTLE_DONTKILL=1
TW_THROTTLE_DOWN=1
TW_THROTTLE_UP=1
TW_TRANSDAEMON=/opt/bin/transmission-daemon
TW_TRANSOPTS=' -m'
TW_TRANSREMOTE=/opt/bin/transmission-remote
TW_TRANSSTART=/opt/etc/init.d/S90transmission
TW_TRANSSTOP=/opt/etc/init.d/K10transmission
TW_WORK=/shares/torrents/incomplete
TW_WORKDAY=([0]="0" [1]="1" [2]="1" [3]="1" [4]="1" [5]="1" [6]="0")

edit:

hmmmz, gzip error?

[root@DoawnloadHub sbin]# cat /tmp/trans_watchdog.error
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User, gzip
last edited on 1252866975|%e %b %Y, %H:%M %Z|agohover by Moes-T + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
fraterfrater 1252874083|%e %b %Y, %H:%M %Z|agohover

root@DoawnloadHub

;-) you type fast don't you?

That file is filled with the output of 'transmission-remote -l'
What happens if you type that command on your prompt?
What's the output of 'echo $SHELL' ?

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252941560|%e %b %Y, %H:%M %Z|agohover

hehe, thanks for pointing out the typo :)

my results:

[root@DownloadHub ~]# transmission-remote -l
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User, gzip

[root@DownloadHub ~]# echo $SHELL
/bin/bash

does it possiby have anything to do with rpc-authentication being enabled? (and consequently, using a login and pwd)

edit: apparently it has, cause using transmission-remote -l -n login:pwd results in

ID     Done       Have  ETA           Up    Down  Ratio  Status       Name
   1    31%     3.4 GB  Unknown      0.0     0.0   0.64               Knowing.1080p.BluRay.x264-ETHOS
   2    24%     3.3 GB  Unknown      0.0     0.0   0.54               Oceans.TRiLOGY.720p.HDDVD.x264-HDBiTs
   3   100%     6.6 GB  Done         3.8     0.0   0.01               Pan's.Labyrinth.2006.720p.HDDVD.DTS.x264-ESiR

question raises now, how/where should i edit your script in order to incorporate the login credentials? since my MB would be permanently on, connected to the internet and allow remote queueing of torrents and nzb files. so i really need the authentication :(

last edited on 1252942284|%e %b %Y, %H:%M %Z|agohover by Moes-T + show more
Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
fraterfrater 1252944766|%e %b %Y, %H:%M %Z|agohover

There's no real point into telling you where to edit it… I can better edit it myself…
But are you sure the authentication for the daemon can't be set seperate from the webif?

I guess you only need authentication for the webif….

I will look into it this week…

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252946148|%e %b %Y, %H:%M %Z|agohover

ok, thanks!

ofcourse, auth for only the webif would do just great as well! i'll look into that now. If that's possible, i guess all the problems are solved. The script will run, and we'll need to auth before accessing the webif =)

thanks in advance!

Wim-

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252948302|%e %b %Y, %H:%M %Z|agohover

rather than spend my time looking for a solution mentionned above, i editted your script. the only thing i did was search for TW_TRANSREMOTE with nano, and then add <-n ${TW_LOGIN}:${TW_PWD}> after it. ofcourse, i definde these 2 variables in my heading.

Everything seems to be working, however, as i'm not the auther of the script, i'm not 100% sure wether the things i did are koosjer. can you confirm/deny this?

also, if wanted, i can upload the "editted" script. (if it works when uploading through windows XP, as i have no linux machine running yet, apart from the MB. (but after this experience with linux, i'm definatly going to change that!)

greetz,

Wim

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
fraterfrater 1252949033|%e %b %Y, %H:%M %Z|agohover

You can just edit /opt/etc/trans_watchdog.conf

TW_TRANSREMOTE="/opt/bin/transmission-remote -nlogin:pass"

The script needs no change…

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
fraterfrater 1252949351|%e %b %Y, %H:%M %Z|agohover

You only need to edit /opt/etc/trans_watchdog

TW_TRANSREMOTE="/opt/bin/transmission-remote -nlogin:password"

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
Moes-TMoes-T 1252949766|%e %b %Y, %H:%M %Z|agohover

haha, yea, ofcourse :)

anyhow, once again, thanks alot! :)

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
promitheuspromitheus 1257609978|%e %b %Y, %H:%M %Z|agohover

Thnx a lot

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
iceeticeet 1258003684|%e %b %Y, %H:%M %Z|agohover

I am getting an error when attempting to download
"No such directory or file"

Several other peopel are complaining about this as well. Any way to fix it?

Re: [HOW TO] Set up WD MBWE (White light) properly + Transmission(1.72) + automate and manage torrents
iceeticeet 1258012580|%e %b %Y, %H:%M %Z|agohover

never mind fixed my own problem

my downloads folder is actually shares/Public/Torrent/work and NOT shares/internal/Public/Torrent/work

Thanks for the excellent guide

New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License