ftp??

I’m looking into the ftp apps for the drobofs. What im looking for is a way to put files on the drobo like my pictures i need to send out and either up 200-500 images or a single zip that is about 6 gigs. Then have my dad pull the file from his computer. I thought oxygen cloud would be good for this but it seems much more adavanced. So what ftp app would be best there are 3-4 apps on droboapps site. Pureftpd,lighttpd , dropbear. what will be the easiest to use. I’m not a network admin and am learning this stuff.

anyone??? I can get in vis ssh locally but thats about it.

The FTP program is Pureftpd. You can get documentation on how to configure it from here.

i’ve got pureFTPd and dropbear running.
i can ftp into it as root.
but what about the rest? How do I create users and specify their home directories?

I am sure if you search this site you can find plenty of threads on how to use the app

Hi, just to ley you know, I posted a ProFTPD DroboApp here: http://www.droboports.com/app-repository/proftpd-1-3-3d

It should be much easier to setup than PureFTPd, and it already comes preconfigured with one “admin” read/write account and one “anonymous” read-only account. Even better, it comes with a web interface to change the admin password and disable the anonymous access.

ricardo,

Is it possible to access folders on another machine through ProFTPd or PureFTP? for example, i have 2 machines with FTP running and SMB. They can see each other so could I do something like a symbolic link?

With my limited knowledge and experience I would think that I could mount a remote folder on the Drobo using fstat, then symlink it to the FTP shared directory.

I don’t know if I am on the right track or not, but if you could provide some guidance I would really appreciate it.

Also, I want to use SFTP instead of FTP. Should I just use OpenSSH and make the user folder FALSE (so they don’t have shell access) or would ProFTP/PureFTPd do the job just fine?

I’m not sure what is this “fstat” thing, but I can tell you that the FS does not ship with any tools to mount remote folder (no smbclient, no fuse kernel module, and so on). In other words, nope, the FS can’t share folders from another machine through FTP because it can’t mount them locally in the first place.

First, SFTP and FTPS are two very different things. SFTP is the big brother of SCP: SCP is “cp over SSH” and SFTP is “FTP over SSH”. FTPS is a completely different protocol, and means “FTP over SSL” (it bypasses SSH completely).

SCP and SFTP require OpenSSH. FTPS just needs ProFTPd compiled with SSL. Because they require OpenSSH, SCP and SFTP require users to be added to /etc/passwd with a valid shell (thus having full SSH access unless you make some dirty workarounds).

ProFTPd has its own passwd file (see proftpd/etc/passwd), making it safe to add any number of accounts without giving any of them shell access. Mind you, the accounts still need a valid shell (something like /bin/sh, not /bin/false), but this does not given them shell access since OpenSSH does not recognize that passwd file.

i know i want sftp and not sftp, just wasnt sure if pureftp/proftp had configurations for it.

also, the config file i was thinking of was /etc/fstab, not fstat. i didnt have time to play with the drobo tonight but here is the ubuntu refrerence page for fstab: https://help.ubuntu.com/community/Fstab

where can i get the detailed specs on the drobo like cpu, ram, linux version… etc? is the linux on the drobo a common distrobution like arc or something? i would like to dive into modding some apps.

Huh?

In that case, sorry, no can do. Fstab only lists the filesystems. You still need the kernel modules to mount the remote folders. And those are not present on the FS.

Hardware info can be found here. The output of uname -a is:

Linux DroboFS 2.6.22.18 #1 Thu Jan 20 14:29:47 PST 2011 armv5tejl GNU/Linux

You can request the kernel source code from DRI. I’ve done so, and it seems to be a vanilla kernel. However, although I managed to compile new kernel modules, I’ve been unable to load them on the FS, much to my chagrin. If you manage to load them, please let us know how you did it.

[quote][quote=“ricardo, post:10, topic:2246”]

Huh?[/quote]

Sorry, I was trying to type that on my tablet last night. I know I want SFTP and not FTPS.

[quote][quote=“spazlon, post:9, topic:2246”]
also, the config file i was thinking of was /etc/fstab, not fstat
[/quote]

In that case, sorry, no can do. Fstab only lists the filesystems. You still need the kernel modules to mount the remote folders. And those are not present on the FS.

Hardware info can be found here. The output of uname -a is:

Linux DroboFS 2.6.22.18 #1 Thu Jan 20 14:29:47 PST 2011 armv5tejl GNU/Linux

You can request the kernel source code from DRI. I’ve done so, and it seems to be a vanilla kernel. However, although I managed to compile new kernel modules, I’ve been unable to load them on the FS, much to my chagrin. If you manage to load them, please let us know how you did it.
[/quote][/quote]

Alright, I will dig deeper into this. Is there any chance of “bricking” the device should I do something wrong or can I always go back and reload the original kernel?

Yes. If you mess with the files from the flash memory you might very easily brick the thing (which is basically all of the filesystem, with the exception of /mnt/DroboFS), especially if you somehow prevent it from completing boot procedure.

I remember someone posted a thread about how he/she mistakenly deleted everything under /. The short version is that the FS had to go for repairs. (At least that is how I remember it - can’t find the post right now)

So whats the best/simplest way to do SFTP on Drobo FS?

Use OpenSSH and just SCP in. you can use something like Filezilla and connect on port 22 with a user/pass you set up. You may have to create a user/pass tbrough SSH, not sure if the Drobo admin will create the right permissions.

I don’t see any OpenSSH for Drobo, just Dropbear? I don’t want the SFTP user to go into a home directory though, just a single directory I specified for SFTP because it will be used to sync files.

Do a quick Google search for ssh chroot jail, or ssh jail users, or something like that. You will find lots of articles on how to confine users to their home directories when they SSH in. I’m almost positive that Dropbear will let you SCP, but I use OpenSSH which I found on Ricardo’s site (http://www.droboports.com/).

Actually, the main reason I ported OpenSSH was because Dropbear (at least the version that DRI provides) is not capable of doing SCP.

The direct link to OpenSSH: http://www.droboports.com/app-repository/openssh-6-0