telnetd on embedded system

Dear All,

I would like to run telnetd on a small x86 system.

I’m generating a QNX build file, but I’m having difficulties in knowing
which files are needed for telenetd to run. At present if I run
“telnetd -debug”, and try to telnet into the box from a second machine I get
a warning message “qansi-m” terminal is not know". After adding /etc/termcap
to the image the problem is still there.

I have searched QNX online documentation, but with no succes. Can anyone
point me to the right direction ?

I need to find somehow the list of files that telenetd needs to work
correctly. I’m not sure where to get hold of this info.

Thanks a lot for any help,

Andrea.

QNX uses the “terminfo” convention. A good place to start is by looking at
the documentation on the “tic” command.

dB

“Andrea Borsic” <aborsic@brookes.ac.uk> wrote in message
news:afuhib$f49$1@inn.qnx.com

Dear All,

I would like to run telnetd on a small x86 system.

I’m generating a QNX build file, but I’m having difficulties in knowing
which files are needed for telenetd to run. At present if I run
“telnetd -debug”, and try to telnet into the box from a second machine I
get
a warning message “qansi-m” terminal is not know". After adding
/etc/termcap
to the image the problem is still there.

I have searched QNX online documentation, but with no succes. Can anyone
point me to the right direction ?

I need to find somehow the list of files that telenetd needs to work
correctly. I’m not sure where to get hold of this info.

Thanks a lot for any help,

Andrea.

Andrea Borsic <aborsic@brookes.ac.uk> wrote:

Dear All,

I would like to run telnetd on a small x86 system.

I’m generating a QNX build file, but I’m having difficulties in knowing
which files are needed for telenetd to run. At present if I run
“telnetd -debug”, and try to telnet into the box from a second machine I get
a warning message “qansi-m” terminal is not know". After adding /etc/termcap
to the image the problem is still there.

The termcap files are located in /usr/lib/termcap, specifically for qansi

/usr/lib/terminfo/q/qansi
/usr/lib/terminfo/q/qansi-g
/usr/lib/terminfo/q/qansi-m
/usr/lib/terminfo/q/qansi-t
/usr/lib/terminfo/q/qansi-w

And of course you will need /bin/login, /etc/passwd, and /etc/shadow on the
embedded host as well, of course I still might be forgetting something.


regards,
Tom