Andrew,
Thank You for the reply (and everyone else), I have answered your questions the best
that I could
Andrew Thomas wrote:
Previously, Daniel Szymanski wrote in qdn.public.qnx4.devtools:
Mitchell,
I was only trying to run the cross wired cable from the QNX NIC to the windows
PC at this time. I do not have any information at this time about how the
server’s network is configured at this time.
Mitchell Schoenbrun wrote:
Previously, Daniel A. Szymanski wrote in qdn.public.qnx4.devtools:
I have experienced the following network problem under QNX4. Any
solutions are greatly appreciated.
I attempted to connect to an AIX based server from a panel pc with
touchscreen using QNX 4. I could not successfully ping the server.
Parameters are as follows:
Server IP: 152.116.28.152
Gateway IP: 152.116.28.129
QNX IP: 152.116.28.157
What netmask does QNX use? Post the output of ‘ifconfig en1’. Does
this netmask agree with the netmask that windows uses? QNX TCP/IP
will not accept a netmask that creates a supernet, and will re-write
it. Does this netmask agree with the server?
The results of ifconfig en1 are as follows:
en1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
inet 152.116.28.157 netmask ffff0000 broadcast 152.116.255.255
This matches the mask of windows (255.255.0.0).
What is the output of ‘netstat -rn’?
I do not know, but I do have the output of netinfo -l and netstat -in, they are as
follows:
Total Number Of Net Driver Slots: 2
Driver Slot 0: Driver Pid 55 Logical Net 1 Network Card: Ethernet/
rtl : RealTek 8139 Ethernet Controller
Vendor ID … 0x10ec
Device ID … 0x8139
Subsystem ID … 0x8139
Subsystem Vendor ID … 0x10ec
Revision … 0x2000010
Physical Node ID … 00D0C9 102726
Media Rate … 10Mb/s
Mtu … 1514
Hardware Interrupt … 11
Total Packets Txd OK … 4
Total Packets Txd Bad … 0
Tx Collision Errors … 0
Tx Collision Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0
Driver Slot 1: Unused
Which network card are you using?
See above.
Have you tried forcing half or full duplex when you start Net.?
No, is this an option when starting Net.rtl? What are the benefits of forcing each
of these?
Did the QNX driver get the media rate correct? This is available with
netstat -L or netinfo -L (can’t remember which).
I believe that the media rate is correct (10mbps). I will confirm it.
(see netinfo -l above).
When you say that you cannot ping, what is the error that ping
returns? Does it say “host unreachable”, “no route to host”, “network
unreachable” or anything like that?
No, it does not give any specific message (I forgot to try with the verbose
option). This machine is now at the customer site. It only stops after trying to
send the first packet (I must use control-C to escape from it).
The results of netstat -in is as follows:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en1 1500 0.d0.c9.10.27.26 0 0 5 0 0
en1 1500 152.116 152.116.28.157 0 0 5 0 0
ppp0* 1500 0 0 0 0 0
lo0 1536 28 0 28 0 0
lo0 1536 127 127.0.0.1 28 0 28 0 0
I am able to ping the local host (127.0.0.1) successfully.
Cheers,
Andrew
Regards,
Dan Szymanski