Network in Qnx 4.25

Im newbie in QNX and i have trouble with my network. I have a machine with 4.25 and other machines with windows. The problem is when i do a PING over the network it doesnt retrieve me anything.

Be more specific!

What do you ping? Why it?
What is the network settings at the windows hosts?

What do you see when you do sin ve at the QNX4 host?

Have you set up TCP/IP on the QNX-4.25?

We are new to the QNX experience as well and having a fun time trying to debug why the TCP/IP is not communicating with our Linux machines the ping of the Linux systems comes back with

PING 192.168.10.10 (192.168.10.10) 56(84) bytes of data.
From 192.168.10.12: icmp_seq=1 Destination Host Unreachable

Network Background

DNS servers
..**.4
...4
..
.3
Gateway
...1
Linux Machine
..
,12
QNX 4.25 Machine
...10

Not sure if ip is configured correctly but it shows in the table

We did not set up any DNS servers, or the gateway.

Could this be a problem

Is there a step by step tutorial on setting up TCP/IP on the QNX system.

Is it possible the MAC address in the netmap file doesn’t match that of the NIC.

What if you ping from QNX to Linux.

A ping from the QNX machines gives the same result. Host unreacable.

As for Netmap typing less netmap yields:
one-to-one

Just for the record this is the first time I am trying to setup QNX. Getting te Linux and QNX machines to communicate is not a vital part of the network but it will help for future applications.

We just try to get communication between the machines to see if it would be possible.

As for the MAC address how is it obtained in QNX, we have no reference as it has two onboard network controllers.

Please post the output of netinfo -l, ifconfig en1, sin, sin ver.

It should be no problem to create such a setup.

netinfo -l

Total Number Of Net Driver Slots: 2

Driver Slot 0: Driver Pid 4278 Logical Net 1 Network Card: Ethernet/UNKNOWN SUBTYPE 34

Driver Slot 1: Unused

ifconfig en1

en1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
inet 192.168.10.10 netmask ffffff00 broadcast 192.168.10.255

sin

SID PID PROGRAM PRI STATE BLK CODE DATA
– – Microkernel — ----- — 10524 0
0 1 sys/Proc32 30f READY — 118k 786k
0 2 sys/Slib32 10r RECV 0 53k 4096
0 4 /bin/Fsys 10r RECV 0 77k 72740k
0 5 /bin/Fsys.eide 22r RECV 0 61k 114k
0 8 idle 0r READY — 0 122k
0 16 //1/bin/Dev32 24f RECV 0 32k 90k
0 19 //1/bin/Dev32.ansi 20r RECV 0 40k 135k
0 21 //1/bin/Dev32.pty 20r RECV 0 12k 32k
0 24 //1/bin/Fsys.floppy 10o RECV 0 20k 40k
0 25 //1/bin/Pipe 10r RECV 0 16k 32k
0 30 //1/bin/nameloc 20o RECV 0 6144 20k
0 31 //1/bin/nameloc 20o REPLY 0 6144 16k
0 56 //1//usr/bin/syslogd 10o RECV 0 36k 32k
0 61 //1/bin/tinit 10o WAIT -1 16k 28k
1 63 //1/bin/ksh 10o WAIT -1 47k 53k
1 3758 //1/bin/ksh 10o WAIT -1 47k 49k
1 4275 //1/bin/Net 23r RECV 0 32k 73k
1 4278 //1/bin/Net.i82540 20r RECV 0 28k 438k
1 4283 //1/
/usr/ucb/Socket 22r RECV 0 225k 208k
1 4294 //1/*/usr/ucb/inetd 10o RECV 4295 36k 36k
1 23409 //1/bin/Dosfsys 10o RECV 0 49k 77k
1 24170 //1/bin/sin 10o REPLY 1 45k 40k

sin ver

PROGRAM NAME VERSION DATE
sys/Proc32 Proc 4.25L Feb 15 2001
sys/Proc32 Slib16 4.23G Oct 04 1996
sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24V Feb 18 2000
/bin/Fsys Floppy 4.24B Aug 19 1997
/bin/Fsys.eide eide 4.25A Feb 09 2000
//1/bin/Dev32 Dev32 4.23G Oct 04 1996
//1/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//1/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//1/bin/Pipe Pipe 4.23A Feb 26 1996
[/b]//1/bin/Net Net 4.25C Aug 30 1999[b]
//1/bin/Net.i82540 Net.i82540 4.25E Apr 08 2005
//1/*/usr/ucb/Socket Socket 4.25H Jul 30 1999
//1/bin/Dosfsys Dosfsys 4.23E Jan 21 1997

netinfo -l

Total Number Of Net Driver Slots: 2

Driver Slot 0: Driver Pid 4278 Logical Net 1 Network Card: Ethernet/UNKNOWN SUBTYPE 34

Driver Slot 1: Unused

ifconfig en1

en1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
inet 192.168.10.10 netmask ffffff00 broadcast 192.168.10.255

sin

SID PID PROGRAM PRI STATE BLK CODE DATA
– – Microkernel — ----- — 10524 0
0 1 sys/Proc32 30f READY — 118k 786k
0 2 sys/Slib32 10r RECV 0 53k 4096
0 4 /bin/Fsys 10r RECV 0 77k 72740k
0 5 /bin/Fsys.eide 22r RECV 0 61k 114k
0 8 idle 0r READY — 0 122k
0 16 //1/bin/Dev32 24f RECV 0 32k 90k
0 19 //1/bin/Dev32.ansi 20r RECV 0 40k 135k
0 21 //1/bin/Dev32.pty 20r RECV 0 12k 32k
0 24 //1/bin/Fsys.floppy 10o RECV 0 20k 40k
0 25 //1/bin/Pipe 10r RECV 0 16k 32k
0 30 //1/bin/nameloc 20o RECV 0 6144 20k
0 31 //1/bin/nameloc 20o REPLY 0 6144 16k
0 56 //1//usr/bin/syslogd 10o RECV 0 36k 32k
0 61 //1/bin/tinit 10o WAIT -1 16k 28k
1 63 //1/bin/ksh 10o WAIT -1 47k 53k
1 3758 //1/bin/ksh 10o WAIT -1 47k 49k
1 4275 //1/bin/Net 23r RECV 0 32k 73k
1 4278 //1/bin/Net.i82540 20r RECV 0 28k 438k
1 4283 //1/
/usr/ucb/Socket 22r RECV 0 225k 208k
1 4294 //1/*/usr/ucb/inetd 10o RECV 4295 36k 36k
1 23409 //1/bin/Dosfsys 10o RECV 0 49k 77k
1 24170 //1/bin/sin 10o REPLY 1 45k 40k

sin ver

PROGRAM NAME VERSION DATE
sys/Proc32 Proc 4.25L Feb 15 2001
sys/Proc32 Slib16 4.23G Oct 04 1996
sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24V Feb 18 2000
/bin/Fsys Floppy 4.24B Aug 19 1997
/bin/Fsys.eide eide 4.25A Feb 09 2000
//1/bin/Dev32 Dev32 4.23G Oct 04 1996
//1/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//1/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//1/bin/Pipe Pipe 4.23A Feb 26 1996
//1/bin/Net Net 4.25C Aug 30 1999
//1/bin/Net.i82540 Net.i82540 4.25E Apr 08 2005
//1/*/usr/ucb/Socket Socket 4.25H Jul 30 1999
//1/bin/Dosfsys Dosfsys 4.23E Jan 21 1997

Driver Slot 0: Driver Pid 4278 Logical Net 1 Network Card: Ethernet/UNKNOWN SUBTYPE 34

This is odd, it looks like the version of netinfo isn`t uptodate. There is valuable information missing from the output of netinfo -l (number of packet txed and rxed).

Not the cause of the problem, but there is version 5.0 of TCP/IP that is available. Wouldn’t hurt to upgrade.

Can TCP/IP 5 be downloaded or should I contact the distributer to purchase it.

It should be a free update. Should be able to download if from www.qnx.com

Have you set up a route with ‘route’ ?

no need for a route, it’s on the same segment.

ok , but i just remember some strange effects when we didnt have a default route… Thinking about it though, that was probably because we had two network cards active at the same time.

I got TCP/IP 5 installed, not quite certain if it is correct as there is some corrupted file tcptk425to5.changes
and during installation there was something about crypt missing?

Strangely though the second system running on TCP/IP 4.24 can now communicate with the TCP/IP network

I am not sure if our TCP/IP 4.24 installation disk are corrupted or that the TCP/IP requires TCP/IP 4.25 ?

Right the QNX box can ping the boxes on the network but does not answer a ping.

While installing TCP/IP5 it was looking for qcrypt otherwise it defaults to beta.

So currently I have beta drivers though using Socket from 4.25

Next problem is I have two QNX machines on the network

ifconfig en1 … determines which pc can answer a ping and both PC’s can send ping across network.

Seems strange that only one PC can answer to a ping.