Sunday, 29 July 2012 09:47

Fun_Plug 0.5 on D-Link DNS-320 ShareCenter

D-LINK DNS-320 Sharecenter D-LINK DNS-320 Sharecenter

Fun_plug is a collection of applications compiled and packaged by fonz. fun_plug is install on top of D-Link firmware. It is much more powerful than the D-Link original firmware. The following modules is install by default:

  • Lighttpd – a lightweight HTTP server for hosting web pages on the NAS
  • OpenSSH – Secure Shell (which you already used to login to the NAS)
  • Mediatomb – a UPnP media server (alternative to the one provided by Conceptronic)
  • NTP – Network Time Daemon (to synchronize the NAS’ clock with accurate time servers on the Internet)
  • UNFS3 – user-space NFS server (a file server protocol which is often used by computers running Linux)
  • NFS-Utils – NFS server (efficient file transfer and synchronization utility)

This guide is based on fun_plug 0.5 & D-Link DNS-320 ShareCenter and assumes an SATA hard disk is installing to the DNS-320 ShareCenter formatted as ext3.

 



INSTALLING FUN_PLUG:
fun_plug 0.5: http://www.divshare.com/download/18196850-7e3
Once you’ve downloaded the appropriate files for your device, open up the root folder and place fun_plug and fun_plug.tgz in the Volume_1 part of the drive using Windows Explorer (My Network Places). 

Files in the topmost directory of D-LINK DNS-320 ShareCenter

 

Reboot the  DNS-320 NAS. This causes the NAS to go and find the file fun_plug on Volume_1 and execute it. Fun_plug is successful install if you see this screen:

 Installing fun plug sucessful

Changing Root Password

Telnet to DNS-320 ShareCenter and change password as below:

pwconv
passwd

 

usermod -s /ffp/bin/sh root
mkdir -p /ffp/home/root/
usermod -d /ffp/home/root/ root

 It should look like this:

/ # pwconv
/ # passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Bad password: too simple.
Warning: weak password (enter it again to use it anyway).
New password:
Re-enter new password:
Password changed.
/ # usermod -s /ffp/bin/sh root
usermod: no changes
/ # mkdir -p /ffp/home/root/
/ # usermod -d /ffp/home/root/ root
usermod: no changes
/ #

You still can use a simple password even though it prompted for "Bad password". Just enter same password for 3 times, it should continue without error.

 

Testing login password

login

 It should look like this:

/ # login
nas login: root
Password:
No mail.
[email protected]:/mnt/HD/HD_a2/ffp/home/root#

 

Store Password Permanently

This step is essential, otherwise your password will be cleared on the next reboot. Make sure the ShareCenter is connected to internet.

#!/ffp/bin/sh

echo "Saving Userdata to /usr/local/config/"
cp -f /etc/passwd /usr/local/config/
cp -f /etc/group /usr/local/config/
cp -f /etc/shadow /usr/local/config/
cp -f /etc/samba/smbpasswd /usr/local/config/
wget http://wolf-u.li/u/172/ -O /ffp/sbin/store-passwd.sh

 For DNS-324 ShareCenter, you should follow this link to store password permanently.

Now execute

store-passwd.sh

 

Activate SSH

SSH is a network protocol that provides file access, file transfer, and file management functionalities over any reliable data stream. You should use SSH to manage your ShareCenter for security reason. 

chmod a+x /ffp/start/sshd.sh
sh /ffp/start/sshd.sh start

 

Deactivate Telnet

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. But it is not secure.

For security purpose, you should deactivate Telnet. Make sure you can SSH to DNS-320 ShareCenter before deactivate Telnet

chmod -x /ffp/start/telnetd.sh

 

Installing Additional Packages

You might need to install additional packages after install fun_plug. Read here for more information. Following step will download and update packages from Fonz and Uli. It takes about 30 to 60 minutes to complete the download depend on the internet speed.

mkdir -p /ffp/pkg/
cd /ffp/pkg/
wget http://wolf-u.li/u/173/ -O /ffp/pkg/updater.sh
chmod a+x /ffp/pkg/updater.sh
sh /ffp/pkg/updater.sh

 

Using the following step to download packages manually either from Fonz or Uli.

Download Repository provided by Fonz

mkdir -p /ffp/pkg/
cd /ffp/pkg/
/ffp/bin/rsync -av --delete inreto.de::dns323/fun-plug/0.5/packages .

 

Download Repository provided by Uli

mkdir -p /ffp/pkg/
cd /ffp/pkg/
/ffp/bin/rsync -av --delete ffp.wolf-u.li::ffp/additional .

 

Update Existing Packages

funpkg -u /ffp/pkg/packages/funpkg*.tgz
funpkg -u /ffp/pkg/packages/*.tgz
funpkg -u /ffp/pkg/additional/*/*.tgz

 

Installing Optware

wget http://wolf-u.li/u/233 -O /ffp/start/optware.sh
chmod a+x /ffp/start/optware.sh
/ffp/start/optware.sh start

/ffp/bin/rsync -av --delete ffp.wolf-u.li::ffp/additional .
Read 19679 times Last modified on Monday, 07 October 2013 22:42

147 comments

  • Comment Link bcdejBaw Thursday, 19 March 2020 23:30 posted by bcdejBaw

    buy viagra buy viagra generic viagra viagra pills viagra 100mg

    viagra pills viagra generic buy viagra cheap viagra generic viagra

  • Comment Link pmcpmBaw Thursday, 19 March 2020 22:38 posted by pmcpmBaw

    viagra 100mg buy viagra buy viagra viagra 100mg buy viagra

    cheap viagra generic viagra [url=https://www.playterritory.com/action/80/mi-adventures.html #]viagra generic [/url] viagra 100mg cheap viagra

  • Comment Link fxnlfBaw Thursday, 19 March 2020 22:18 posted by fxnlfBaw

    buy viagra generic viagra viagra buy buy viagra viagra 100mg

    viagra pills generic viagra viagra generic buy viagra viagra generic

  • Comment Link fvsljBaw Thursday, 19 March 2020 10:04 posted by fvsljBaw

    viagra generic cheap viagra generic viagra cheap viagra generic viagra

    viagra pills viagra pills viagra generic cheap viagra cheap viagra

  • Comment Link uluhmBaw Thursday, 19 March 2020 10:03 posted by uluhmBaw

    cheap viagra viagra pills viagra buy generic viagra cheap viagra

    buy viagra viagra generic [url=http://meshuggah.ru/ #]viagra generic [/url] viagra pills generic viagra

  • Comment Link uctcgBaw Thursday, 19 March 2020 07:30 posted by uctcgBaw

    buy viagra generic viagra viagra buy viagra 100mg viagra online

    viagra generic buy viagra viagra buy viagra generic viagra generic

  • Comment Link uciqrBaw Thursday, 19 March 2020 06:53 posted by uciqrBaw

    viagra generic viagra pills generic viagra viagra generic buy viagra

    viagra pills viagra 100mg buy viagra viagra 100mg cheap viagra

  • Comment Link ptnegBaw Thursday, 19 March 2020 04:50 posted by ptnegBaw

    viagra pills viagra pills generic viagra generic viagra viagra online

    viagra online buy viagra viagra generic viagra online viagra pills

  • Comment Link qkpihBaw Thursday, 19 March 2020 03:57 posted by qkpihBaw

    viagra online viagra online buy viagra buy viagra viagra pills

    buy viagra generic viagra [url=http://royalathenaeum.com/ #]viagra generic [/url] viagra 100mg buy viagra

  • Comment Link gyppcBaw Thursday, 19 March 2020 03:55 posted by gyppcBaw

    viagra generic viagra 100mg generic viagra viagra 100mg viagra online

    viagra 100mg viagra generic generic viagra cheap viagra generic viagra

  • Comment Link aofuoBaw Thursday, 19 March 2020 02:30 posted by aofuoBaw

    viagra 100mg cheap viagra viagra generic viagra 100mg cheap viagra ufiouas0209sss

    viagra pills cheap viagra viagra buy viagra pills buy viagra

  • Comment Link wnimnBaw Thursday, 19 March 2020 02:28 posted by wnimnBaw

    viagra generic viagra pills generic viagra buy viagra buy viagra ufiouas0209sss

    viagra 100mg viagra online buy viagra viagra generic generic viagra

  • Comment Link mpjsyBaw Thursday, 19 March 2020 00:37 posted by mpjsyBaw

    generic viagra viagra 100mg buy viagra viagra generic buy viagra ufiouas0209sss

    viagra generic buy viagra generic viagra viagra 100mg viagra online

  • Comment Link ecqazBaw Wednesday, 18 March 2020 23:56 posted by ecqazBaw

    generic viagra viagra generic viagra generic generic viagra cheap viagra ufiouas0209sss

    buy viagra viagra generic buy viagra viagra generic viagra online

  • Comment Link dqwupBaw Wednesday, 18 March 2020 22:09 posted by dqwupBaw

    viagra pills viagra generic generic viagra viagra pills viagra pills ufiouas0209sss

    viagra online viagra pills viagra generic viagra generic viagra online

  • Comment Link vumamBaw Wednesday, 18 March 2020 21:43 posted by vumamBaw

    viagra 100mg buy viagra generic viagra cheap viagra viagra generic ufiouas0209sss

    viagra 100mg viagra pills viagra generic viagra pills viagra 100mg

  • Comment Link snbomBaw Wednesday, 18 March 2020 20:59 posted by snbomBaw

    buy viagra viagra pills viagra buy viagra generic cheap viagra ufiouas0209sss

    cheap viagra viagra online buy viagra cheap viagra viagra generic

  • Comment Link neynjBaw Wednesday, 18 March 2020 20:10 posted by neynjBaw

    viagra online generic viagra generic viagra viagra online cheap viagra ufiouas0209sss

    buy viagra viagra generic buy viagra viagra pills viagra 100mg

  • Comment Link qlxmpBaw Wednesday, 18 March 2020 17:39 posted by qlxmpBaw

    viagra generic viagra pills viagra buy viagra 100mg buy viagra ufiouas0209sss

    viagra pills viagra pills buy viagra viagra 100mg generic viagra

  • Comment Link ddxbmBaw Wednesday, 18 March 2020 14:55 posted by ddxbmBaw

    viagra online viagra generic viagra generic viagra pills viagra 100mg ufiouas0209sss

    cheap viagra viagra online buy viagra cheap viagra viagra generic

Leave a comment

Back to Top