SoOo Rαy... What's UP?

Ray's MiiDS Cloud Android Client

Avoid this beta thing, it keep eaten the batteries like hell.

After uninstalling this thing the batteries usage of the phone back to normal.
Mar 3 2013 17:26
Ray's MiiGot a new DS213+, so...


Spend almost half a month to setup it! Too many options with this new thing.

My main reason buying another DS is that I almost lost all my data while moving to the new apartment. Luckily my linux skill saved my data on the disk. So... gotta buy a new diskstation to have them backup each other. 213 to 207 and 207 to 213. One more layer to save my data. (Stop telling me to use RAID, if RAID is your backup solution, good luck to your data)


Since I want my new DS to act as File Server and DLNA server only, so I didn't bother bootstrap it. Let my old 207+ do all the dirty works :)


Unless the apartment caught a fire, otherwise my data could be safe for awhile....


Time to looks for offsite backup solution...


213+ vs 207+


Do not really know how to compare because I'm using 213+ as SMB/DLNA only... it is kinda a waste but.... I don't want to overload the 213+ to affect the performance of DLNA... I'm watching my daughter's photo and video on my new Panasonic TH-L42ET5H LED 3D TV everyday, I can't tolerate a little bit delay!!! 213+ is doing a fine job here.

Feb 3, 2013
Ray's MiiGot a new DS213+!

Finally got myself a new DS! Gotta spend quite sometime setting it up...
Jan 17
Ray's MiiMerry Xmas

Who on earth still hacking their NAS during xmas?? Get away from your PC and enjoy the holiday!
Dec 25
Ray's MiiRooting the Nexus S

Finally got time doing this... subsequent is to reinstall and setup everything again lol

But then it just worth the effort for openvpn/ads free/screen capture/backup /clock sync support.
Dec 8
Ray's MiiNew: FreeRadius Accounting for OpenVPN with MySQL and daloRadiusNov 26
Ray's MiiFreeRadius Accounting for OpenVPN - success!!

Never got time doing this, but now I finally got the radius accounting working on the box! Luckily the radius plugin for OpenVPN do support accounting. My TomatoVPN router, however, do not support radius accounting.

Doing all these things is not that hard on standard linux platform. But doing these on an optware NAS box is tough! (Because google always return nothing about having these thing running on Synology box)

Next thing to do.... maybe chillispot? :D
Nov 26
Ray's MiiUpdate: Setup Wifi WPA2 Enterprise

Add instruction to authenticate user with client certificate.
Nov 25
Ray's MiiUpdate: Setup Wifi WPA2 Enterprise
Update: Install FreeRadius


Added instruction about how to install CA and clients certificate to Android 2.3.6.

Also the CA certificate generated by FreeRadius package is valid for ONE MONTH only :( Instruction is added to fix this stupid bug.
Nov 24
Ray's MiiUpdate: Compile Kernel Modules

Some mirror changes are needed for the Makefile of newer GPL package.
Nov 23
Ray's MiiUpdate: Openvpn

Just noticed the version of openvpn is udpated in the optware feed. Minor changes is required for the config file.

Also added instructions to revoke a client certificate at the end of the article.
Nov 15
Ray's MiiParanoid about security: Install MOTP and integrate with FreeRadius

I already have openldap as user store, why bother creating another set of OTP account with freeradius?

Firstly ppl in my house hate OTP and want to instantly join the wifi network like the old psk way.

Secondly, it is better to use OTP account to login back to home network in public place like using cafe wifi.

Thirdly it is great to provide OTP account instead of LDAP account for guest.

Combination of FreeRadius+OpenLDAP/MOTP works great for me.
Nov 14
Ray's MiiParanoid about security: Setup Wifi WPA2 Enterprise with Freeradius+Openldap

Even though WPA2-Enterprise is still susceptible to man-in-the-middle attacks, but it should be better than the plain old PSK. Make sure your client do verify server's certificate and not connecting to the cracker's AP. Mobile phone usually don't do cert's validation things, soooo... block all mobile phone if you are paranoid enough.
Nov 13
Ray's MiiUpdate: Modding series 21 - Install FreeRadius Server

1. The openssl provided by Synology will failed the eap/tls process. Should use the openssl provided by optware instead. Article is updated accordingly.

2. Added instructions to modify certificate configuration for CA, server and client.

3. Add Auth-Type: LDAP to users file is not necessary at all.
Nov 12
Ray's Mii802.1x WPA enterprise user authentication with freeradius+openldap on DS207 - SUCCESS!

Finally!! After intensive google search I figured out what's wrong with my radius config and finally have wpa enterprise working!!!
Nov 12
Ray's MiiUpdate: Modding series 9 Setup Openldap

Add instruction how to introduce samba attributes.
Nov 08
Ray's MiiNeed PPTP server on DS207+

Still got no luck having this working on my DS. Hope someone got any solution and let me know :(
Nov 08
Ray's MiiWhen will my DS207+ die???
Nov 08
Ray's MiiMigration cancelled

Thanks to hostgator which is kind enough to offer me 20% discount for one year prepayment. It is a very good deal comparing the price and their quality of service. I decided to stay and save some migration works.

So no downtime for the next 12 months.

Case closed.
Oct 11 07:49
Ray's MiiWeb Site Migration

Couple weeks downtime is expected soon. Sorry.
Oct 10 01:01
Ray's MiiOpenVPN mod still

When Syno officially released VPN center package, I thought that the daily page view of my blog will decreased like 50% because openvpn articles is the most popular page here.

However, the fact is that the pageview is actually increasing instead... weird...
Oct 9 19:10
Ray's MiiNew: Capturing Tomato Router Log using syslog-ngAug 27 2011 17:50
Ray's MiiMissing 1613branch GPL source :(

It is pity that Synology still did not release the GPL source for 1613 branch firmware.

I really need to compile the ppp and slhc modules in order to have the pptpd server running on my NAS :(

The latest branch available is 1594 and think the next release will be 1613?? but then... when??
Jun 26 2011 03:23
Ray's MiiOpenvpn officially supported by Synology

Synology finally released the openvpn packages for their NAS.

However it is not available for 207 series.
Jun 10 2011 00:03
Ray's MiiHUGH CHANGES

Since synology announced that 1613 will be the final fw for my 207+, I decided to upgrade my DS from 2.2 to 3.1-1613!!

Also, the storage of my 207+ is running out of storage space and I replaced the disk to a new WD 2TB drive (RE4).

The subsequence of these action is that I need to setup ALL mod again on my 207+ box again!!

What a pain! Luckily I've all the detail articles here and I managed to setup everything within a day.

This proved that all my articles are compatible with fw 3.1-1613.
Jun 09 2011 01:21
Ray's MiiHosting at Hostgator again

Migration in progress!Some broken link/image(s) is expected.

Oct 18 2010Migration is too smooth, no broken image is found :)

Really love hosting on hostgator.
Oct 13 2010 16:00
Ray's MiiXmarks - featured site for Synology topic

Today while I'm looking for some NAS information, I figured out that my blog happened to be one of the featured site on xmarks.com for the Synology topic.



Well... hmm... at least my site is bookmarked..
Mar 29 2010 02:30