LTSP client autologin does not work with dnsmasq as DHCP server

Bug #428760 reported by MohanMSS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am using hardy 8.04.3 in standard 2-NIC edubuntu LTSP configuration except dnsmasq is used as the DHCP server instead of the default dhcpd3.

I set the lts.conf file at /var/lib/tftpboot/ltsp/i386/lts.conf with options to autologin the clients - tried with both MAC addresses and IP addresses - autologin does not work - I keep getting the normal login screen at the client.

Got on IRC and alkisg helped narrow down the problem.

-----------------------------

 <alkisg> E.g. if you only send the filename for net:PXEClient, that would be the problem
 <mss> is there a sample dnsmasq.conf file ?
 <mss> I don't have remote access to server unfortunately
 <alkisg> Yes, there is one
 <alkisg> Hmmm.... I was talking about /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq, but now I see that it has the problem I'm mentioning :)
 <alkisg> So a bug report should be filed.
 <mss> I did use /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq to create the dnsmasq.conf file...
 <alkisg> OK so that was the source of the problem
 <alkisg> The string "Linux ipconfig" should be also checked for when sending the filename
 <mss> alkisg, if it not too much trouble ....... could you let me know the corrections to be done , so I can check ?
 <alkisg> mss, *without* checking, I'd say that you need to add the line: dhcp-vendorclass=pxe,"Linux ipconfig"

-----------------------------

Filing this so that the correct options will be included in the /usr/share/doc/ltsp-server/examples/dhcpd-dnsmasq file.

-Mohan

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

As said on irc, the missing line is:
dhcp-vendorclass=pxe,"Linux ipconfig"

But other significant directives are missing there, e.g.
dhcp-no-override

So I propose to replace the dhcpd-dnsmasq example file that ships with ltsp-server with the attached one.

Revision history for this message
Vagrant Cascadian (vagrantc) wrote :

committed a slightly modified version upstream.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

The fix was included in ltsp-5.1.86, and Karmic beta now has 5.1.88, so marking as "Fix Released".

Changed in ltsp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.