Can't use FTP or Telnet to connect to QNX

Hi.

I’m new to QNX and have just installed it on my network. I assigned an
address via DHCP and can ping the machine no problem.

However, when I try to FTP or Telnet from Windows 2K it doesn’t work.
Telnet Error → “Could not open a connection to host on port 23”

FTP Error-> “ftp: connect :Connection refused”

Do I need to start up some FTP/Telnet service or something? I’m just using
the default QNX setup at the moment.

Thanks
James

You could try starting ‘inetd’ (/usr/sbin/inetd).

Martin.

James wrote:

Hi.

I’m new to QNX and have just installed it on my network. I assigned an
address via DHCP and can ping the machine no problem.

However, when I try to FTP or Telnet from Windows 2K it doesn’t work.
Telnet Error → “Could not open a connection to host on port 23”

FTP Error-> “ftp: connect :Connection refused”

Do I need to start up some FTP/Telnet service or something? I’m just using
the default QNX setup at the moment.

Thanks
James

Sorry for my ignorance, but how do I start this ? And can I get this to be
done on startup?

Martin Kraan wrote:

You could try starting ‘inetd’ (/usr/sbin/inetd).

Martin.

James wrote:
Hi.

I’m new to QNX and have just installed it on my network. I assigned an
address via DHCP and can ping the machine no problem.

However, when I try to FTP or Telnet from Windows 2K it doesn’t work.
Telnet Error → “Could not open a connection to host on port 23”

FTP Error-> “ftp: connect :Connection refused”

Do I need to start up some FTP/Telnet service or something? I’m just using
the default QNX setup at the moment.

Thanks
James

Login as root and type: /usr/sbin/inetd &

This can be done at startup by making a executable /etc/rc.d/rc.local
file and put the commands you want to run at startup in there.

Martin.

James wrote:

Sorry for my ignorance, but how do I start this ? And can I get this to be
done on startup?

Martin Kraan wrote:


You could try starting ‘inetd’ (/usr/sbin/inetd).


Martin.


James wrote:

Hi.

I’m new to QNX and have just installed it on my network. I assigned an
address via DHCP and can ping the machine no problem.

However, when I try to FTP or Telnet from Windows 2K it doesn’t work.
Telnet Error → “Could not open a connection to host on port 23”

FTP Error-> “ftp: connect :Connection refused”

Do I need to start up some FTP/Telnet service or something? I’m just using
the default QNX setup at the moment.

Thanks
James

\

Martin Kraan wrote:

You could try starting ‘inetd’ (/usr/sbin/inetd).

Yes.

That’s by design, by the way. QNX by default is
a pure client, and offers almost no services to
external machines. There are lots of things you
can start if you need them, but they’re optional.

This is very nice from a security standpoint.
You don’t want your industrial control computer to
be accepting connections from everybody out there.

Incidentally, there’s secure FTP and secure
shell for QNX, but they’re not in the standard
distribution. We run sshd only, never telnetd.

John Nagle
Team Overbot

James wrote:

Hi.

I’m new to QNX and have just installed it on my network. I assigned an
address via DHCP and can ping the machine no problem.

However, when I try to FTP or Telnet from Windows 2K it doesn’t work.
Telnet Error → “Could not open a connection to host on port 23”

FTP Error-> “ftp: connect :Connection refused”

Do I need to start up some FTP/Telnet service or something? I’m just using
the default QNX setup at the moment.

Thanks
James

Hi

To start ftp server install Pure-ftpd from QNX 6.2.1 repository and add
to /etc/rc.d/rc.local:
/opt/sbin/pure-ftpd &

To start sshd server install OpenSSH from QNX 6.2.1 repository and add
to /etc/rc.d/rc.local:
/opt/sbin/sshd

To start Apache server install Apache from QNX 6.2.1 repository, edit
httpd.conf and add to /etc/rc.d/rc.local:
/usr/sbin/apachectl start

-Jacek