FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu Development

 
 
LinkBack Thread Tools
 
Old 04-14-2010, 09:32 AM
Alkis Georgopoulos
 
Default 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
 
Old 04-14-2010, 02:22 PM
Alkis Georgopoulos
 
Default 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
 
Old 04-19-2010, 07:45 PM
Alkis Georgopoulos
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org