network prob

Hi,

I currently try to set up three machines (1 neutrino, 1 NT, 1 QNX) with
ethernet for remotedebugging (from the qnx to the neutrino) a network
application (neutrino to nt). The adapters on the machines seem to work
after setup (ping themself). also the nt machine can conect to both
other. But the neutrino to qnx connection doesn’t work at all. both can
ping themselfs and the nt machine, but do’nt seem to find each other.

192.168.0.1(neutrino) <-> 192.168.0.2(NT) <-> 192.168.0.3(QNX)

but not ~0.1 <-> ~0.3 ??? !!!


thank you

aiwang <aiwang@qnx.com> wrote:

Hi,

I currently try to set up three machines (1 neutrino, 1 NT, 1 QNX) with
ethernet for remotedebugging (from the qnx to the neutrino) a network
application (neutrino to nt). The adapters on the machines seem to work
after setup (ping themself). also the nt machine can conect to both
other. But the neutrino to qnx connection doesn’t work at all. both can
ping themselfs and the nt machine, but do’nt seem to find each other.

192.168.0.1(neutrino) <-> 192.168.0.2(NT) <-> 192.168.0.3(QNX)

but not ~0.1 <-> ~0.3 ??? !!!

We need you post these to tell what problem it is:

  1. cat /proc/ipstats on Neutrino Box,

  2. netstat -ni, netstat -nr on QNX4 box

  3. do a “ping -c3 192.168.0.1” on 192.168.0.3(the qnx4 box).

  4. wait till 3 is timedout, and redo 1) / 2)

Post all the results.

-xtang

We need you post these to tell what problem it is:

  1. cat /proc/ipstats on Neutrino Box,

  2. netstat -ni, netstat -nr on QNX4 box

  3. do a “ping -c3 192.168.0.1” on 192.168.0.3(the qnx4 box).

  4. wait till 3 is timedout, and redo 1) / 2)

Post all the results.

-xtang

here is the before timeout and after of the cat /proc/ipstat for the neutrino
box (the date/time is not set correct btw):
before:’
Ttcpip Jul 9 1999 15:33:06

verbosity level 0
ip checksum errors: 0
udp checksum errors: 0
tcp checksum errors: 0

packets sent: 52
packets received: 201

ndi0 : addr 192.168.0.1 netmask 255.255.255.0 up
lo0 : addr 127.0.0.1 netmask 255.0.0.0 up

DST: 192.168.0.0 NETMASK: 255.255.255.0 GATEWAY: ndi0
DST: 127.0.0.0 NETMASK: 255.0.0.0 GATEWAY: lo0

TCP 0.0.0.0.1143 LISTEN
TCP 0.0.0.0.1142 LISTEN
TCP 0.0.0.0.1024 LISTEN
TCP 0.0.0.0.23 LISTEN
TCP 0.0.0.0.21 LISTEN


after:’
Ttcpip Jul 9 1999 15:33:06

verbosity level 0
ip checksum errors: 0
udp checksum errors: 0
tcp checksum errors: 0

packets sent: 52
packets received: 205

ndi0 : addr 192.168.0.1 netmask 255.255.255.0 up
lo0 : addr 127.0.0.1 netmask 255.0.0.0 up

DST: 192.168.0.0 NETMASK: 255.255.255.0 GATEWAY: ndi0
DST: 127.0.0.0 NETMASK: 255.0.0.0 GATEWAY: lo0

TCP 0.0.0.0.1143 LISTEN
TCP 0.0.0.0.1142 LISTEN
TCP 0.0.0.0.1024 LISTEN
TCP 0.0.0.0.23 LISTEN
TCP 0.0.0.0.21 LISTEN


netstat -ni before:’
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

en1 1500 0.81.0.80.a6.9c 8 0 6 0 0

en1 1500 192.168 192.168.0.3 8 0 6 0 0

sl0* 296 0 0 0 0 0

sl1* 296 0 0 0 0 0

ppp0* 1500 0 0 0 0 0

ppp1* 1500 0 0 0 0 0

lo0 1536 92 0 92 0 0

lo0 1536 127 127.0.0.1 92 0 92 0 0

after:’
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

en1 1500 0.81.0.80.a6.9c 12 0 9 0 0

en1 1500 192.168 192.168.0.3 12 0 9 0 0

sl0* 296 0 0 0 0 0

sl1* 296 0 0 0 0 0

ppp0* 1500 0 0 0 0 0

ppp1* 1500 0 0 0 0 0

lo0 1536 92 0 92 0 0

lo0 1536 127 127.0.0.1 92 0 92 0 0


netstat -nr before:’
Routing tables
Destination Gateway Flags Refs Use Interface

Route Tree for Protocol Family 2:
(root node)
127.0.0.1 127.0.0.1 UH 1 8 lo0
192.168 192.168.0.3 U 1 7 en1
(root node)

after:’
Routing tables
Destination Gateway Flags Refs Use Interface

Route Tree for Protocol Family 2:
(root node)
127.0.0.1 127.0.0.1 UH 1 8 lo0
192.168 192.168.0.3 U 1 10 en1
(root node)



sorry for the long delay, but I was out for lunch and thx for helping.

(I also tried out to put away the nt box (~.0.2) from the network and set the
qnx box to 192.168.0.2. The result was that both remaining machines would
just ping themselves but not see each other. )

ciao !

aiwang <aiwang@qnx.com> wrote:

We need you post these to tell what problem it is:

  1. cat /proc/ipstats on Neutrino Box,

  2. netstat -ni, netstat -nr on QNX4 box

  3. do a “ping -c3 192.168.0.1” on 192.168.0.3(the qnx4 box).

  4. wait till 3 is timedout, and redo 1) / 2)

Post all the results.

-xtang

here is the before timeout and after of the cat /proc/ipstat for the neutrino
box (the date/time is not set correct btw):

Your problem comes of different netmask. On QNX4, do a

ifconfig en1 192.168.0.3 netmask 255.255.255.0

Should solve your NTO <-> QNX4 ping problem.

By the way, even though you are posting in “qnxrtp.os” group,
looks to me your are not running QNX RTP, do you? :slight_smile:

-xtang

before:’
Ttcpip Jul 9 1999 15:33:06

verbosity level 0
ip checksum errors: 0
udp checksum errors: 0
tcp checksum errors: 0

packets sent: 52
packets received: 201

ndi0 : addr 192.168.0.1 netmask 255.255.255.0 up
lo0 : addr 127.0.0.1 netmask 255.0.0.0 up

DST: 192.168.0.0 NETMASK: 255.255.255.0 GATEWAY: ndi0
DST: 127.0.0.0 NETMASK: 255.0.0.0 GATEWAY: lo0

TCP 0.0.0.0.1143 LISTEN
TCP 0.0.0.0.1142 LISTEN
TCP 0.0.0.0.1024 LISTEN
TCP 0.0.0.0.23 LISTEN
TCP 0.0.0.0.21 LISTEN


after:’
Ttcpip Jul 9 1999 15:33:06

verbosity level 0
ip checksum errors: 0
udp checksum errors: 0
tcp checksum errors: 0

packets sent: 52
packets received: 205

ndi0 : addr 192.168.0.1 netmask 255.255.255.0 up
lo0 : addr 127.0.0.1 netmask 255.0.0.0 up

DST: 192.168.0.0 NETMASK: 255.255.255.0 GATEWAY: ndi0
DST: 127.0.0.0 NETMASK: 255.0.0.0 GATEWAY: lo0

TCP 0.0.0.0.1143 LISTEN
TCP 0.0.0.0.1142 LISTEN
TCP 0.0.0.0.1024 LISTEN
TCP 0.0.0.0.23 LISTEN
TCP 0.0.0.0.21 LISTEN


netstat -ni before:’
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

en1 1500 0.81.0.80.a6.9c 8 0 6 0 0

en1 1500 192.168 192.168.0.3 8 0 6 0 0

sl0* 296 0 0 0 0 0

sl1* 296 0 0 0 0 0

ppp0* 1500 0 0 0 0 0

ppp1* 1500 0 0 0 0 0

lo0 1536 92 0 92 0 0

lo0 1536 127 127.0.0.1 92 0 92 0 0

after:’
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

en1 1500 0.81.0.80.a6.9c 12 0 9 0 0

en1 1500 192.168 192.168.0.3 12 0 9 0 0

sl0* 296 0 0 0 0 0

sl1* 296 0 0 0 0 0

ppp0* 1500 0 0 0 0 0

ppp1* 1500 0 0 0 0 0

lo0 1536 92 0 92 0 0

lo0 1536 127 127.0.0.1 92 0 92 0 0


netstat -nr before:’
Routing tables
Destination Gateway Flags Refs Use Interface

Route Tree for Protocol Family 2:
(root node)
127.0.0.1 127.0.0.1 UH 1 8 lo0
192.168 192.168.0.3 U 1 7 en1
(root node)

after:’
Routing tables
Destination Gateway Flags Refs Use Interface

Route Tree for Protocol Family 2:
(root node)
127.0.0.1 127.0.0.1 UH 1 8 lo0
192.168 192.168.0.3 U 1 10 en1
(root node)




sorry for the long delay, but I was out for lunch and thx for helping.

(I also tried out to put away the nt box (~.0.2) from the network and set the
qnx box to 192.168.0.2. The result was that both remaining machines would
just ping themselves but not see each other. )

ciao !

By the way, even though you are posting in “qnxrtp.os” group,
looks to me your are not running QNX RTP, do you? > :slight_smile:

-xtang

Hi again!

I would use V-mail to post in this group, but it hangs whenever I try to add
a newsgroup, cause Vmail is truing to find the server “news.qnx.com” but
doesnt, sometimes it does, but then I’m promted for a password that I dont
have.
I have been trying to remove that newsgroup, bit it doesnt remove easily.
And as long as it hangs on that, I have to reboot to Win to read and post in
newsgroups.

Too bad, cause I spend a lot of time reading news, and if it wasn’t for
that, I wouldn’t use Win at all anymore (well, I’m still doing some
wordprocessing in win too, but not when I get AbiWord running)

Now I really messed up my Vmail…
When I login as root and try to start Vmail, I only get the startup screen
(the one with info about Vmail) but the program doesnt start.

If I log in as a user, Vmail works just fine.

What files shoud I copy from the user to the root, to get it going?
(and I dont care if the configuration goes back to default)
I guess I messed up the “Vmail config” file, whatever it is called.
All this happened when I tryed to delete the account “news.qnx.com” from the
newsreader

GuW <sm2vjx@hotmail.com> wrote:

Now I really messed up my Vmail…
When I login as root and try to start Vmail, I only get the startup screen
(the one with info about Vmail) but the program doesnt start.

If I log in as a user, Vmail works just fine.

What files shoud I copy from the user to the root, to get it going?
(and I dont care if the configuration goes back to default)
I guess I messed up the “Vmail config” file, whatever it is called.
All this happened when I tryed to delete the account “news.qnx.com” from the
newsreader

It’s been mentioned before that vmail is only really there until Phozilla is
ready to go. There’s nothing much being done to bring it up to snuff.

For reading news, I use `tin’ in a pterm… it works great.

Previously, you (GuW) wrote:

Now I really messed up my Vmail…
When I login as root and try to start Vmail, I only get the startup screen
(the one with info about Vmail) but the program doesnt start.

If I log in as a user, Vmail works just fine.

What files shoud I copy from the user to the root, to get it going?

The Vmail configuration files are in
/home/your-username/.photon/voyager

(and I dont care if the configuration goes back to default)
I guess I messed up the “Vmail config” file, whatever it is called.
All this happened when I tryed to delete the account “news.qnx.com” from the
newsreader

Could you please tell us how you deleted news.qnx.com,
since this shouldn’t have messed up Vmail.
Did you right-click on news.qnx.com in the Folder pane
and choose to remove this news host?

If copying the configuration files doesn’t work, then
it could be a package file system issue. I suggest you
repost your original posting in another thread
possibly called Vmail & Package filesystem, since these
have nothing to do with this thread on networking, and
the Vmail & P.F. developers may not read this thread.