[1999] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

DHCP bug?

daemon@ATHENA.MIT.EDU (Jeremy C Daniel)
Sat Mar 14 07:04:59 1998

To: linux-dev@MIT.EDU
Date: Sat, 14 Mar 1998 07:04:39 EST
From: Jeremy C Daniel <jdaniel@MIT.EDU>

I was having a lot of drouble getting DHCP to work on my 4.2
laptop.  The server was returning an address, but the machine was
never configuring itself to use that address for it's hostname.
I finally managed to track down why.  In the script
/etc/sysconfig/network-scripts/ifdhcp-done there is the following
first line

SLEEPIDFILE=/var/run/dhcp-wait-${IFNAME}.pid

this is unfortunate, because the variable ${IFNAME} does not seem
to be set.  I have changed it to ${DHCP_DEVICE} on my machine and
it now is able to set the hostname, and everything it's supposed
to.  This is part of the package initscripts which appears to be
vender provided so it makes me wonder if we messed something else
up somewhere in order to cause this lossage.  




				Jer

home help back first fref pref prev next nref lref last post