Sunday, August 5, 2007

Installing a Proof of Concept fun_plug on the D-Link DNS-323

So you want to dive into the inner workings of your new D-Link DNS-323 by installing the fun_plug. Well ok, here's how. Be careful though because if you screw up here, you might not have a bootable NAS anymore.

Make sure you have a current version of the firmware installed (currently 1.03).

Download a copy of either UltraEdit or SciTE4AutoIt3. You have to be sure that you save your file in UNIX (LF) file format.

Open a new file and paste this code.


#!/bin/sh
#
# Proof of Concept fun_plug
#
dmesg > /mnt/HD_a2/dmesg.out


Save this code as "fun_plug" (without quotes and no extention) in c:\ in UNIX (LF) format.

Enable FTP server on the NAS. You may need to create a FTP user account with read/write permission on Volume_1.

Open a Windows cmd window.

Type: ftp 192.168.0.32 or the ip address of your NAS.
login with your FTP username and password.

Make sure you are in the root directory.
Type: cd /

Change directories on the local system too
Type: lcd c:\

Uploads the fun_plug
Type: put fun_plug

Set permissions on fun_plug to 777
Type: chmod 777 fun_plug
or
Type: quote site chmod 777 fun_plug
if the first one didn't work.

Next instruct the NAS to reboot.
After the system has rebooted, browse to the Volume_1 share with Windows Explorer.
You will see a file named "dmesg.out".
Congratulations, you have just modified your NAS to be able to perform all kinds of linux tasks.


---------------------------------
www.CrazyOutdoorSports.com

No comments: