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
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):
chmod -x /etc/init.d/S9M_mionet
or just go to "Network tab/Remore Access" —> Unclick "Enable MioNet on Startup"
chmod -x /etc/init.d/S97twonkyserver
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".
where "192.168.1.2" is my MBWE IP address , change it to yours
-In System tab/Advanced/SSH Access —> click to Enable —> Summit
Note that after SSH is enabled the proper admin log-in screen address is:
-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
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 "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"):
Then type the following:
wget -O prep_whitelight http://wd.mirmana.com/prep_whitelight
Note: It can take for couple of minutes. So be patient.
If everything went all right you receive the following message:
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
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
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:
Tip: More info for editing settings.json: http://trac.transmissionbt.com/wiki/EditConfigFiles
Tip: If you want to start transmission manually:
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.
8) Telnet it again and Download run trans_watchdog as a 1-min cronjob
Thread what trans_watchdog does:
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
Edit you variables in trans_watchdog.config:
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:
Check that all variables are set:
9) Transmission web GUI interface can be accessed by writing the following address in your browser:
Note: 192.168.1.2 is the IP that you have set at point 0) in Network Mode: static.
10) Use transmission-remote-dotnet to remotely manage Transmission in Win OS.
Settings to connect to Transmission:
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.
12) Enjoy a properly set up system with the automated Transmission!
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.
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
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
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
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
wget http://highlevelbits.free.fr/download-MBWEW/FPInstaller/updatessm.pl -O /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.)
Add Smart_Info.sh to FP Manager
Author: David Turner
Description: Display (among other things) the disk temperature
Create Smart_Info.sh file:
Add these lines to it:
echo "<br><b> 'Smart' Information : </b><br><br><small>"
/usr/sbin/smartctl -d ata -A /dev/sda|sed 's/ /\ /g'
Save it (Ctrl + X) and log in the FP Manager Admin GUI and click "Smart Info".
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
1) When I go to https://192.168.1.2:9091/ you receive "403: Forbidden, Unauthorized IP Address."
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):