Dhcp.client Setup.

Help!!

How does one setup dhcp in qnx4? I can’t
seem it get it to run. I had no problem under
rtp.

Tom.

Previously, Thomas Freedy wrote in qdn.public.qnx4:

Help!!

How does one setup dhcp in qnx4? I can’t
seem it get it to run. I had no problem under
rtp.

I have a /etc/netstart file with the following in it:

/usr/ucb/$socket $HOSTNAME &

if [ dhcp -eq 1 ];then
/usr/ucb/dhcp.client -h $HOSTNAME -i en1 -d
else
/usr/ucb/ifconfig en1 $HOSTNAME up
/usr/ucb/ifconfig lo0 localhost up
fi


$socket is either Socket or Socklet (no NFS)


David L. Hawley D.L. Hawley and Associates

I sure this is already done but just in case …

  1. Make sure the MAC address for the NIC(s) is properly listed in
    /etc/config/netmap
  2. Make sure the appropriate Net driver(s) is started for the NIC(s)

“David Hawley” <David.L.Hawley@computer.org> wrote in message
news:Voyager.010506101449.700434A@shadow.hawley.com

Previously, Thomas Freedy wrote in qdn.public.qnx4:
Help!!

How does one setup dhcp in qnx4? I can’t
seem it get it to run. I had no problem under
rtp.

I have a /etc/netstart file with the following in it:

/usr/ucb/$socket $HOSTNAME &

if [ dhcp -eq 1 ];then
/usr/ucb/dhcp.client -h $HOSTNAME -i en1 -d
else
/usr/ucb/ifconfig en1 $HOSTNAME up
/usr/ucb/ifconfig lo0 localhost up
fi


$socket is either Socket or Socklet (no NFS)


David L. Hawley D.L. Hawley and Associates