We recently moved one of our QNX machines to a new network, and now I am having a hard time getting network working again. I changed /etc/hosts, and tried to change the ip with ifconfig, and even went through the stuff in the manual where it reloads the ethernet driver, as well as, of course, rebooting. It appears to have the new ip. If I type ifconfig en1, I get this:
Look at your /etc/net.cfg file. This is set up by phlip / netmanager
utilities. When in doubt set everything to manual and play with
‘ifconfig’ / ‘route’.
Well, I seem to have networking working again. I found a script /etc/config/bin/tcpip.1 that was calling route with the old subnet. Changing that seems to have done the trick.