dhcp.client

The TCP/IP upgrade included a dhcp.client. The books indicates that it
should start Socket and ifconfig. However when I start the dhcp.client in
sysinit, it complains about no Socket process found. When I start Socket
then dhcp.client, it complains about duplicate hosname ip addresses.

Does anyone have any experience or clues?

“Steve Higgs” <shiggs68@hotmail.com> wrote in message
news:c37kgk$cne$1@inn.qnx.com

The TCP/IP upgrade included a dhcp.client. The books indicates that it
should start Socket and ifconfig.

If that is the case then the doc is wrong. Where did you read that?

However when I start the dhcp.client in
sysinit, it complains about no Socket process found. When I start Socket
then dhcp.client, it complains about duplicate hosname ip addresses.

The proper setup is to start Socket and then dhcp.client (don’t use
ifconfig). If you get the duplicate hostname ip address it’s probably
because another machine is use a static IP address the dhcp server doesn’t
know about hence. You are probably ending up with the same IP address as
another machine.

Does anyone have any experience or clues?

Thanks for your reply…

The implication was from “TCP/IP User’s Guide” for QNX 4.25, Page 132,
dhcp.client Description: section says “Socket or Socklet shouldn’t be
running when starting dhcp.client.” also Option -N says "Start
Socket(default is Socklet).
I’d say from my experience and your description, the documentation is wrong.

However, that still does not get this thing working. The Duplicate IP
message is posted to syslog and indicates “0.0!!” as the ip address. Also,
my Dhcp Server log showed that a request was never posted from the QNX box
where I was attempting the dhcp.client. It is as if it got confused by the
/etc/hosts entry for this machine since it is not assigned yet. If I took
the /etc/hosts entry out, then it complained about not finding the -h
hostname parameter. This is much like a catch22???


“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c38djk$3a8$1@inn.qnx.com

“Steve Higgs” <> shiggs68@hotmail.com> > wrote in message
news:c37kgk$cne$> 1@inn.qnx.com> …
The TCP/IP upgrade included a dhcp.client. The books indicates that it
should start Socket and ifconfig.

If that is the case then the doc is wrong. Where did you read that?

However when I start the dhcp.client in
sysinit, it complains about no Socket process found. When I start Socket
then dhcp.client, it complains about duplicate hosname ip addresses.

The proper setup is to start Socket and then dhcp.client (don’t use
ifconfig). If you get the duplicate hostname ip address it’s probably
because another machine is use a static IP address the dhcp server doesn’t
know about hence. You are probably ending up with the same IP address as
another machine.

Does anyone have any experience or clues?
\