[Bug 505916] Re: UDHCPC not fetching lease from Windows DHCP server
Alkis Georgopoulos
alkisg at gmail.com
Mon Apr 19 19:45:14 UTC 2010
Reopening, because setting clientid in pxelinux.cfg/default is not an
acceptable solution. The DHCP RFC states that the clientid should be
unique on the local network, and not doing so causes serious problems
with certain RFC-compliant dhcp servers.
The current udhcp package is ancient (>5 years old) and doesn't have the necessary "--clientid-none" switch .
The udhcp codebase has been moved to busybox. That newer udhcpc does have the --clientid-none switch (line 165 in http://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c?h=1_16_stable&id=53283adb24765a7afb4d6298661c3c1a8d6f5601)
So as soon as that new udhcp package lands in Ubuntu
(https://bugs.launchpad.net/ubuntu/+source/udhcp/+bug/566845), we can
drop --clientid completely and start using -C instead, which should be a
proper solution to this bug report.
** Changed in: ltsp (Ubuntu)
Status: Fix Released => Confirmed
** Changed in: ltsp (Ubuntu)
Assignee: Alkis Georgopoulos (alkisg) => (unassigned)
--
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: Confirmed
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