Chris Nasr wrote:
Hi,
I think everyone is misunderstanding me. When I say node1 machine
or node 2 machine, it’s the same machine, I am merely changing the
.boot file. I am using the exact same machine, with the same hardware
with the exact same files, only the boot image is different.
I think everyone who read your posting, got the first impression that
the nodes were all physically different machines, so your posting wasn’t
clear…
And yes, I can ping localhost and the asigned IP address no matter the
node number,
the ifconfig line looks as so for no matter what the node number,
en1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST
inet 192.168.1.55 netmask ffffff00 broadcast 192.168.1.255
Maybe posting exactly how you start up your TCP/IP stack might also
help. Is this from your system init, or by hand? In any case, it is a
very trivial operation. Assuming that this is an isolated network of two
hosts, and assuming your QNX host’s name is ‘Biscuit’, and assuming your
Windows machine has address 192.168.1.X (i.e. on the same network), you
can try this by hand:
just for sure:
slay Socklet
export SOCK= ( is the node number you currently are)
Socklet Biscuit &
no errors? then continue with:
ifconfig lo0 127.0.0.1 up
ifconfig en1 192.168.1.55 up
verify with:
ifconfig en1
ping 192.168.1.X
Also in general, if you’re starting from system init, note that some
ethernet drivers may need some time to really start up properly before
you can start up Socklet.
Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.