For a project I need to launch dhcp.client in order to get a valid IP address from a rooter.
I followed the script sequence from there : http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_utilities%2Fd%2Fdhcp.client.html :
So far so good, I have my dynamic IP and my target is reachable.
I’ve observed 2 disturbed facts though :
1/ /dev/log reads :
What is the script purpose? Can I use dhcp.client without it? If so, how do I disable the error message?
2/ More disturbing, from time to time while booting up, my target crashes, see file attached. The memory dump suggests it is due to if_up binary failure… So in my script I removed “if_up enx”. It seems to work without it. I still get a valid dynamic IP from the rooter. Besides I got rid of the problem (no failure after 1400+ reboot).
So my question is, what is if_up purpose in the sequence? (I don’t understant the documentation) And can I launch dhcp.client without it?