Help with network configuration

Hi guys,
I have a problem to configurate a Network. I´ll explain u the situation.

I have 2 PCs and a router

  • PC n°1 : On this PC is QNX installed
  • PC n°2( Notebook) : On this one is Win XP installed

They are both connected to the router.

so , I can ping both of them with 100% loss packets, i can even ping the rooter from both of them.

Internet connection is working on both Pcs, the problem is, when i try to connect to the QNX PC through Phindows, it don´t work.

plz help.

thx in advance

You need to uncomment phrelay line from /etc/inetd.conf file.

Then you must: slay -s SIGHUP inetd (or run it if is not)

That’s all

Regards,
JM

Thank you very much Juan, it works now ;)

hi Juan, i still have another prob.
i tried to connect to the QNX PC throught FTP, but it don´t works.

  • inetd is activated.
  • ftp and tftp are uncommented in etc/inetd.conf file
  • when i type netstat -a it shows only TCP connection of phrelay and UDP, but no FTP

can u help me plz
THX

Are you trying to ftp as root? Is not very recommended, but if this is the case you must edit /etc/ftpusers and comment “root” line. This file shows a list of “disallowed” users for ftp access (and root is disallowed by default)

Tell me if you still have problems,

JM

Sorry, I didn’t read this…

Hum… ftp is uncomment? And netstat -a shows you that the port is not been listened?

You should see something like this:

tcp 0 0 *.ftp . LISTEN

Strange… check ftp service is configured to be listened in port 21 in /etc/services file… It should be very strange if is not…

Maybe restaring inetd…

Try and tell me.

Hi Juan,

i restarted inetd and when i type netstat -a , i can see that the ftp process is working :slight_smile:
but the ftp connection still not working. it says that the username and pass are wrong.
user and pass = root

root is commented in inetd.conf.

how can i setup another ftp account ?

thx Juan

here is the answer of the FTP client.

	*** CuteFTP 8.3 - build Aug 25 2008 ***

STATUS:> [20.04.2009 21:26:55] Getting listing “/root”…
STATUS:> [20.04.2009 21:26:55] Connecting to FTP server… 192.168.1.25:21 (ip = 192.168.1.25)…
STATUS:> [20.04.2009 21:26:55] Socket connected. Waiting for welcome message…
[20.04.2009 21:26:55] 220 192.168.1.25 FTP server (QNXNTO-ftpd 20070723) ready.
STATUS:> [20.04.2009 21:26:55] Connected. Authenticating…
COMMAND:> [20.04.2009 21:26:55] USER root
[20.04.2009 21:26:55] 331 Password required for root.
COMMAND:> [20.04.2009 21:26:55] PASS *****
[20.04.2009 21:26:55] 530 Login incorrect.
ERROR:> [20.04.2009 21:26:55] Not logged in.
ERROR:> [20.04.2009 21:26:55] Can’t login. Disconnecting…

Did you see my previouse post?. Here it goes again:


Are you trying to ftp as root? Is not very recommended, but if this is the case you must edit /etc/ftpusers and comment “root” line. This file shows a list of “disallowed” users for ftp access (and root is disallowed by default)

Tell me if you still have problems,

JM

yes i´m trying to ftp as root, but root is commented in inetd.conf, so it should be no prob.
do u know how can i setup another ftp account ??

read, /etc/ftpusers not inetd.conf.
inetd.conf just configures the inetd-daemon to use the “ftpd”-deamon for connections on port 21 (default). But ftpd does not read inetd.conf but /etc/ftpusers and ftpd.conf. If you commented or deleted root from /etc/ftpusers and still cannot log into your system you probably have a typo ^^.