Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Start script for two network cards: Page 1 of 18 (18 Items)
   
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 &
    waitfor /dev/io-net/en0 
    waitfor /dev/socket/2

    ifconfig en0 *.*.*.*
and it works fine. but i used
    devp-pccard
    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 
??

Thank you
Eric