[Bug 505916] Re: UDHCPC not fetching lease from Windows DHCP server

Alkis Georgopoulos alkisg at gmail.com
Wed Apr 14 09:32:45 UTC 2010


I tried using a cisco 876 router as the DHCP server today and had the
same problem, so I had to use the clientid kernel parameter to work
around it.

Isn't there any other way to prevent dhcp3-server from assigning 2
leases per client, so that we can drop the clientid='' hack?

-- 
UDHCPC not fetching lease from Windows DHCP server
https://bugs.launchpad.net/bugs/505916
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in ubuntu.

Status in “ltsp” package in Ubuntu: Fix Released

Bug description:
Only the first terminal to boot is assigned a lease. Other terminals are unable to.

By changing the following line in /scripts/init-premount/udhcp in the initrd file:

if udhcpc -n -c '' -s /tmp/dhcp-script.sh -i $i $clientid_param $hostname_param $ip_param > /dev/null; then

to 

if udhcpc -n  -s /tmp/dhcp-script.sh -i $i $clientid_param $hostname_param $ip_param > /dev/null; then

The DHCPD client does not try to assign multiple blank client ID's to the Windows DHCP server and all terminals can then boot.






More information about the edubuntu-devel mailing list