QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
rlogin/telnet difficulties: "Connection closed by foreign host" |
Ref. No. |
QNX.000009502 |
Category(ies) |
Network, Configuration |
Issue |
The following message gets displayed when we try to telnet to a QNX 4 TCP/IP server:
Trying <ip_address>... Connected to <hostname>. Escape character is '^]'. telnetd: :No such file or directory . Connection closed by foreign host.
|
Solution |
The following daemons require that pseudo-tty support be available:
rlogind - remote login telnetd - remote terminal session
To have the host provide remote login or terminal sessions, make sure that the list of boot processes for the host (e.g. /etc/config/sysinit.<node>) includes the pseudo tty driver:
Dev.pty &
If Dev.pty is already running and the above error message is still seen, the number of available pseudo tty devices must be increased. This can be done with the '-n<num>' option to Dev.pty.
For more information, please see the Dev.pty section in the QNX 4 Utilities Reference:
http://support.qnx.com/support/docs/qnx4/utils/index.html |
|