dhcp.client question

I have 2 questions:

  1. Help says Tcpip stack has to run first, what is tcpip stack? the example
    shows using Tcpip ‘hostname’ &
    I tried to put it into the sysinit.1, but it reports ‘Tcpip not found’.

2)How is hostname started with ‘dhcp.client -h qnx_machine’ gets broadcast
in the window based LAN ?
I need to be able to 'ping qnx_machine ’ from a window machine inside the
LAN…

my sysinit.1 looks like:
Net &
Net.ether82557 &
/bin/sleep 3 &
/usr/ucb/Socklet localhost &
/bin/sleep 2 &
/usr/ucb/dhcp.client -h qnx_machine &
/bin/sleep 2 &
/usr/ucb/ifconfig en1 up
/bin/sleep 2 &
/usr/ucb/SMBfsys &
/bin/sleep 2 &

The Tcpip stack is Socklet. Tcpip is the name of Sock(l)et in v5.0.

Also, the “sleep x &” commands in your file won’t do what you want. Each
sleep command will be started in the background.

Also, don’t put a “&” after dhcp.client.

HTH

“Ran Zhang” <rzhang@vamcointernational.com> wrote in message
news:creeoc$dpl$1@inn.qnx.com

I have 2 questions:

  1. Help says Tcpip stack has to run first, what is tcpip stack? the
    example
    shows using Tcpip ‘hostname’ &
    I tried to put it into the sysinit.1, but it reports ‘Tcpip not found’.

2)How is hostname started with ‘dhcp.client -h qnx_machine’ gets broadcast
in the window based LAN ?
I need to be able to 'ping qnx_machine ’ from a window machine inside the
LAN…

my sysinit.1 looks like:
Net &
Net.ether82557 &
/bin/sleep 3 &
/usr/ucb/Socklet localhost &
/bin/sleep 2 &
/usr/ucb/dhcp.client -h qnx_machine &
/bin/sleep 2 &
/usr/ucb/ifconfig en1 up
/bin/sleep 2 &
/usr/ucb/SMBfsys &
/bin/sleep 2 &
\

how can the hostname ‘qnx_machine’ be broadcast in the LAN?
“Jeffrey Adler” <jeffadler.at.bigfoot.dot.com@nowhere.com> wrote in message
news:creg88$eg7$1@inn.qnx.com

The Tcpip stack is Socklet. Tcpip is the name of Sock(l)et in v5.0.

Also, the “sleep x &” commands in your file won’t do what you want. Each
sleep command will be started in the background.

Also, don’t put a “&” after dhcp.client.

HTH

“Ran Zhang” <> rzhang@vamcointernational.com> > wrote in message
news:creeoc$dpl$> 1@inn.qnx.com> …
I have 2 questions:

  1. Help says Tcpip stack has to run first, what is tcpip stack? the
    example
    shows using Tcpip ‘hostname’ &
    I tried to put it into the sysinit.1, but it reports ‘Tcpip not found’.

2)How is hostname started with ‘dhcp.client -h qnx_machine’ gets
broadcast
in the window based LAN ?
I need to be able to 'ping qnx_machine ’ from a window machine inside
the
LAN…

my sysinit.1 looks like:
Net &
Net.ether82557 &
/bin/sleep 3 &
/usr/ucb/Socklet localhost &
/bin/sleep 2 &
/usr/ucb/dhcp.client -h qnx_machine &
/bin/sleep 2 &
/usr/ucb/ifconfig en1 up
/bin/sleep 2 &
/usr/ucb/SMBfsys &
/bin/sleep 2 &


\

Ran Zhang <rzhang@vamcointernational.com> wrote:

how can the hostname ‘qnx_machine’ be broadcast in the LAN?

it won’t.
you will have to add it in your DNS.

“Frank Liu” <fliu@usdjmp1.eng.vodafone-us.com> wrote in message
news:crejpi$g9p$2@inn.qnx.com

Ran Zhang <> rzhang@vamcointernational.com> > wrote:
how can the hostname ‘qnx_machine’ be broadcast in the LAN?

it won’t.
you will have to add it in your DNS.

In order to do this you need a dhcp server that is somehow connected to the
DNS server.

Experience tells me it’s better to use FQN (fully qualified name) with
dhcp.client -h. This the setup i’m currently using and it working as
expected. Node gets dynamicly added to the DNS server. I don’t know how
the dhcp server and DNS server are setup.