Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

How to add second network interface to QNX 7.1 Vmware Virtual Machine
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Enable 2nd Network Interface on 7.1 VM
  • SDP: 7.1.0
  • Target: QNX VM Target
________________________________________________________________________

Question
________________________________________________________________________

How do I add a second network interface to QNX 7.1 virtual machine?

________________________________________________________________________

Recommendation
________________________________________________________________________

After creating a QNX 7.1 VMware Virtual Machine from Momentics IDE or from command line with mkqnximage utility, and adding additional network adapter to virtual machine. In order to get the network interface up and active, "start_net.sh" and "startup.sh" ,which are in output/build folder, need to be modified.

For "start_net.sh", insert the following at line 6 and 7
if_up -p wm1
ifconfig wm1 up
For "startup.sh", add “ wm1”(without quotations) at the end of line 48.
dhclient -nw --no-pid -cf /system/etc/dhclient.conf -sf /system/xbin/_dhclient-script -lf /data/var/dhclient/leases -m wm0 wm1
Finally, rebuild the virtual machine. With Momentics IDE, right click on the project then select Rebuild Virtual Machine. With mkqnximage utility, run "mkqnximage --build".


________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.