why the network is unreachable?

hi,

1.I have win98 and qnx4.25 on a dual boot system.But sometimes when i shift
from win98 to qnx,the computer gives infomation such as below:

writing to routing socket :Network is unreachable
ioctl (SIOCGIFFLAGS):No such interface
add net default gateway **** :Network is unreachable.

The FLEET doesn’t work.But then i reboot the system it works well ,why ?


anoter qustion :
2.When i use the vedit->edit->insert file or cat file1 >> file2
to combine two files into one file . Many awful ''s scatter in the
file ,it makes me headache. Could you help me?

ycao

ycao <ycao@mail.ipp.ac.cn> wrote:

hi,

1.I have win98 and qnx4.25 on a dual boot system.But sometimes when i shift
from win98 to qnx,the computer gives infomation such as below:

writing to routing socket :Network is unreachable
ioctl (SIOCGIFFLAGS):No such interface
add net default gateway **** :Network is unreachable.

The FLEET doesn’t work.But then i reboot the system it works well ,why ?

Make sure you have a cold start (turn off the power, and turn it on)
when you switch from Windows to QNX, sometime windows just left some
setting in the nic card that QNX don’t agree with…

-xtang

Previously, ycao wrote in qdn.public.qnx4:

hi,

1.I have win98 and qnx4.25 on a dual boot system.But sometimes when i shift
from win98 to qnx,the computer gives infomation such as below:

writing to routing socket :Network is unreachable
ioctl (SIOCGIFFLAGS):No such interface
add net default gateway **** :Network is unreachable.

The FLEET doesn’t work.But then i reboot the system it works well ,why ?

What type of NIC card do you have? Please post the output from
'show_pci -v". Also the output from ‘sin ver’ would help.

ycao wrote:

anoter qustion :
2.When i use the vedit->edit->insert file or cat file1 >> file2
to combine two files into one file . Many awful ''s scatter in the
file ,it makes me headache. Could you help me?

Aspirin often works for headaches. As for vedit, depending on how it

is configured, it will try to figure out what line terminations are
in use, such as (Unix), (DOS), (Mac). If it finds
a bare , then it is a Unix file - and characters are displayed
explicitly, since they are not part of the line ending.

There is a utility textto which will convert a file from one style to
the other. vedit can also do this - look at Config->File->File type
which may need to be used in conjunction with Edit->Translate.

Richard.

\

ycao

“Hugh Brown” <hsbrown@qnx.com> wrote in message
news:Voyager.020307144214.20754A@node90.ott.qnx.com

Previously, ycao wrote in qdn.public.qnx4:
hi,

1.I have win98 and qnx4.25 on a dual boot system.But sometimes when i
shift
from win98 to qnx,the computer gives infomation such as below:

writing to routing socket :Network is unreachable
ioctl (SIOCGIFFLAGS):No such interface
add net default gateway **** :Network is unreachable.

The FLEET doesn’t work.But then i reboot the system it works well ,why ?


What type of NIC card do you have? Please post the output from
'show_pci -v". Also the output from ‘sin ver’ would help.

Thanks ,Hugh!

#show_pci -v

PCI version = 2.10

Vendor ID = 10b7h, 3Com
Device ID = 9055h,
PCI index = 0h
Class Code = 020000h Network (Ethernet) ProgIF=0
Revision ID = 24h
Bus number = 0
Device number = 19
Function num = 0
Status Reg = 210h
Command Reg = 7h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 8h un-cacheable
Base Address = IO@e800h length 128 bytes MEM@d7800000h,32bit length 128
Subsystem Vendor ID = 10b7h
Subsystem ID = 9055h
Max Lat = 10ns
Min Gnt = 10ns
PCI Int Pin = 1
PCI Int Pin = INT A
Interrupt line = 11

#sin ver
PROGRAM NAME VERSION DATE
/boot/sys/Proc32 Proc 4.25L Feb 15 2001
/boot/sys/Proc32 Slib16 4.23G Oct 04 1996
/boot/sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24V Feb 18 2000
/bin/Fsys Floppy 4.24B Aug 19 1997
/bin/Fsys.eide eide 4.25A Feb 09 2000
//3/bin/Dev32 Dev32 4.23G Oct 04 1996
//3/bin/Pipe Pipe 4.23A Feb 26 1996
//3/bin/Dev32.ser Dev32.ser 4.23I Jun 27 1997
//3/bin/Dev32.ser Dev32.ser 4.23I Jun 27 1997
//3/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//3/bin/Dev32.par Dev32.par 4.25A Jan 08 2001
//3/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//3/bin/Fsys.eide eide 4.25A Feb 09 2000
//3/bin/Iso9660fsys Iso9660fsys 4.23D Mar 20 2000
//3/bin/Net Net 4.25C Aug 30 1999
//3/bin/Net.ether905 Net.ether905 4.24K Jan 09 2001
//3/bin/Dosfsys Dosfsys 4.23E Jan 21 1997
//3/*/usr/ucb/Socket Socket 4.25H Jul 30 1999

What type of NIC card do you have?

3C905B-TX NM

But another 3C905B-TX NM card doesn’t have the problem , the diffrence
between two cards is the country they were made :slight_smile:

Previously, ycao wrote in qdn.public.qnx4:

What type of NIC card do you have?


3C905B-TX NM

But another 3C905B-TX NM card doesn’t have the problem , the diffrence
between two cards is the country they were made > :slight_smile:

Have you tried placing a “sleep 2” after you start the network driver
and before you start Sock(l)et?

Vedit looks for the first occasion of , or and assumes
that the whole file is the same. As mentioned, use textto.

More importantly, I prefer Tylonol.


Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net


“rrkramer” <rrkramer@kramer-smilko.com> wrote in message
news:3C87F446.50DDC334@kramer-smilko.com

ycao wrote:
anoter qustion :
2.When i use the vedit->edit->insert file or cat file1 >> file2
to combine two files into one file . Many awful ''s scatter in the
file ,it makes me headache. Could you help me?

Aspirin often works for headaches. As for vedit, depending on how it
is configured, it will try to figure out what line terminations are
in use, such as (Unix), (DOS), (Mac). If it finds
a bare , then it is a Unix file - and characters are displayed
explicitly, since they are not part of the line ending.

There is a utility textto which will convert a file from one style to
the other. vedit can also do this - look at Config->File->File type
which may need to be used in conjunction with Edit->Translate.

Richard.


ycao

If one is working and the other isn’t make sure that the netmap file is
correct and you are changing the MAC address for the particular card. If the
wrong MAC exists in the netmap file, your network will be unreachable.

“Hugh Brown” <hsbrown@qnx.com> wrote in message
news:Voyager.020308094101.28967A@node90.ott.qnx.com

Previously, ycao wrote in qdn.public.qnx4:

What type of NIC card do you have?


3C905B-TX NM

But another 3C905B-TX NM card doesn’t have the problem , the diffrence
between two cards is the country they were made > :slight_smile:


Have you tried placing a “sleep 2” after you start the network driver
and before you start Sock(l)et?

“ycao” <ycao@mail.ipp.ac.cn> wrote in message
news:a687qh$e9j$1@inn.qnx.com

hi,

1.I have win98 and qnx4.25 on a dual boot system.But sometimes when i
shift
from win98 to qnx,the computer gives infomation such as below:

writing to routing socket :Network is unreachable
ioctl (SIOCGIFFLAGS):No such interface
add net default gateway **** :Network is unreachable.

The FLEET doesn’t work.But then i reboot the system it works well ,why ?

I think may xiaodian Tang’s conclusion maybe reasonable ,because every timer
i reboot the machine every thing is ok ,but that’s a bug!
Futhermore why anoter machine doesnt need reboot?