maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Ftp server (https://talk.maemo.org/showthread.php?t=35578)

les_garten 2009-12-09 15:36

Re: Ftp server
 
Quote:

Originally Posted by bandora (Post 419012)
I did a dpkg -i proftpd_1.3.2c-1_armel.deb it goes to "Setting up proftpd (1.3.2c-1)"

Then goes back to /home/user/MyDocs and doesn't show up anywhere.. any suggestions?

Thanks in advance

EDIT: it does show up in the application manager but that's it.. it doesn't show up in the menu..

You bring up a good point. Perhaps all packages should drop a HowTo into the MyDocs dir that tells where everything is and how to use it. This should be a requirement for packagers IMHO.

Bratag 2009-12-09 16:41

Re: Ftp server
 
Quote:

Originally Posted by les_garten (Post 418968)
I do see an advantage to having a FTP server that is started "on occasion" on N900. Every Windows OS has an FTP client built in. If you do support, you might have some files kept on your device. Then you could start the server if you need the files and make them available over the network. Then stop the server when you're done. It would require no SW to be put on the client machine and could be quickly deployed.

Exactly - not every box I want to transfer from runs an ftp server. I much prefer ftping into the N900 than out.

On another note this auto build process is dumber than hell.

I will try another shot at it and then I will just put the deb up at my garage page.

Bratag 2009-12-09 19:32

Re: Ftp server
 
Well it took me hard coding in some of the optifying parameters but the build now works and installs everything in the correct location and looks for everything in the correct locations.

Version e is the on you need.

taril 2009-12-09 20:53

Re: Ftp server
 
I tried to access ftp server via firefox, but it ask username and password.
What are they?

Bratag 2009-12-09 21:56

Re: Ftp server
 
Quote:

Originally Posted by taril (Post 419598)
I tried to access ftp server via firefox, but it ask username and password.
What are they?

You have to configure the /opt/etc/proftpd.conf file first. There are many guides online for how to do that. Personally I use a perl script to generate ftpd.passwd and ftpd.group files and then configure the conf file with


Code:

#Alternative user auth
AuthUserFile /opt/etc/ftpd.passwd
AuthGroupFile /opt/etc/ftpd.group

I can post the perl script here - you will need to grab down some extra perl libs but they are easily found.

taril 2009-12-09 23:09

Re: Ftp server
 
Ok, thank you very much!

taril 2009-12-10 17:27

Re: Ftp server
 
I cant login with anonymous... Do I miss something? (brain maybe)

Bratag 2009-12-10 19:50

Re: Ftp server
 
Quote:

Originally Posted by taril (Post 421235)
I cant login with anonymous... Do I miss something? (brain maybe)

Its a bad idea to allow anonymous logins - much better to set up an ftp user .

taril 2009-12-10 20:37

Re: Ftp server
 
Ive got it! Thanks!
IS it possible to share the root filesystem?

11/(14-17)/09 2009-12-10 20:44

Re: Ftp server
 
I dunno if this was mentioned, but if someone wants to use t-mobile in the USA with something like this, they can try to get t-mobile total internet with VPN, which they do not NAT.

ex:
http://wiki.howardforums.com/index.p...ernet_with_VPN

or there may be a way to do a socks proxy, and socksify the app... or do an SSH tunnel. As long as they give you a hole somewhere to shove those packets through, you can make it work!


All times are GMT. The time now is 12:47.

vBulletin® Version 3.8.8