Archive for the ‘linkstation pro duo’ Category

Linkstation Pro-Duo Wake On Lan

Friday, February 27th, 2009

Issuing a

shutdown -h now

on the command line doesn’t halt the system, as expected, but rather restart it. that kind of sucks. Though the power switch has three positions, on, off and auto. The last one is useful together with the NAS utility on windows. It will power up the NAS as soon as your PC powers up and shut it down after you do. The program doesn’t do anything special though, but just uses plain WOL magic packages, which are sent to the NAS regularly. Once the NAS hasn’t received WOL packages for a while (some minutes) it will power down. A cross-platform application that will power up/down the NAS dynamically can be written easily. Here is a minimalistic python-script: nas.py, just change the MAC-address to that of your NAS. Now you can startup the NAS on demand, or add the script to your OS autostart.

how to install RapidShare Download Manager on a linkstation pro duo

Friday, February 27th, 2009
  1. gain shell access to the device, which is described here: http://buffalo.nas-central.org/index.php/Open_Stock_Firmware
  2. RSDM is php based therefor we need a webserver. in order to install one a package manager comes in handy, this is being described here: http://buffalo.nas-central.org/wiki/Ipkg_on_the_Linkstation_(for_end-users)
  3. the packages you need: apache and php-apache, install them with:
    ipkg install apache

    (and php-apache likewise)

  4. if you just gained shell access your NAS will have a webserver installed already for a configuration UI, you can either disable that server, or use a different port. The latter one can be achieved through a
    Listen 5000

    in the server configuration

    /opt/etc/apache2/httpd.conf
  5. in the same config file there is the
    DocumentRoot

    defined, this is where you should unzip your RSDM files

  6. furthermore you have to add two addtional lines:
    LoadModule php5_module libexec/libphp5.so
    AddType application/x-httpd-php .php .phtml

did the configuration some time ago, I hope I didn’t forget anything. After configuring don’t forget to restart your webserver with

/opt/sbin/httpd -k restart

After that open the URL

http://NAS_IP:NAS_PORT/RSDM_PATH

where you have to adopt NAS_IP, NAS_PORT and RSDM_PATH, the last being relativ to the above defined DocumentRoot.

RapidShare Download Manager

Thursday, January 8th, 2009

RapidShare Download Manager, is a php based web application, that lets you enqueue rapidshare downloads.
It was written to run on the NSLU2, yet it runs flawlessly on the Pro Duo, with stock firmware, too. You have to provide a list of rapidshare links and it downloads those files and extracts them optionally. It works both with premium and with free accounts. However the userinterface is in German, for anyone still interested here is the url: rsdm.kingofcomedy.de
Rapidshare Download Manager