06/17/2008 7:24 AM
Start script for two network cards
I have a qnx6.3.2 PC104 computer stack with two network cards, one is the onboard ethernet card, the other the orinoco
wifi network card. Basically, i wanna use the wifi card for msg passing with other qnx machines, while the wired card
for debugging usage. I have two problems:
1. I use the following boot scripts to start the wired network qnet:
io-net -d ns83815 -p tcpip -p qnet &
ifconfig en0 *.*.*.*
and it works fine. but i used
io-net -d orinoco -p tcpip
the machine gave the error during its boot:
unable to init dll devn-orinoco: No such device.
But when the machine finishes starting, i typed the above two commands again, the orinoco wifi card starts to work. i
have no ideas about this.
2. There are two network interfaces, so i should assign two different ip address for each interface? for the wired
network case, the above scripts are okay. how about when coming the assign the ip to the wifi network card? use en1? or