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 2007-10-02 14:10:17

hi.622823
Member
Registered: 2007-10-02
Posts: 10

2 quick questions

hey all,

is it possible to:

1.  dowloand files from this nas via a web interface?  i want to set this up as a movie server, and i have friends/family who will not be comfortable
     with using an ftp client.

2.  to have better file management?  the idea is to have say 1 folder for private use and another that's publicly accessible.  (as you may surmise,
     i am somewhat of a linux newb).

tia.

Offline

 

#2 2007-10-02 14:23:36

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: 2 quick questions

hi.622823 wrote:

1.  dowloand files from this nas via a web interface?  i want to set this up as a movie server, and i have friends/family who will not be comfortable
     with using an ftp client.

Yes, it's possible to run a web server, though it's not trivial to run it on the default port (80). The lighttpd in my funplug will run on port 8080 by default (so you have to point your web browser to http://whatever-name-or-ip-address-youve-got:8080/).

hi.622823 wrote:

2.  to have better file management?  the idea is to have say 1 folder for private use and another that's publicly accessible.  (as you may surmise,
     i am somewhat of a linux newb).

Regarding the web server, you can configure access rights per directory. I suggest reading the lighttpd manual. To edit the config file, try the joe add-on, if you don't know how to use the included vi.

Offline

 

#3 2007-10-02 14:51:15

hi.622823
Member
Registered: 2007-10-02
Posts: 10

Re: 2 quick questions

i did have one last question, regarding hot swappable drives (didn't find a satisfactory answer in the forum).  suppose you have 2 sata drives, in a raid 1 configuration, both drives with the ext2 filesystem.  say 1 drive becomes defective. is it possible to replace that drive with the nas powered on?

thanks again.

Offline

 

#4 2007-10-02 17:05:42

blizzard182
Member
Registered: 2007-09-20
Posts: 52

Re: 2 quick questions

hi.622823 wrote:

i did have one last question, regarding hot swappable drives (didn't find a satisfactory answer in the forum).  suppose you have 2 sata drives, in a raid 1 configuration, both drives with the ext2 filesystem.  say 1 drive becomes defective. is it possible to replace that drive with the nas powered on?

thanks again.

I would definitely WONT do that. How Swap disks are expensive and the technology is far more advanced. I dont think the 323 supports that.

Hell, they should be advertising that if that were true.

I might be wrong

Last edited by blizzard182 (2007-10-02 17:08:48)

Offline

 

#5 2007-10-02 18:12:49

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: 2 quick questions

Pull one of your SATA disks and look at the connectors - you'll notice that some of the fingers are longer than the others - those are ground connections, and they are longer for a reason - SATA is designed for hot swapping - and it is perfectly safe to hot swap the disks.

With that said - hot swap hardware is only half the equation - you also need the firmware/software to support it.  The DNS-323 firmware does not support hot swap and the unit will not rebuild the "failed" disk - so whilst hot swapping is possible, it won't get you anywhere.

Offline

 

#6 2007-10-03 01:09:02

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: 2 quick questions

though i cannot confirm whether the DNS is hot swappable or not, i have read within these forums that someone here has done hot swap many times with no issues. however, just be safe and power down.

Offline

 

#7 2007-10-03 06:55:13

hi.622823
Member
Registered: 2007-10-02
Posts: 10

Re: 2 quick questions

also, regarding fonz's response...i am quite willing to read the httpd manual to setup directory/file permissions etc.  but it will take me some time to understand it.  meanwhile, files will be accessed via a command line.  my question is can i make certain files/folders private (ie only accessible from my lan) and others public by telnetting into the dns-323?

cheers.

Offline

 

#8 2007-10-03 07:25:57

mamahuhu
Member
Registered: 2007-09-29
Posts: 8

Re: 2 quick questions

hi.622823 wrote:

also, regarding fonz's response...i am quite willing to read the httpd manual to setup directory/file permissions etc.  but it will take me some time to understand it.  meanwhile, files will be accessed via a command line.  my question is can i make certain files/folders private (ie only accessible from my lan) and others public by telnetting into the dns-323?

cheers.

You can change smb.conf, for example:

[ priv share ]
        hosts allow = 192.168.1.0/24 127.0.0.1
        hosts deny = 0.0.0.0/0
        ...

[ pub share ]
        ...

providing that you don't set your global hosts allow/deny to overrule these.

You will need a fun_plug to persist the change to disk

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB