DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-05-03 13:37:09

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Newbie guide to perfect setup

hi everybody...
am new to networking and NAS and read alot how to get all the powers.
Just got my dns 323 h/w revC and firmware 1.10c
have a 2TB samsung hdd
have a dir-825 router

my purpose was to use the nas as backup but only later discovered about addons like bittorrent etc.
i read that all the goodies(fun plug) can be put on a usb so that the disk don't wear quicker. if anyone could guide me to setup my nas  using a usb  on a usb hub connected to the nas!? the hub so i can connect other things such as portable hdd.

for the bit torrent i found this guide here: h t t p hmm/cheongseeker.blogspot.com/2009/09/transmission-bt-for-dns-323.html

and i think i can manage to do that.my main goal is to make the disk spin down as much possible for longevity.

thanks.

Offline

 

#2 2011-05-03 15:07:29

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Newbie guide to perfect setup

Well, depending on the usage pattern, it might even shorten your HDD life-span, if it will constantly have to spin down/up the platters and park/unpark the heads.
It will, however, most probably reduce power consumption, and thereby heat.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#3 2011-05-03 17:23:28

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

My usage will be like :
-Have all my collection(docs,music,videos) for one place sharing.only the music might be used often but the videos not so often.the docs just for backing purposes.
-Backups + create copies of some words and excels that i might access from outside the network.
download torrents.
the power consumption is interesting as am still student.so i might actually go for fun plug on usb.

Offline

 

#4 2011-05-03 17:36:25

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

There is no real trick to getting FFP to run on USB. It actually can be installed on the disks as usual. What I do is simply configure each application that I want to run to use the USB stick for logs and such.

I run Transmission for torrents. It is installed on the USB stick but I left the "incomplete" and "complete" directories on the hard disk to handle large file downloads. IMO the best source for Transmission is right here by KyleK http://dns323.kood.org/forum/t2719-%5BR … ssion.html The instructions are simple and are in the first post along with a link to the download.

Automatic, Lighttpd, Cron scripts, logrotate and rsync all send logs to the USB stick.

My drives spin down most of the day/night except evenings when I am accessing videos and torrents are downloading.

I can see this easily as I access the admin console via a script once an hour and extract the HDD temperature. When the drives are off, the units run about 31-32 degrees. This rises to 37-39 degrees during heavy usage times.

I don't use any UPNP or other media server. For one reason, I don't want/need one, but also as it is resource intensive and may cause more disk activity.

Last edited by FunFiler (2011-05-03 17:39:43)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#5 2011-05-03 17:50:20

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

to FunFiler :
if i use this guide to start h t t phmm/cheongseeker.blogspot.com/2009/09/transmission-bt-for-dns-323.html
will you be able to help me to get the FFP,logs and transmission to the usb and keep the incomplete and complete on the hdd just like you did.

i do not have any knowledge of linux save some android terms i found similar.

Offline

 

#6 2011-05-03 18:40:47

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

There are old steps in that link and it is overly complex for most people. Since much of it points to KyleK's link that I provided, I'd suggest starting with something simple, then you can tweak it as required after you get it running.

I'm sure there are many here who will help you as required.

Running it from USB is simple enough, but again, I'd suggest getting it installed and working in a normal configuration first. Then you can simply move it to the USB stick after. This is essentially just a matter of moving the directory, editing the startup script and then making a few configuration changes.

Last edited by FunFiler (2011-05-03 18:42:49)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#7 2011-05-04 14:00:38

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

how do i install ffp? i tried but i don't know if i succeeded or not.

Offline

 

#8 2011-05-04 14:38:30

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

Assuming your followed a guide such as this one http://dns323.kood.org/howto:fun_plug then you can view the fun_plug log and/or telnet in to your DNS323.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#9 2011-05-04 18:35:47

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

i installed transmissions bits from both guides as some lines in both were not working. I even don't know how i did that.

i have installed ffp,
curl,uclibc and transmission
did whitelist,blocklist, encryption and login credentials.
still reading about what to do next.
one thing though i can log using both telnet and ssh, i found that working through telnet didnt gave me much errors compared to ssh. maybe it was the code i was reproducing from the web.

Offline

 

#10 2011-05-04 19:01:41

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Newbie guide to perfect setup

sarvesh29 wrote:

still reading about what to do next.

I think you're going about this the wrong way. It "should" be less about what it can do and more about what you need and want it to do. Also, take into consideration that this box has limited memory and CPU resources. All those extras may come at a cost of reduced responsiveness and lower transfer rates.

The "perfect setup" is in the eyes of the beholder.
Having said that, here's a thread covering what other people have done with their DNS-323, to inspire you: http://dns323.kood.org/forum/viewtopic.php?id=6351

Last edited by scaramanga (2011-05-04 19:05:41)


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#11 2011-05-04 19:12:33

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

yes.i will take that into consideration. but i think i will stop at torrents.
in the web interface, i was testing a torrent.i get following error :

Error: Permission denied (/home/nobody/Downloads/Harry Potter And The Deathly Hallows Part 1 (2010)/HP7.2010.BRRip.720p.Bluray.YIFY.mk

and did that on putty :
$ /ffp/start/transmission.sh stop   (wait a while after this)
$ chown -R nobody /mnt/HD_a2/.transmission-daemon
$ chown -R nobody /mnt/HD_a2/Downloads

but still same problem.

Offline

 

#12 2011-05-04 21:56:46

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

You need to change the download location to /mnt/HD_a2/Downloads in the settings.json file or change the permisisons on (/home/nobody/Downloads


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#13 2011-05-05 11:09:54

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Newbie guide to perfect setup

Unless you moved the home directory, using it as the target to your download is not a good idea, since it is located in-memory and not in any of the HDDs. memory is very limited on the DNS-323.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#14 2011-05-05 15:11:55

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

figured it out.my download directory was set as an incoming folder, but the incomplete torrent was not set to mount on the HD_a2 thus the error.

Offline

 

#15 2011-05-05 18:13:05

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

i think am satisfied with the setup. i will be adding torrent through ddns maybe...
my question is: will a log be generated ? can it be stopped or should i move it to usb to let disk spin down?

Offline

 

#16 2011-05-06 17:59:59

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

since some hours have been getting this message after login in:

BusyBox v1.11.2 (2010-02-02 10:50:14 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

what can i do?

Offline

 

#17 2011-05-06 19:49:38

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

Looks like you have a bad script somewhere perhaps. Does it come up on its own? Perhaps a cron job?


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#18 2011-05-12 11:36:28

andrew5368
Member
Registered: 2009-12-28
Posts: 41

Re: Newbie guide to perfect setup

So am I right in thinking there's no special trick to making the disks not spin up other than

a) Don't hit them that much with torrents running 24/7
b) Things that log to disk -> Point them at a USB stick

There's nothing more to it?

Offline

 

#19 2011-05-12 13:35:34

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

Any activity causes the disks to spin up or stay running. Lack of activity for x minutes allows them to sleep. That's all there is to it. You have to figure out what is running and configure accordingly.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#20 2011-05-12 14:54:39

andrew5368
Member
Registered: 2009-12-28
Posts: 41

Re: Newbie guide to perfect setup

But those two are the most common? I imagine most people have a relatively similar set up when it comes to fun plug

Offline

 

#21 2011-05-13 20:05:04

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

My torrents are limited to 1 a night..so no big activities.just the logs which i will shift later.and i got the login bad script right after some restarts.

Offline

 

#22 2011-05-13 20:15:28

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

One thing is on my mind, why do i get FAILED on the Disk Tools 'scan disk' ? Do i have to be worried? The drive is on ext3.

Offline

 

#23 2011-05-13 23:23:20

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Newbie guide to perfect setup

I've never run it myself. I believe I read once that FFP causes the scan to fail, either that or it was buggy in some FW versions. Did you install the SMART utilities? I'd check there for any issues before getting worried.

Last edited by FunFiler (2011-05-13 23:24:17)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#24 2011-05-14 09:59:48

sarvesh29
Member
Registered: 2011-05-03
Posts: 23

Re: Newbie guide to perfect setup

Okay. I think it must be ffp.

Last edited by sarvesh29 (2011-05-14 10:00:19)

Offline

 

#25 2011-05-14 15:51:19

andrew5368
Member
Registered: 2009-12-28
Posts: 41

Re: Newbie guide to perfect setup

Well I got failed not too long ago and it turned out my disk broke 2 weeks later .. this is obviously purely anecdotal but it may be worth checking it out, i lost around 1tb of data (i know, i should have backed up, that's what i'm doing now)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB