telnet and ftp server

Hi,
How do I start a telnet and ftp server on an PC-104 stack.
I have my own boot image created. I know I have to use inetd , but what
other files should i include in the image script so that my telnetd and
ftpd daemons start working.

Thanks
Srikanth

Srikanth Saripalli <srik@robotics.usc.edu> wrote:
Hello Srikanth,

Hi,
How do I start a telnet and ftp server on an PC-104 stack.
I have my own boot image created. I know I have to use inetd , but what
other files should i include in the image script so that my telnetd and
ftpd daemons start working.

You have to include your network utilities that you wish to use.
Your /etc/passwd, /etc/ionetd.conf and /etc/services should do it.

Something like:

/etc/passwd = {
root…
guest…
}

/etc/inetd.conf = {
ftp stream tcp nowait root /proc/boot/ftpd in.ftpd -ln
telnet stream tcp nowait root /proc/boot/telnetd in.telnetd -n -Q
}

/etc/services = {
ftp 21/tcp
telnet 23/tcp
}

Best Regards,

Marcin

Thanks
Srikanth

Tools Mail Account <tools@qnx.com> wrote:

Srikanth Saripalli <> srik@robotics.usc.edu> > wrote:
Hello Srikanth,

Hi,
How do I start a telnet and ftp server on an PC-104 stack.
I have my own boot image created. I know I have to use inetd , but what
other files should i include in the image script so that my telnetd and
ftpd daemons start working.

You have to include your network utilities that you wish to use.
Your /etc/passwd, /etc/ionetd.conf and /etc/services should do it.

probably /etc/protocols too.

-xtang

Something like:

/etc/passwd = {
root…
guest…
}

/etc/inetd.conf = {
ftp stream tcp nowait root /proc/boot/ftpd in.ftpd -ln
telnet stream tcp nowait root /proc/boot/telnetd in.telnetd -n -Q
}

/etc/services = {
ftp 21/tcp
telnet 23/tcp
}

Best Regards,

Marcin

Thanks
Srikanth