I installed QNX NC and then upgraded to QNX SE. This behaviour has existed
since NC.
When photon comes up, the network is running using DHCP and it works fine.
If I open the network configuration dialog and change to manual and the back
to DHCP I get the following error.
“…Could not start dhcp.client: No such file or directory.”
I noticed that dhcp.client is in /usr/sbin, but a terminal window opened
from photon does not include this path in its environment variable PATH. The
profile file in /etc adds this path on login but it does not show on a
photon terminal window. I quit photon and went back to the login shell. I
noticed that profile was not sourced until I logged in on that shell. If I
then manually start photon (ph) the terminal windows include the /usr/sbin
directory and the DHCP works fine when I select it. Is profile not supposed
to run when photon is automatically started? What is the correct solution to
this problem?
I installed QNX NC and then upgraded to QNX SE. This behaviour has existed
since NC.
When photon comes up, the network is running using DHCP and it works fine.
If I open the network configuration dialog and change to manual and the back
to DHCP I get the following error.
“…Could not start dhcp.client: No such file or directory.”
Did you login as “root” or a different account?
I noticed that dhcp.client is in /usr/sbin, but a terminal window opened
from photon does not include this path in its environment variable PATH. The
profile file in /etc adds this path on login but it does not show on a
The PATH appears to get updated if you login as “root”.
I usually modify /etc/profile so that all users get the “root” paths – I
find it less confusing.
photon terminal window. I quit photon and went back to the login shell. I
noticed that profile was not sourced until I logged in on that shell. If I
then manually start photon (ph) the terminal windows include the /usr/sbin
directory and the DHCP works fine when I select it. Is profile not supposed
to run when photon is automatically started? What is the correct solution to
this problem?