QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
How to configure/start a QNX4 network |
Ref. No. |
QNX.000009525 |
Category(ies) |
Network, Configuration |
Issue |
We are having trouble getting our network card to work. How do we configure and start our QNX4 network?
|
Solution |
1. Refer to the network adapter's documentation to install and configure your hardware.
2. Determine the physical address of your card and create a logical-physical mapping in the /etc/config/netmap file for the card.
3. Run "nettrap query" to autodetect the network card and list the commands to start. eg. #nettrap query Net & Net.epic -p6200 -i11 -I0 -l1 & netmap -f
This tells us that nettrap found an SMC 83C170 ethernet network card, and that we will need to start the Net manager, followed by the Net.epic driver (type "use Net.epic" to see what the options are). Then run "netmap -f" to set the network node mapping table from the default mapfile /etc/config/netmap.
NOTE: If nettrap has a hard time detecting your card, then you should run it verbosely to see which cards are being scanned for. #nettrap -vvvv query If your card is a pci card then run "show_pci -v", to see if the card is identified by the pci bios.
4. If the output from running "nettrap query" looks reasonable then run "nettrap start" and this will start your QNX networking. Use the sin utility to see if the card is running. #sin -PNet
5. If you cannot get the card to work, and you have confirmed that it is not a bad card(it works in another machine), then post the output from the following commands in the qdn.public.qnx4 newsgroup at news://inn.qnx.com :
A.show_pci -v B.nettrap -vvvvvv start > net.file 2>&1 (the contents of the net.file) C.netinfo -l D.netinfo E.netmap F.contents of the /etc/config/netmap file G.sin H.sin ar F.sin ve G.sin ir |
|