Forum: Mikrocontroller und Digitale Elektronik Raspberry Pi 2 NAS


von --- GeneralUltra758 -. (Firma: Bundeswehr AWS EGS) (genultra758)


Lesenswert?

Hey I recently turned my Raspberry PI 2 into a NAS (also reachable 
through the www) via proftpd.

It works just fine but i noticed that Windows (where i attached the pi 
NAS as network drive) still downloads the files i access to the temp 
folder rather then opening it as it would on a local drive.

This is somewhat a problem especially if you want to launch a program 
stored on the NAS as it would have to download it first but then it 
still has no access to other parts of the program (DLLs for example)
also every movie stored on the NAS has to be downloaded first, in order 
to be played.

Is there a better way then FTP to accomplish a NAS without the need to 
download it first but still have the ability to access it from the 
internet?

(by that i mean that windows is directly accessing the PI NAS like a 
local drive.)

Thanks for every answer in advance.

ps.: sorry for any typos but my english writing isn't the best ;)
pps.: I wasn't sure where to put this topic. Hope i am not too Offtopic 
here

- GenUltra758

von Wilma (Gast)


Lesenswert?

--- GeneralUltra758 -. schrieb:
> This is somewhat a problem especially if you want to launch a program
> stored on the NAS as it would have to download it first but then it
> still has no access to other parts of the program (DLLs for example)

Weird. Usually DLLs are loaded first, and then the executable, and then 
the operating system decides, which of the 1000s of DLLs is required for 
the executable to run.

von Bernd K. (movin)


Lesenswert?

Hi,
google for "samba linux".

mfg

von --- GeneralUltra758 -. (Firma: Bundeswehr AWS EGS) (genultra758)


Lesenswert?

it said it couldnt acces file "ftp://servername/folder/filename"
also upon opening/starting the program windows was downloading it to a 
temp folder, which is what i dont want it to do.

edit: the thing about the DLLS was a example anyway. it generally failed 
to load any file required for the exe to run properly

von Wilma (Gast)


Lesenswert?

Hi,
google for "nas".
google for "linux".
google for "windows".
google for "file system".

mfg

von Fred (Gast)


Lesenswert?

Hi,
google for "unix".
google for "nfs".
google for "windows7 nfs".
google for "why you should not use rasp pi as a nas".

mfg

von leeer (Gast)


Lesenswert?

Fred is just trolling, ignore him. You got the answer already, -> SAMBA.

von Marc S. (marc_s86)


Lesenswert?

Actually Samba is only half the truth:
You also want a VPN to access your Samba shares over the Internet.

von Fred (Gast)


Lesenswert?

> Fred is just trolling

u should know: nfs is included in windows 7

no need for stinking cifs/samba.

von --- GeneralUltra758 -. (Firma: Bundeswehr AWS EGS) (genultra758)


Lesenswert?

ok, thanks to everyone for all the answers.

i will try it out once i've got time for it. i might post an update if 
it worked

von --- GeneralUltra758 -. (Firma: Bundeswehr AWS EGS) (genultra758)


Lesenswert?

Marc S. schrieb:
> Actually Samba is only half the truth:
> You also want a VPN to access your Samba shares over the Internet.

i currently have a DynDNS set up on my router. as FTP goes it works just 
fine

von Harry L. (mysth)


Lesenswert?

Use OwnCloud!
https://owncloud.org/

It's available for Raspberry Pi (even thrue the repositories) and 
includes all the goodies you ask for.

Easy to setup with a widespread community.

Clients for all major OS are also available, and you get an nice GUI to 
control permissions and other tasks.

Harry

von Marc S. (marc_s86)


Lesenswert?

Harry L. schrieb:
> Use OwnCloud!
> https://owncloud.org/
>
> It's available for Raspberry Pi (even thrue the repositories) and
> includes all the goodies you ask for.
>
> Easy to setup with a widespread community.
>
> Clients for all major OS are also available, and you get an nice GUI to
> control permissions and other tasks.
>
> Harry

but you need to download the files(own cloud does that in the 
background), but the files occupy additional space.

--- GeneralUltra758 -. schrieb:
> Marc S. schrieb:
>> Actually Samba is only half the truth:
>> You also want a VPN to access your Samba shares over the Internet.
>
> i currently have a DynDNS set up on my router. as FTP goes it works just
> fine

FTP is designed to do such things. I think you should not create a 
publicly reachable samba server.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.