Breathing new life into MBL (new disk/sleep monitoring/miniDLNA/openvpn)

miniDLNA configuration

Unlike Twonky, there is no GUI for the configuration and the configuration need to be done via editing the configuration file:

Copy the configuration file to the desired directory:

cp minidlna.conf /etc/

Use FileZilla to edit the configuration file /etc/minidlna.conf (or vi editor would also do):

I kept the video directory only:

media_dir=V,/nfs/Public/Shared Videos

Name of DLNA server appears on screen:

friendly_name=My DLNA Server

Set the log directory (more to talk on this under sleep monitoring):

log_dir=/var/log

Log level changed to fatal:

log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=fatal

We can start the DLNA server now by the command:

/usr/local/sbin/minidlnad -R

Important: if everything work, add minidlna into the startup script so that the service can be started automatically during reboot:

update-rc.d minidlna defaults

Useful commands for MiniDLNA:

There are some useful commands to further tune the minidlna services. Once the system is running smoothly, there are rarely used, however.

Stop minidlna:

/etc/init.d/minidlna stop

Restart minidlna:

/etc/init.d/minidlna restart

Force rebuild of the media database:

/usr/local/sbin/minidlnad -R -f /etc/minidlna.conf

Verify if the minidlna service is running:

netstat -nlp | grep minidlnad

First Time Scanning

Just if there are media files on the Video Directory Tree but not appear on the DLNA client, there is a high chance that miniDLNA cannot scan the media directory tree successfully.

Look at the minidlna log in /var/log/minidlna.log.

Check for the last media file in the catalogue. There should be errors associated with it. (Please change the log level in the configuration file /etc/minidlna.conf fromfatal to warn if more details are required.

log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

I found that mkv files with size over 4G would be the culprit. Move the files out of the video directory tree used in minidlna and do another rebuild of the database:

/usr/local/sbin/minidlnad -R -f /etc/minidlna.conf

rmvb support

Quite a number of DLNA servers did not support real media files but with a little source code modifications, .rm and .rmvb files would be watch from the smart TV.

We need to start from step 2 of minidlna installation:

2.1. Download v1.1.5 of MiniDLNA
2.2. Unzip the download file, copy the content to MBL, then rename the directory as /tmp/minidlna
2.3. Set the directory /tmp/mindlna for full permission with FileZilla

Then:

3.1 Edit the source files in/tmp/minidlna (lines in italic are added):

metadata.c (around line 840):

else if( strncmp(ctx->iformatctx->name, “matroska”, 8) == 0 )
xasprintf(&m.mime, “video/x-matroska”);
else if( strcmp(ctx->iformatctx->name, “flv”) == 0 )
xasprintf(&m.mime, “video/x-flv”);
//----add----
else if( strcmp(ctx->iformat->name, “rm”) == 0 )
xasprintf(&m.mime, “video/x-pn-realvideo”);
else if( strcmp(ctx->iformat->name, “rmvb”) == 0 )
xasprintf(&m.mime, “video/x-pn-realvideo”);
//----end----
if( m.mime )
goto video_nodlna;

upnpglobalvars.h (around line 169):

"http-get:*:audio/mp4:*," \  
"http-get:*:audio/x-wav:*," \  
"http-get:*:audio/x-flac:*," \  
"http-get:*:application/ogg:*," \  

//----add----
“http-get::video/x-pn-realvideo:
//----end----

utils.c (around line 381):

//line 381
ends_with(file, “.m2t”) || ends_with(file, “.mkv”) ||
ends_with(file, “.vob”) || ends_with(file, “.ts”) ||
ends_with(file, “.flv”) || ends_with(file, “.xvid”) ||
//----add----
ends_with(file, “.rm”) || ends_with(file, “.rmvb”) ||
//----end----

Just added the lines into the file directly without adding the comments (//-- add and //–end).

3.2 Compile minidlna from source again:

cd /tmp/minidlna

./configure
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
touch configure
touch Makefile.in
touch config.h.in
make
make check
make install

3.3 rebuild the database

/usr/local/sbin/minidlnad -R -f /etc/minidlna.conf

Further on rmvb modification for minidlna (google translate to translate to your native language):
http://blog.csdn.net/Haven200/article/details/43039261

Other minidlna patches

I found that there might be duplicate files appear on the client for newly added video files. After downloading the patch from minidna:

https://sourceforge.net/p/minidlna/patches/125/attachment/inotify_db_dup.patch

Copy the source code of minidlna 1.1.5 to /tmp/minidlna, then also copy the patch to cd/tmp/minidlna.

Patch the source with the command:

patch -p1 < inotify_db_dup.patch

Then recompile:

./configure
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
touch configure
touch Makefile.in
touch config.h.in
make
make check
make install

and rebuild the database:

/usr/local/sbin/minidlnad -R -f /etc/minidlna.conf

Other interesting patches can be found in the following link:

https://sourceforge.net/p/minidlna/patches/

Important: if everything work, add minidlna into the startup script so that the service can be started automatically during reboot:

update-rc.d minidlna defaults

Please note that MBL users can also upgrade to Twonky 7/8 using the guide:

http://mybookworld.wikidot.com/forum/t-459592/complete-guide-to-upgrade-to-twonky-7-8-version-my-book-live

(30 day trial period)

2 Likes

Hello Elo,

You’ve done a wonderful job :thumbsup: :thumbsup: :thumbsup:

If I had read these instructions before, it would have saved me a few mishaps and questionings during my own minidlna install process (I am also a total linux newbie) !

It may also be interesting to mention a little hack like the FeaturePacksManager to monitor the MBL CPU load and temperature.

SLEEP MONITORING

We do not need to look at the LED indicator in front of MBL to understand how long it slept. The easiest way is to use FileZilla to download the file in in /var/log/message:

Look for messages like:

<date/time> MyBookLive logger: exit standby after 2942 (since date/time)

We would have a very good understanding on when MBL slept and how long did it go into standby.

(I only realize this after using the MBL for over 2 years.)

My MBL did sleep in the first few months of usage. With more and more photos loaded, I found that the green LED was on and the drive was spinning. It was quite some time before I googled and found the fix on stopping miocrawler:

The fix worked in my case. Basically, add 1 line ‘exit 1’ into the file /usr/miocrawler/miocrawlerd so that it looked like:

#!/bin/sh
exit 1

Reboot is required after the change.

The blue LED indicator in MBL should be on (if we set enable the ‘hard disk sleep’ function in MBL UI).

Just in case this did not work, we can also stop mediacrawler as per this link:

In summary: SSH into MBL, type

chmod 644 /usr/local/mediacrawler/bin/mediacrawler

Then reboot.

Some more tips:

  • The default standby time is 10 minutes but can be changed by editing the file /etc/standby.conf
  • If new packages (transmission, minidlna, openvpn etc.) are installed, please ensure all the logs are stored in the ramdisk of /var/log/. There are 3 logs generated by the software openvpn and the file ipp.txt was stored in the working directory causing disk access every 15 minutes, or waking up MBL every 15 minutes. Moving the file ipp.txt to /var/log/ fix the issue.
  • I sometime disable swap (with the command swapoff -a) to ensure that system would not wakeup due to insufficient memory. I would rather reduce the swap file size in /etc/fstab instead (since I am not using the default WD DLNA services).
  • If the port forwarding rules are set in the router, (not using the uPNP feature of MBL), and, if we are ready to forfeit some function of the UI, there are quite a lot of mods in the link: My book live never sleeps

Hello Lo,
I don’t have a ramdisk file in the /var/log/ directory …
Instead, I have a ramlog file (no extension) as well as the minidlna.log and various other *.log files.
On top of that : no ipp.txt
Where am I supposed to find the latest before I (possibly) move it to /var/log/ ?

Great work! I am waiting for the openvpn tutorial…
One question. You said “The easiest way is to use FileZilla to download the MBL in in /var/log/” How you do that? I use flashfxp and I can only loggin via ftp with user admin and I can only see the folder public and shares. I can’t login with user root. How you do that?

ramdisk - use the computer memory (RAM) as harddisk directories so that when anything is read from and write into this directories are in fact amending the RAM and did not need to wakeup MBL (spinup the harddisk)

The log for minidlna is /var/log/minidlna.log as defined in minidlna.conf so supposedly you do not need to do anything:

log_dir=/var/log

ipp.txt is generated by another software called openvpn

openvpn… the toughest part is compiling the kernel but I followed this link to compile it:

http://mybookworld.wikidot.com/compiling-mybook-live-kernel

(I shall write my experience probably next week.)

It should be downloading the file /var/log/message. To login with root, please enable SSH and the default password should be welc0me. Might be you can watch the first few minutes of the minidlna installation video and it started with SSH, putty and FileZilla. https://www.youtube.com/watch?v=DZrxhYghJss1

Ok, now I understand. You use filezilla to see the files via ssh and not ftp. It would be nice if you post the tutorial about openvpn. I have tried it and I could only see the mbl folders. I want to use my home internet connection to have secure access to my bank accounts.

It seems that you have installed the TUN module successfully in order to see the MBL folders. (How can you do that?)

The problem seems to be setup with the router itself now. Have you set the ‘routing table’ in the router? Both the routing table and port forwarding are required to be setup in the router.

My router sample on ‘routing table’:

Target: the vpn network IP (e.g. 10.1.1.0)
Gateway: the ip address of the MBL

My router sample on ‘port forwarding’ for default tcp 1174 port to the MBL (which seems that you have already done so):

Thank you for your answer. I’ll check if my router (it is an old Thomson tg 585v8 adsl router) has routing table…
I had tried openvpn via this script HOWTO: MBL as OpenVPN server

If you don’t want to get your hands dirty with all the commandline work, you could easily install OpenVPN, No-IP, Transmission, and many other programs with one click of the mouse. Look up FeaturesPacksManager.
http://www.highlevelbits.fr/

As for MiniDLNA, I recommend that you use Twonky 8 instead. Much better and much more user friendly.
Install guide is here
http://mybookworld.wikidot.com/forum/t-459592/complete-guide-to-upgrade-to-twonky-7-version-my-book-live-o

I recommend that you install ownCloud

Install WebMin

Turn off the LEDs
http://mybookworld.wikidot.com/forum/t-297399/led-light-controlling

Build and Write Custom Firmware

And get the temperatures of the MBL down to a level where it doesn’t slow down the processor or stall it.

1 Like

I am all BLUE now … first time in my MBL’s life !
I think the deactivation of the mediacrawler did the trick (guess the ‘mio’ thing was not relevant for I don’t have tons of pics in the MBL).
BTW, disk temperature has now decreased by 10-15°C, and that’s good news for its lifetime … :sunny:

Some things I recommend that you turn off to conserve CPU. You can turn them on if you need them later

  1. FTP
  2. Remote Access
  3. iTunes server

Thanks, those 3 had always been OFF, anyway.
Since I deactivated mediacrawler, the MBL temp is now around 41-42°C … :sunglasses:

OPENVPN INSTALLATION IN MY BOOK LIVE

Compared with other topics that I had discussed, the documentation that I found related to installation of OPENVPN is limited. I can find 3 links that talked about installing and configuring OPENVPN in MBL:

  1. Wikidot: http://mybookworld.wikidot.com/openvpn
  2. WD community: HOWTO: MBL as OpenVPN server
  3. Optware: http://highlevelbits.fr/index.php?option=com_content&view=article&id=626:openvpn-mybook-live&Itemid=82&lang=fr

Yet none of the links really talk about the setup required on the router side.

I am basically following the information in the first link (wikidot) for the illustration purpose.

The installation and configuration of OPENVPN in not easy already. Install it in MBL is complex, because I cannot enable the TUN module required for MBL. Just if anyone can successfull get OPENVPN running, the configuration should be standard. OPENVPN is also build-in under a number of routers nowadays, or as add-in feature with routers running dd-wrt or openwrt. The documentations for OPENVPN under these areas are precise. In fact, I recommend to use a router as OPENVPN server instead unless you really wanted to explore the MBL capabilities.

OPENVPN can be used for:

  • remote access on the MBL without exposing the MBL to the internet world (by turn-off remote access in MBL UI). One can connect from internet using OPENVPN, then, act as a intranet device to access MBL
  • access other devices in the home network without exposing them to the internet world
  • add an additional layer of encryption while surfing the internet
  • surf the internet as if the OPENVPN client is coming out from the home router

0. Pre-requisite:
0.1 The firmware version of my MBL is 02.43.10-048, which should be the updated version as of now.
0.2 Know the ip-address range for the [home network], e.g., 192.168.0.0 (for devices in the range of 192.168.0.1 to 192.168.0.255)
0.3 Determine the ip-address range for the [vpn network], e.g., 10.1.1.0 (for devices in the range of 10.1.1.0 to 10.1.1.255)
0.4 [DDNS name] the static internet address in which the internet world can reach the home router. I use the DDNS service from http://freeddns.noip.com/ but any free DDNS provider used in the home router would do.
0.5 [MBL IP] the static IP address of MBL in the network

1. Installation of OPENVPN in MBL

1.1 Installation of TUN module in MBL
I cannot enable the TUN module, which is a pre-requisite of OPENVPN. Finally I have to compile the ML kernel to get this work. This is the reason why I stated the installation is complex.

Just if anybody can make openvpn work already, then this step can be skipped.

I shall talk about the kernel installation with TUN module in the next topic.

1.2 Installation of OPENVPN and certificates

Run the following commands to download the softwares:

/opt/bin/ipkg update
/opt/bin/ipkg install openvpn
/opt/bin/ipkg install lzo
ldconfig

Download the custom S20openvpn startup script , openvpn.cnf and easy-rsa tools:

wget http://mybookworld.wikidot.com/local--files/openvpn/S20openvpn.whitelight   -O /opt/etc/init.d/S20openvpn
wget http://mybookworld.wikidot.com/local--files/openvpn/openvpn.conf   -O /opt/etc/openvpn/openvpn.conf
wget http://mybookworld.wikidot.com/local--files/openvpn/easy-rsa.tar  -O /opt/etc/openvpn/easy-rsa.tar
chmod a+x /opt/etc/init.d/S20openvpn
cd /opt/etc/openvpn/
tar -xf /opt/etc/openvpn/easy-rsa.tar
cd /opt/etc/openvpn/easy-rsa

2. Configuration of OPENVPN

There is no userid/password pair in OPENVPN. The software relies on certificate pairs for authentication.

2.1 Generate the server certificate

Commands to generate the server certificates (there are two ‘.’ in the command line):

. ./vars

Then:

cd /opt/etc/openvpn/easy-rsa
. ./clean-all
cd /opt/etc/openvpn/easy-rsa
. ./build-ca
cd /opt/etc/openvpn/easy-rsa
. ./build-key-server OpenVPNserver

Some questions would be asked. Type “ENTER” except for the following one:

Common Name (eg, your name or your server's hostname) []: [DDNS name in 0.4]

When you are asked for a challenge phrase, type “ENTER”.

When you are requested to sign a certificate, type y :

Sign the certificate? [y/n]: y

Finally the following command to generate the server certificate:

. ./build-dh

The process can take 10-20 minutes. There may see 20 lines of +++++.

when it is finished, copy the newly generated certificates to the correct folders:

cp /opt/etc/openvpn/easy-rsa/keys/ca.crt /opt/etc/openvpn/ca.crt
cp /opt/etc/openvpn/easy-rsa/keys/OpenVPNserver.crt /opt/etc/openvpn/OpenVPNserver.crt
cp /opt/etc/openvpn/easy-rsa/keys/OpenVPNserver.key /opt/etc/openvpn/OpenVPNserver.key
cp /opt/etc/openvpn/easy-rsa/keys/dh1024.pem /opt/etc/openvpn/dh1024.pem

2.2 Generate the client certificates

Launch the following command :

. ./build-key OVClient1

you will be asked some questions: type “ENTER” except for the following one:
Common Name (eg, your name or your server's hostname) []:
Type : OVClient1

When you are asked for a challenge phrase, type “ENTER”.

When you are requested to sign a certificate, type y :
Sign the certificate? [y/n]: y

The following Client configuration files in directory /opt/etc/openvpn/easy-rsa/keys need to be copied over to the client:

OVClient1.crt
OVClient1.key
ca.crt
dh1024.pem

The OVClient2. OVClient3 etc. can be built in the same way.

2.3 OPENVPN configuration

Edit the configuration file in /opt/etc/openvpn/openvpn.conf. (I use FileZiller to download the file to PC and edit the file.)

The following statements need to be changed:

push "route [home network] 255.255.255.0"
server [vpn network] 255.255.255.0
ifconfig-pool-persist /var/log/ipp.txt 1800
status /var/log/ovpn-status.log
log /var/log/openvpn.log

Then, edit the S20openvpn script in /opt/etc/init.d:

insmod /lib/modules/2.6.32.11-svn70860/kernel/drivers/net/tun.ko

(The above is directory name for the MBL original kernel. The directory name might change after compilation.)

We also need to let ip_forwarding in MBL, edit the file /etc/sysctl.conf and remove the # in front of the line:

net.ipv4.ip_forward=1

Now we can start openvpn:

/opt/etc/init.d/S20openvpn

To verify if the openvpn job is really running:

netstat -nlp | grep openvpn

If everything is OK, setup a cron job and run openvpn at startup. A sample crontab entries is:

@reboot sleep 60 && modprobe tun && /opt/sbin/openvpn --daemon --cd /opt/etc/openvpn --config openvpn.conf

2.4 Router configuration

There are 2 ip subnets now: [home network] and [vpn network]. The 2 ip subnets would not talk automatically. In customized OPENVPN installation, quite a number of iptables rules are required to get the 2 subnets communicate. MBL original kernel does not support iptables but it is still possible to get these 2 subnets communicating seemlessly. (The rules are automatically inserted for routers with buildin OPENVPN and save the hassle.)

Port forwarding: set tcp port 1194 to go to MBL

Forwarding IP highlighted in red is the [MBL IP]

(optional: port 443/80 is used by WD remote access. It was disabled so that MBL would not exposed to internet. The uPNP feature in the router is also disabled to provide little bit more protection. http://www.howtogeek.com/122487/htg-explains-is-upnp-a-security-risk/)

Routing table: if there are any requests to access the [vpn network] from [home network], route thru [MBL IP]:

The gateway (in red) is the [MBL IP]
The target (in green) is the [vpn network]

(Information only: The ip forwarding in S20openvpn script would route the data from [vpn network] back to [home network] and no setup is required on this point.)

2.5 Client setup

I am using Windows as example but the procedure can be ported to Android platform easily.

Download and install the openvpn client for windows from http://swupdate.openvpn.org/community/releases/openvpn-install-2.3.11-I001-x86_64.exe

Create a directory MBL clientkey under C:\Program Files\OpenVPN\config

Copy the 4 files created in step 2.2 to the newly created Windows directory

Download the sample client OVPN file: http://mybookworld.wikidot.com/local--files/openvpn/OVClient.ovpn

Edit the file and change the following lines:

remote [DDNS name] 1194
cert OVClient1.crt
key OVClient.key

Important: add the statement at the end of file:

redirect-gateway def1

The redirect statement ensure all traffics are route thru the VPN network.

Save the file and copy as OVClient1.ovpn in directory C:\Program Files\OpenVPN\config

Run the Windows openvpn client, rightclick on the openvpn icon, select OVClient1 and connect.

3. Verification

We need to ensure the ip is really being changed. The internet ip address can be checked using websites like www.ipchicken.com.

  1. record the internet ip address before connecting to openvpn
  2. connect via openvpn
  3. record the internet ip address again by going into www.ipchicken.com, the ip address should be the one from the home router now
  4. disconnect the openvpn connection
  5. record the internet ip address, it should be changed again

If the IP address are changed, the communication between the openvpn client and MBL should be encrypted by the certificates generated in steps 2.1 and 2.2.

In addition, from the openvpn client, we should be able to:

  • access the MBL directories
  • (with Android device) using WD cloud to access MBL (even with remote access turn off)
  • access other devices in the home network (e.g.printer/scanner/router/PCs)

Finally we are done.

I found that this is much longer than I expected to write on this topic but I really wants the procedure to be repeatable, at least, in this version of the fimware.

1 Like

If you installed OpenVPN via highlevelbits.fr, then the router setup is provided in the package. I did it all in less than 30 seconds.

COMPILE KERNEL for MY BOOK LIVE

TUN device is required for OPENVPN. I tried to use the previously compile TUN module provide in forums and failed. Perhaps those TUN modules are outdated. I tried to compile and install the TUN module but it also failed. There are successful implementations on OPENVPN easily meant that previous WD version might even have the TUN device build-in.

Anyway, I can only make this work only with the compilation of the whole kernel under the current version of WD firmware.

The basic steps are very similar to this link: http://mybookworld.wikidot.com/compiling-mybook-live-kernel.

I added my comments on kernel configuration which was a bit blurred in the link.

Environment: My Book Live firmware with version 02.43.10-048 (released in June 2015)

Copy the warning statement from the link: THIS PROCEDURE HAVE A VERY HIGH POTENTIAL TO BRICK YOUR WD DEVICE! ONLY BUILD A NEW KERNEL IF YOU REALLY KNOW WHAT YOU ARE DOING.

Steps 1 to 6 are very similar to the above link:

1. Install the required tools:

aptitude install gcc-4.3 libncurses5-dev make patch uboot-mkimage

Notice: If you run into trying to overwrite ‘/etc/ld.so.conf.d/powerpc-linux-gnu.conf’, which is also in package wd-lib issue, refer to http://forums.debian.net/viewtopic.php?f=7&t=83830#p450933

2. Set gcc alternatives:

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 43 --slave /usr/bin/cpp cpp /usr/bin/cpp-4.3

3. Create the build directory:

mkdir /Datavolume/build
cd /Datavolume/build

4. Download the relevant GNU package that matches with the actual system level

wget http://download.wdc.com/gpl/gpl-source-mybookliveduo-02.43.10-048.zip

5. Unzip the GNU package

apt-get install unzip
unzip gpl-source-mybookliveduo-02.43.10-048.zip
cd /DataVolume/build/packages/kernel_2.6.32-11

6. Download and install a kernel patch which addresses a build failure:

wget http://mybookworld.wikidot.com/local--files/compiling-mybook-live-modules/kernel_2.6.32-11-crtsavres-v2.patch
patch -p0 < kernel_2.6.32-11-crtsavres-v2.patch

7. Configure the kernel, in which I tried to enrich more details.

7.1 Prepare a sample config file and start menuconfig:

make 44x/apollo_3G_nas_defconfig
make menuconfig

7.2 Configure the kernel

Add TUN module: Device Drivers-> Network Device Support-> put a M next to Universal TUN/TAP device driver support

And as suggested by the link, disabled XFS, USB, NTFS, FAT (as MBL does not have USB):

XFS: File system -> XFS filesystem support
USB: Device Drivers -> USB support
NTFS/FAT: File system -> DOS/FAT/NT Filesystems (and disable everything under the submenu)

8. The step was marked as important in the guide:

cp .config ~

Just if there are any directory/file with the same name (which I encountered this problem), rename the existing file/directory and try again.

9. Download a new build.sh:

rm build.sh
wget http://mybookworld.wikidot.com/local--files/compiling-mybook-live-kernel/build.sh

10. Build kernel:

./build.sh

Please make sure the swap memory is on (via the top command) or the compilation would fail due to out-of-memory.

It take 90 minutes to compile. After compilation, if file/directory is renamed in step 8, please remove the .config file in root directory and restore the old file/directory.

11. Ensure if everything was built correctly, and the resulting artifacts are written at /newkernel.

12. POINT OF NO RETURN: If things are OK and got the balls needed to overwrite the kernel, install it.

Backup the (i) /boot/uImage and (ii) all files under /lib/modules
Use Filezilla to delete everything under /lib/modules

Then:

cd /boot
mv /newkernel/lib/modules/2.6.32.11 /lib/modules
cp /newkernel/boot/uImage /boot

*** Please ensure the modules are really copied across to /lib/modules. ***

13. Restart the system

14. If everything went nicely, the system will boot up in the new kernel.

15. Try the commands after reboot to ensure the TUN module works:

 modprobe tun
 lsmod

16. We now have a working TUN module and a customized kernel.

The author of the original link is trying to install iptables. Kernel configuration for iptables can be found in the link: http://www.gentoo-wiki.info/HOWTO_Iptables_for_newbies. After compiling the kernal and install iptables, we can define firewall rules in MBL.

1 Like

Final thoughts

It started when I bought a Smart TV trying to eliminate my MiBox media player, have a cleaner desk and less wirings. MiniDLNA is used to replace the sluggish WD DLNA and it was so successful.

Then I try to get rid of the DD-WRT router, which sole purpose is a 24 * 7 openvpn server consuming 8W of electricity.

With the successfull installation of OPENVPN server in MBL, then MBL did not sleep. So I delved into links related to this area, finally realized that the setup recommended in the link was writing log to disk (instead of ramdisk) every 15 minutes. No wonder the device was waking up after sleeping for just 5 minutes.

Every move has a purpose, though whether it is worthwhile to invest so much energy and time in a legacy (but still effective) product is debatable.

In some part of the globe, 90% of forum messages can be filtered off as they are meaningless replies such as start from scratch, format hard disk, reinstall windows. There are links threw out which are inconclusive or even contentious. There are no comments from the persons posting the links to indicate whether they really understood or tried the ideas in the link. This forum is so different: resourceful, helpful and peaceful.

For ordinary users, a fully functional up-to-date NAS available in the consumer market, and/or a mid-end home router with openvpn preinstalled is always the preferred choice.

Playing around with MBL is really ‘breathing new life’ back into a discountinued product. I would still prefer to have miniDLNA over a US$20 Twonky version 8 simply because the free miniDLNA software supports .rm and .rmvb videos vs Twonky’s simpler one time setup/configuration but no realmedia video support. Donating 10 pounds to join MBL optware club for an automated openvpn installation scripts is quizzical. The firmware versions supported for the script were not stated, or, some answers under the last Q&A in 2013 was a bit deviated from usual experience in DDwrt/Openwrt VPN setups. The adminstrators of the optware club might need to update the website in order to attract continuous donations from more MBL users. Well, the question should be if there are still any market at all.

Thanks for reading.

1 Like

Very nice guide. Thank you for the time you spend to write it. I have a My Book Live DUO, so I am a little bit nervous if the kernel patch works for me. Thank you again.

Thanks very much for your excellent guide.
As I’m very late to this party, I encountered various problems (like minidlna new version).
But the most annoying thing is that the linux compiling files are not anymore available in the archive shared by you (https://dl.dropbox.com/u/19024553/libc_for_02.11.09-053.tar).

As my Linux skills are just a liitle above zero, could you - or other kind soul here - to repost a new available link for these files, or alternatively to show as - step by step - how to compile minidlna on My Book Live?

Thanks in advance!