can ping to machines nearby, but not to those outside my sub

what’s wrong?

I’m trying to setup TCP/IP with my machine, I changed the NIC
and now I can ping to machines nearby (within the range of 137.195.182.1
and 138.195.182.254) my gateway is 137.195.182.1 so I can ping
to it.

I’ve correctly setup DNS and Gateway thrugh phlip. (this settings
work on the same machine running windowze)

I’ve seen this problem in other threads but no solutions.

I can’t figure out how to solve this, I think I’ve exhausted all
possibilites now

Any clues?

Previously, Hugo J. Ordonez wrote in qdn.public.qnxrtp.newuser:

what’s wrong?

I’ve correctly setup DNS and Gateway thrugh phlip. (this settings
work on the same machine running windowze)

Any clues?

Can you ping your gateway? If so, it may be that your
gateway is not returning packets to you. That would
be outside of your control.

Mitchell Schoenbrun --------- maschoen@pobox.com

Why wouldn’t my gateway return packets back to me?
It does so in the same machine using Windows…

The is it because my gateway doesn’t like QNX? :slight_smile:

Pleaaase, help somebody what’s wrong?


Mitchell Schoenbrun <maschoen@pobox.com> wrote in message
news:Voyager.011105162215.433C@schoenbrun.com

Previously, Hugo J. Ordonez wrote in qdn.public.qnxrtp.newuser:
what’s wrong?

I’ve correctly setup DNS and Gateway thrugh phlip. (this settings
work on the same machine running windowze)

Any clues?

Can you ping your gateway? If so, it may be that your
gateway is not returning packets to you. That would
be outside of your control.

Mitchell Schoenbrun --------- > maschoen@pobox.com

Is your system’s IP address the same under QNX as under Windows?

If not, force your system to assume the same address that it uses under Win
and see if that helps.

Can your gateway ping your QNX system by IP address?


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Hugo J. Ordonez” <hugoj@cee.hw.ac.uk> wrote in message
news:9s8n0v$105$1@inn.qnx.com

Why wouldn’t my gateway return packets back to me?
It does so in the same machine using Windows…

The is it because my gateway doesn’t like QNX? > :slight_smile:

Pleaaase, help somebody what’s wrong?


Mitchell Schoenbrun <> maschoen@pobox.com> > wrote in message
news:> Voyager.011105162215.433C@schoenbrun.com> …
Previously, Hugo J. Ordonez wrote in qdn.public.qnxrtp.newuser:
what’s wrong?

I’ve correctly setup DNS and Gateway thrugh phlip. (this settings
work on the same machine running windowze)

Any clues?

Can you ping your gateway? If so, it may be that your
gateway is not returning packets to you. That would
be outside of your control.

Mitchell Schoenbrun --------- > maschoen@pobox.com

\

It’s using the same IP Adress, Same Gateway and DNS servers
It works with Windows, and I can ping with QNX, but it seems that
my gateway refuses to work with QNX…:frowning:

Unfurtonadetly I don’t have acces to my gateway so that I can
test if the gateway can ping back to me (I don’t think the computer
officer would like this idea)

but what is wrong? what makes QNX different form other systems
in the setup of TCP/IP , and I’ve seen this type of problems over and
over on different threads here.

Thanx for ur help anyway :slight_smile:


Bill Caroselli <qtps@earthlink.net> wrote in message
news:9s919h$7ks$1@inn.qnx.com

Is your system’s IP address the same under QNX as under Windows?

If not, force your system to assume the same address that it uses under
Win
and see if that helps.

Can your gateway ping your QNX system by IP address?


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Hugo J. Ordonez” <> hugoj@cee.hw.ac.uk> > wrote in message
news:9s8n0v$105$> 1@inn.qnx.com> …
Why wouldn’t my gateway return packets back to me?
It does so in the same machine using Windows…

The is it because my gateway doesn’t like QNX? > :slight_smile:

Pleaaase, help somebody what’s wrong?


Mitchell Schoenbrun <> maschoen@pobox.com> > wrote in message
news:> Voyager.011105162215.433C@schoenbrun.com> …
Previously, Hugo J. Ordonez wrote in qdn.public.qnxrtp.newuser:
what’s wrong?

I’ve correctly setup DNS and Gateway thrugh phlip. (this settings
work on the same machine running windowze)

Any clues?

Can you ping your gateway? If so, it may be that your
gateway is not returning packets to you. That would
be outside of your control.

Mitchell Schoenbrun --------- > maschoen@pobox.com



\

Hugo J. Ordonez <hugoj@cee.hw.ac.uk> wrote in article <9sbaov$ln1$1@inn.qnx.com>…
[…]

but what is wrong? what makes QNX different form other systems
in the setup of TCP/IP

AFAIK nothing, exept you can configure tiny or full TCP/IP stack. I’m not sure it’s a reason of you
problem.

Eduard.

Hi Hugo…

[ any body: if I am wrong, please correct me here]

Are you using a laptop? If you are, well, be aware that some pc-cards
misbehave at times for a number of reasons. If you have a laptop, do a
pin to see if your system recognizes the pc-card. If it does, then
you’ll see a ioport and irq. You will need this information later.

For any computer (i.e. laptop and desktop), you may do (provided the
system recognizes your hardware)

  1. pidin mem | grep devn
    pidin arg

this will give you at idea about what the system needs to start the
network device driver.

  1. slay -f io-net
    slay -f inetd

  2. for a desktop:
    io-net -d nomulticast -ptcpip

for a laptop:
io-net -d<…> ioport=0xabc,irq=de nomulticast -ptcpip

where abc is the hex of the ioport given by the pin command, and
de is the irq given by the same command.

  1. provided this is successful (you should see the hardware lit some
    led’s up somewhere):

ifconfig en0 netmask 255.255.255.0 up
netmanager

  1. if every thing is correct, then you should ping away… If not, then
    you have some other type of problems. Also, at this point you can go
    plip, and perhaps things are better such that you can add a gateway and
    so on.

  2. In case that you are successful this way, then you may want to put
    the above commands in a file called rc.local in the /etc/rc.d/ folder.
    Then do: chmod 775 rc.d

  3. also, if you are successful, you may want to initiate ethernet access
    to your machine:

/usr/sbin/inetd /etc/inetd.conf

  1. if you want NFS, then:

portmap
Nfsd

I hope this help some. If not, post your problem(s) to see if someone
comes along with some better suggestion(s). Also notice that I am
writing this off the top of my head. If I am mistaken, I am sure that
someone will correct me. :slight_smile: In addition, visit the knowledge database
and type your question. Chances are that you’ll find some good answers
to your questions (including some of the things that I have said here).

Bests…

Miguel.


“Hugo J. Ordonez” wrote:

Why wouldn’t my gateway return packets back to me?
It does so in the same machine using Windows…

The is it because my gateway doesn’t like QNX? > :slight_smile:

Pleaaase, help somebody what’s wrong?

Mitchell Schoenbrun <> maschoen@pobox.com> > wrote in message
news:> Voyager.011105162215.433C@schoenbrun.com> …
Previously, Hugo J. Ordonez wrote in qdn.public.qnxrtp.newuser:
what’s wrong?

I’ve correctly setup DNS and Gateway thrugh phlip. (this settings
work on the same machine running windowze)

Any clues?

Can you ping your gateway? If so, it may be that your
gateway is not returning packets to you. That would
be outside of your control.

Mitchell Schoenbrun --------- > maschoen@pobox.com
\

my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com

“Hugo J. Ordonez” <hugoj@cee.hw.ac.uk> wrote in message
news:9sbaov$ln1$1@inn.qnx.com

It’s using the same IP Adress, Same Gateway and DNS servers
It works with Windows, and I can ping with QNX, but it seems that
my gateway refuses to work with QNX…> :frowning:

Have you tried to use any other service that requires a full tcp/ip
connection (not just ICMP messages from ping) like ftp or telnet within your
network? If you can use these services, then we can eliminate the NIC as a
problem, and it’s a routing issue.

What does your routing table look like? (netstat -nr)

-Adam