Q: Newbie - some network problems (long)

Hi,

I’ve just installed QNX 6.2.0, but I have some problems with network
configuration. My network card is 3Com900 (devn-el900.so). My IP is
192.168.2.2, Netmask 255.255.255.0, DNS 194.204.152.34 and 194.204.159.1. My
gateway (Debian Linux) - IP 192.168.2.1, Netmask 255.255.255.0.
The problem is: I can ping myself, but I can’t ping my Gateway
(192.168.2.1),
so my Internet connection doesn’t work.

Some of my config files:
[Hosts]
127.1 localhost.localdomain localhost
192.168.2.2 xvlecie gawda
192.168.2.1 xvlecie neptun
192.168.1.2 xvlecie bestia

[Net.cfg]
[global]
hostname gawda
domain xvlecie
nameserver 194.204.152.34
nameserver 194.204.159.1
route 192.168.2.1 0.0.0.0 0.0.0.0 (does route mean gateway here ??? and what
does it mean - 0.0.0.0 0.0.0.0 ?)
lookup file bind (what’s that for ?)
[en0]
type ethernet
mode manual
manual_ip 192.168.2.2
manual_netmask 255.255.255.0

[Networks]
loopback 127
(Do I need anything more in this section ? Maybe my subnet (192.168.2.0) ? )

[resolv.conf]
nameserver 194.204.152.34
nameserver 194.204.159.1

Ifconfig en0 says:
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:60:97:ae:53:13
inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255

Nicinfo says:
3COM (90x) 10BASE-T/100BASE-TX Ethernet Controller
Physical Node ID … 006097 AE5313
Current Physical Node ID … 006097 AE5313
Media Rate … 0 kb/s half-duplex UTP
MTU … 1514
Lan … 0
I/O Port Range … 0xE400 → 0xE43F
Hardware Interrupt … 0xB
Promiscuous … Disabled
Multicast … Enabled
Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0
Total Bytes Txd … 0
Total Bytes Rxd … 0
Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

I’m a newbie in QNX so please, give me some step-by-step help how to
configure my Internet connection. Thanks.

gawda

hi,gawda:
are there some other computers in your net?can you ping them?
ChaoLi

“gawda” <gawda2000@poczta.onet.pl> wrote in message
news:adsvaj$433$1@inn.qnx.com

Hi,

I’ve just installed QNX 6.2.0, but I have some problems with network
configuration. My network card is 3Com900 (devn-el900.so). My IP is
192.168.2.2, Netmask 255.255.255.0, DNS 194.204.152.34 and 194.204.159.1.
My
gateway (Debian Linux) - IP 192.168.2.1, Netmask 255.255.255.0.
The problem is: I can ping myself, but I can’t ping my Gateway
(192.168.2.1),
so my Internet connection doesn’t work.

Some of my config files:
[Hosts]
127.1 localhost.localdomain localhost
192.168.2.2 xvlecie gawda
192.168.2.1 xvlecie neptun
192.168.1.2 xvlecie bestia

[Net.cfg]
[global]
hostname gawda
domain xvlecie
nameserver 194.204.152.34
nameserver 194.204.159.1
route 192.168.2.1 0.0.0.0 0.0.0.0 (does route mean gateway here ??? and
what
does it mean - 0.0.0.0 0.0.0.0 ?)
lookup file bind (what’s that for ?)
[en0]
type ethernet
mode manual
manual_ip 192.168.2.2
manual_netmask 255.255.255.0

[Networks]
loopback 127
(Do I need anything more in this section ? Maybe my subnet (192.168.2.0)
? )

[resolv.conf]
nameserver 194.204.152.34
nameserver 194.204.159.1

Ifconfig en0 says:
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:60:97:ae:53:13
inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255

Nicinfo says:
3COM (90x) 10BASE-T/100BASE-TX Ethernet Controller
Physical Node ID … 006097 AE5313
Current Physical Node ID … 006097 AE5313
Media Rate … 0 kb/s half-duplex UTP
MTU … 1514
Lan … 0
I/O Port Range … 0xE400 → 0xE43F
Hardware Interrupt … 0xB
Promiscuous … Disabled
Multicast … Enabled
Total Packets Txd OK … 0
Total Packets Txd Bad … 0
Total Packets Rxd OK … 0
Total Rx Errors … 0
Total Bytes Txd … 0
Total Bytes Rxd … 0
Tx Collision Errors … 0
Tx Collisions Errors (aborted) … 0
Carrier Sense Lost on Tx … 0
FIFO Underruns During Tx … 0
Tx deferred … 0
Out of Window Collisions … 0
FIFO Overruns During Rx … 0
Alignment errors … 0
CRC errors … 0

I’m a newbie in QNX so please, give me some step-by-step help how to
configure my Internet connection. Thanks.

gawda

U¿ytkownik “ChaoLi” <xxs102@sohu.com> napisa³ w wiadomo¶ci
news:aebhps$6ta$1@inn.qnx.com

are there some other computers in your net?can you ping them?

My net looks like this:

----------C1
|
G-------
|
----------C2

G - Gateway (router - Debian Linux) with two 3Com900 net cards ((192.168.1.1
and 192.168.2.1 (mine))
C1 - 192.168.1.2 (my neighbour’s box)
C2 - 192.168.2.2 (my box)

Everything works perfetly under Windows and Linux.
I can ping myself by IP and by host name (so /etc/hosts is ok), but I can’t
ping G and C1.

gawda

gawda wrote:

Hi,
I’ve just installed QNX 6.2.0, but I have some problems with network
configuration. My network card is 3Com900 (devn-el900.so). My IP is
[snip]
Nicinfo says:
3COM (90x) 10BASE-T/100BASE-TX Ethernet Controller
Physical Node ID … 006097 AE5313
Current Physical Node ID … 006097 AE5313
Media Rate … 0 kb/s half-duplex UTP
^^^^^^^^^^

Seems that your card was not initialized properly, but I’m not sure what
can be the reason. Try to check first if IO and IRQ are the same as in
linux/windows.


Pozdrowienia,
Grzegorz Wrobel


wrobel@no-spam.zdania.com.pl Experimental Department of Scientific
phone: (+48 12) 617-2883 Equipment and Automation
fax: (+48 12) 634-2205 30-059 Krakow, al.Mickiewicza 30, Poland

U¿ytkownik “Grzegorz Wrobel” <wrobel@WYTNIJ-TO.kaniup.agh.edu.pl> napisa³ w
wiadomo¶ci news:3D09EA29.F3C1FD66@WYTNIJ-TO.kaniup.agh.edu.pl

Seems that your card was not initialized properly, but I’m not sure
what
can be the reason. Try to check first if IO and IRQ are the same as in
linux/windows.

I’m a newbie, so…how can I do that :wink: ?

gawda

gawda wrote:

U¿ytkownik “Grzegorz Wrobel” <> wrobel@WYTNIJ-TO.kaniup.agh.edu.pl> > napisa³ w
wiadomo¶ci news:> 3D09EA29.F3C1FD66@WYTNIJ-TO.kaniup.agh.edu.pl> …

Seems that your card was not initialized properly, but I’m not sure
what
can be the reason. Try to check first if IO and IRQ are the same as in
linux/windows.

I’m a newbie, so…how can I do that > :wink: > ?

You already have those adresses in nicinfo output:

I/O Port Range … 0xE400 → 0xE43F
Hardware Interrupt … 0xB

Pozdrowienia,
Grzegorz Wrobel

wrobel@no-spam.zdania.com.pl Experimental Department of Scientific
phone: (+48 12) 617-2883 Equipment and Automation
fax: (+48 12) 634-2205 30-059 Krakow, al.Mickiewicza 30, Poland

U¿ytkownik “Grzegorz Wrobel” <wrobel@NO-SPAM.kaniup.agh.edu.pl> napisa³ w
wiadomo¶ci news:3D0B44D7.1B32CD94@NO-SPAM.kaniup.agh.edu.pl

Seems that your card was not initialized properly, but I’m not
sure
what
can be the reason. Try to check first if IO and IRQ are the same as in
linux/windows.

I’m a newbie, so…how can I do that > :wink: > ?

You already have those adresses in nicinfo output:
I/O Port Range … 0xE400 → 0xE43F
Hardware Interrupt … 0xB

IO and IRQ (11=0xB) are the same as in Windows and Linux. What’s next ?

gawda

gawda wrote:

I’m a newbie, so…how can I do that > :wink: > ?

You already have those adresses in nicinfo output:
I/O Port Range … 0xE400 → 0xE43F
Hardware Interrupt … 0xB

IO and IRQ (11=0xB) are the same as in Windows and Linux. What’s next ?

Write an email to me (in Polish) :slight_smile:

Grzegorz Wrobel

wrobel@no-spam.zdania.com.pl Experimental Department of Scientific
phone: (+48 12) 617-2883 Equipment and Automation
fax: (+48 12) 634-2205 30-059 Krakow, al.Mickiewicza 30, Poland

Grzegorz Wrobel <wrobel@wytnij-to.kaniup.agh.edu.pl> wrote:


gawda wrote:
Hi,
I’ve just installed QNX 6.2.0, but I have some problems with network
configuration. My network card is 3Com900 (devn-el900.so). My IP is
[snip]
Nicinfo says:
3COM (90x) 10BASE-T/100BASE-TX Ethernet Controller
Physical Node ID … 006097 AE5313
Current Physical Node ID … 006097 AE5313
Media Rate … 0 kb/s half-duplex UTP
^^^^^^^^^^

I think that means that ethernet driver cannot determine the media rate
and/or duplex of the hub/switch you are connected to. What kinda
hub/switch are you connected to? Try unplugging, then pluging back
in the cable.

U¿ytkownik “kirk” <kirussel@NOSPAMrogers.com> napisa³ w wiadomo¶ci
news:aeom25$t02$2@inn.qnx.com

Media Rate … 0 kb/s half-duplex UTP

I think that means that ethernet driver cannot determine the media rate
and/or duplex of the hub/switch you are connected to. What kinda
hub/switch are you connected to? Try unplugging, then pluging back
in the cable.

I’m connected to a simple router (old box with 2x3Com900 10Mbps and a Linux
Debian instaled on it).
Under Windows or Linux there aren’t any problems.
Maybe QNX doesn’t support 3C900 net card ?

gawda

Here the problem is that in your simple topology, there are in fact two
networks:192.168.1 and 192.168.2. I guess that you can ping 192.168.2.2 from
192.168.2.1. You can make a try and see if it is successful. Otherwise,
temporily set c1 to 192.168.2.3, you would also be able to ping it from
192.168.2.2

Shrimp

“gawda” <gawda2000@poczta.onet.pl> дÈëÏûÏ¢ÐÂÎÅ:aebrbm$dbh$1@inn.qnx.com

U¿ytkownik “ChaoLi” <> xxs102@sohu.com> > napisa?w wiadomo¶ci
news:aebhps$6ta$> 1@inn.qnx.com> …

are there some other computers in your net?can you ping them?

My net looks like this:

----------C1
|
G-------
|
----------C2

G - Gateway (router - Debian Linux) with two 3Com900 net cards
((192.168.1.1
and 192.168.2.1 (mine))
C1 - 192.168.1.2 (my neighbour’s box)
C2 - 192.168.2.2 (my box)

Everything works perfetly under Windows and Linux.
I can ping myself by IP and by host name (so /etc/hosts is ok), but I
can’t
ping G and C1.

gawda

U¿ytkownik “Shrimp” <news@leadingtek.com.cn> napisa³ w wiadomo¶ci
news:aes41m$iid$1@inn.qnx.com

Here the problem is that in your simple topology, there are in fact two
networks:192.168.1 and 192.168.2. I guess that you can ping 192.168.2.2
from
192.168.2.1.

I dont’t think so, because:

Nicinfo says:
3COM (90x) 10BASE-T/100BASE-TX Ethernet Controller
Physical Node ID … 006097 AE5313
Current Physical Node ID … 006097 AE5313
Media Rate … 0 kb/s half-duplex UTP

I'm sure there's some problem with 3C900 driver. My 3Com is detected (driver
is loaded) but fails to communicate with my gateway. Pinging 192.168.2.2
from 192.168.2.1 will fail then.

gawda