I am currently trying to use ftpd on an embedded system. Whenever I try
to run it, it returns with an error and writes “getpeername (ftpd): Function
not implemented” to the log. I guess I am probably missing something or have
a directory in the wrong place on the build for the embedded system and I
was hoping that it would be obvious to someone reading this message.
Cheers
ftpd expects its stdin to be a socket. inetd takes care of this (run inetd
and have it start ftpd).
-seanb
Poseidon <a@b.com> wrote:
I am currently trying to use ftpd on an embedded system. Whenever I try
to run it, it returns with an error and writes “getpeername (ftpd): Function
not implemented” to the log. I guess I am probably missing something or have
a directory in the wrong place on the build for the embedded system and I
was hoping that it would be obvious to someone reading this message.
Cheers
Paul,
Check that you are using inetd to kick things off also are you having
problems with Telnet?
If so, check your permissions on the files in the embedded system. Have
a loog for files that have the s bit set on your development machine.
Cheers
Dave
Poseidon wrote:
I am currently trying to use ftpd on an embedded system. Whenever I try
to run it, it returns with an error and writes “getpeername (ftpd): Function
not implemented” to the log. I guess I am probably missing something or have
a directory in the wrong place on the build for the embedded system and I
was hoping that it would be obvious to someone reading this message.
Cheers
Thank you gentlemen,
inetd was the answer. I’ve been stripping stuff out of the build file
and thought that I could launch ftpd direct from the command line. Silly me.
Cheers