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 toQNX Technical Support if you have any questions/concerns.