Naming a QNX system

This is a real newbie question, but I wish to place a tag name
on my qnx system. I have followed the rc files enough to know that
it is looking for $HOSTNAME or HOSTNAME, but I haven’t figured where
to put the value to get it picked up at boot time. Can anyone help
me with this?


regards,


David B. Alford

Hi,David:
I am not sure that I really understand your question because I myself is a
newbie .I set my computer’s name in QNX OS through two ways:
1,Run phlip(net config ), you can set the name of your computer,then in
another $node/net you can find out your host by that name.
2,in a boot buildfile you can assign the option of -Nname which will set the
name of your computer.
hope this helps.
ChaoLi.

“davida” <davida@telocity.com> wrote in message
news:3BEB5E41.4000008@telocity.com

This is a real newbie question, but I wish to place a tag name
on my qnx system. I have followed the rc files enough to know that
it is looking for $HOSTNAME or HOSTNAME, but I haven’t figured where
to put the value to get it picked up at boot time. Can anyone help
me with this?


regards,


David B. Alford

“ChaoLi” <qnx_new@sohu.com> wrote in message
news:9sgkst$7g5$1@inn.qnx.com

Hi,David:
I am not sure that I really understand your question because I myself is a
newbie .I set my computer’s name in QNX OS through two ways:
1,Run phlip(net config ), you can set the name of your computer,then in
another $node/net you can find out your host by that name.
2,in a boot buildfile you can assign the option of -Nname which will set
the
name of your computer.
hope this helps.

You can also take a look at the /etc/system/sysinit script (this is where it
is set). You can make a file called /etc/HOSTNAME which contains your host
name. Or you can just use phlip.

-Adam