WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: FTP server  (Read 460 times)

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
FTP server
« on: October 30, 2017, 10:52:11 PM »
i want install vsftpd on PiCore 9.0

when i tried
Code: [Select]
tce-load -wi vsftpdi get this

Code: [Select]
Downloading: vsftpd.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: vsftpd.tcz.md5.txt: No such file or directory
Error on vsftpd.tcz

and i cant find vsftpd on appbrowser. any idea? i need your help, thank you

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9607
Re: FTP server
« Reply #1 on: October 30, 2017, 11:44:59 PM »
How about gftp, lftp or ncftp?

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #2 on: October 31, 2017, 12:00:05 AM »
Thank you Juanito. i will try it  :D

wait those are ftp server right? not a client? because i want use PiCore as FTP server.
« Last Edit: October 31, 2017, 12:02:41 AM by Ricochet_Choco »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9607
Re: FTP server
« Reply #3 on: October 31, 2017, 03:31:15 AM »
Code: [Select]
$ tftpd --help
BusyBox v1.26.2 (2017-05-05 07:13:57 UTC) multi-call binary.

Usage: tftpd [-cr] [-u USER] [DIR]

Transfer a file on tftp client's request

tftpd should be used as an inetd service.
tftpd's line for inetd.conf:
        69 dgram udp nowait root tftpd tftpd -l /files/to/serve
It also can be ran from udpsvd:
        udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve

        -r      Prohibit upload
        -c      Allow file creation via upload
        -u      Access files as USER
        -l      Log to syslog (inetd mode requires this)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9612
Re: FTP server
« Reply #4 on: October 31, 2017, 10:31:33 AM »
TFTP is a different protocol. OP, if there's no server in the repo, you can compile one.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5470
Re: FTP server
« Reply #5 on: October 31, 2017, 10:51:51 AM »
Hi Ricochet_Choco
Try  inetutils-servers.tcz. It contains:
Code: [Select]
usr/local/sbin/inetd
usr/local/sbin/rexecd
usr/local/sbin/rlogind
usr/local/sbin/rshd
usr/local/sbin/syslogd
usr/local/sbin/tftpd
usr/local/sbin/uucpd
usr/local/sbin/telnetd
usr/local/sbin/ftpd <------------- Is this what you want?
usr/local/sbin/talkd

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #6 on: November 01, 2017, 08:59:30 AM »
Code: [Select]
$ tftpd --help
BusyBox v1.26.2 (2017-05-05 07:13:57 UTC) multi-call binary.

Usage: tftpd [-cr] [-u USER] [DIR]

Transfer a file on tftp client's request

tftpd should be used as an inetd service.
tftpd's line for inetd.conf:
        69 dgram udp nowait root tftpd tftpd -l /files/to/serve
It also can be ran from udpsvd:
        udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve

        -r      Prohibit upload
        -c      Allow file creation via upload
        -u      Access files as USER
        -l      Log to syslog (inetd mode requires this)

what is this mean? i dont understand. i am new to linux. thank you for your reply

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #7 on: November 01, 2017, 09:01:37 AM »
TFTP is a different protocol. OP, if there's no server in the repo, you can compile one.

how can i do that?? try vsftpd on linux mint on my pc and it was working. but on PiCore i cant find any vsftpd. so i dont know

Thank you for reply

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #8 on: November 01, 2017, 09:03:52 AM »
Hi Ricochet_Choco
Try  inetutils-servers.tcz. It contains:
Code: [Select]
usr/local/sbin/inetd
usr/local/sbin/rexecd
usr/local/sbin/rlogind
usr/local/sbin/rshd
usr/local/sbin/syslogd
usr/local/sbin/tftpd
usr/local/sbin/uucpd
usr/local/sbin/telnetd
usr/local/sbin/ftpd <------------- Is this what you want?
usr/local/sbin/talkd

Yes Rich, i want ftp server. how can i do that? i mean using inetutils-servers? can you give me instruction?

thank you for your reply

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5470
Re: FTP server
« Reply #9 on: November 01, 2017, 09:09:07 AM »
Hi Ricochet_Choco
Use the  Apps  utility to install  inetutils-servers  or use this command:
Code: [Select]
tce-load -wi inetutils-servers

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #10 on: November 01, 2017, 10:27:24 AM »
Hi Ricochet_Choco
Use the  Apps  utility to install  inetutils-servers  or use this command:
Code: [Select]
tce-load -wi inetutils-servers

i am try it and it like this

Code: [Select]
tc@box:~$ tce-load -wi inetutils-servers
inetutils-servers.tcz.dep OK
Downloading: inetutils-servers.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
inetutils-servers.tc 100% |*****************************************************************************|   296k  0:00:00 ETA
inetutils-servers.tcz: OK

and after this what should i do?

i am sorry, im completely new to networking and linux.


thank for your reply Rich

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5470
Re: FTP server
« Reply #11 on: November 01, 2017, 06:40:39 PM »
Hi Ricochet_Choco
Take a look at this thread and see if it helps:
http://forum.tinycorelinux.net/index.php/topic,13340.msg73948.html#msg73948

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #12 on: November 06, 2017, 02:29:37 AM »
Hi Ricochet_Choco
Take a look at this thread and see if it helps:
http://forum.tinycorelinux.net/index.php/topic,13340.msg73948.html#msg73948

im try to enter those thread but still didnt get it. :'(

i still dont know what to do.

thank you for your reply.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9607
Re: FTP server
« Reply #13 on: November 06, 2017, 02:40:52 AM »
please post the steps you have taken and the error messages you get, for example:
Code: [Select]
$ tce-load -i inetutils-servers
$ cat /usr/local/etc/inetd.conf
ftp    stream tcp4 nowait root /usr/local/sbin/ftpd    ftpd -A
$ sudo /usr/local/sbin/inetd
...

Offline Ricochet_Choco

  • WikiUser
  • *
  • Posts: 10
Re: FTP server
« Reply #14 on: November 06, 2017, 03:50:09 AM »
Thank you Juanito,

as far as i know im just only install inetutils server. after that i dont know what to do.

im new to this so i dont know.

i want to install ftp server for my PiCore. i hope you can guide me. thanks