Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Configuring SNMPD between QNX4 and another system
Ref. No. QNX.000010182
Category(ies) Network
Issue How do I set up SMNPD between QNX4 and another system?


Solution These are files that you change/modify on your QNX box:

HostIP is the IP Address of your host computer
HostPort is the port that you want it to use (Default = 161)

##### /etc/party.conf
..
..
..
gent_party  .1.3.6.1.6.3.3.1.3.10.0.0.59.5
snmpUDPDomain HostIP  HostPort
noAuth          noPriv
300 484
29F660EA
00000000000000000000000000000000 NULL
00000000000000000000000000000000 NULL
..

Change the host ip from default to the HostIP.


OtherIP is the IP address of your other system(s).

##### /etc/hosts

HostIP    node1
OtherIP    node2

node 1 = qnx4 , node2 = Other System.  Add the IP's of systems you wish to connect to (ie: Win NT systems) and assign a hostname to them (ie: node2). Now you should be able to use the IP addresses and/or the hostnames to communicate with the other systems.

##### /etx/config/netmap

#Logical    Lan    Physical
1          1      002420 100398
2          1      00C093 0226BA

Logical 1 = qnx4, Logical 2 = Other System (ie: Win NT)
Added physical address of NIC's that are on other systems.  If you don't know it you will have to find a utility on the other system that will tell it to you.

To start snmpd on QNX box type "snmpd -d -a -i &"
Verify that snmpd  is running by typing "sin" and "sin -ar"

To configure an NT box (An example of another system.  If you have problems with this end of the SNMP, QNX will not support it):

##### Setup TCP/IP Properties to:

IP address: OtherIP
Subnet Mask: Subnet Mask
Default Gateway:  Default Gateway

##### Then setup the Microsoft SNMP Properties, under Traps

Add "public" to Community Name

After all that reboot the system (May not be needed, is needed in Win NT case).

To verify that SNMP is running on the NT BOX, type "NET START"  and you should see it runnig.

After all this, Try a snmpget from QNX to NT box

##### outputs from snmpget

# snmpget -v 1 node1 public system.sysDescr.0
system.sysDescr.0 = "QNX 425 J, cpu: 586"

# snmpget -v 1 node2 public system.sysDescr.0
system.sysDescr.0 = "Hardware: x86 Family 5 Model 4 Stepping 3 AT/AT COMPATIBLE
- Software: Windows NT Version 4.0  (Build Number: 1381 Uniprocessor Free )"

# snmpget -v 1 OtherIP public system.sysDescr.0
system.sysDescr.0 = "Hardware: x86 Family 5 Model 4 Stepping 3 AT/AT COMPATIBLE
- Software: Windows NT Version 4.0  (Build Number: 1381 Uniprocessor Free )"