Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Edubuntu Development (http://www.linux-archive.org/edubuntu-development/)
-   -   UDHCPC not fetching lease from Windows DHCP server (http://www.linux-archive.org/edubuntu-development/356664-udhcpc-not-fetching-lease-windows-dhcp-server.html)

Alkis Georgopoulos 04-14-2010 09:32 AM

UDHCPC not fetching lease from Windows DHCP server
 
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.



--
edubuntu-devel mailing list
edubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel

Alkis Georgopoulos 04-14-2010 02:22 PM

UDHCPC not fetching lease from Windows DHCP server
 
I've filed LP #563056 which I suppose would be a better solution to this
problem.

--
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.



--
edubuntu-devel mailing list
edubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel

Alkis Georgopoulos 04-19-2010 07:45 PM

UDHCPC not fetching lease from Windows DHCP server
 
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=53283adb24765a7afb4d62986 61c3c1a8d6f5601)

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.



--
edubuntu-devel mailing list
edubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel


All times are GMT. The time now is 07:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.