On Wed, 21 Nov 2007 12:50:32 -0800 (PST), Anthony M Simonelli wrote
> Using LTSP 5.0.39 & Ubuntu 7.10. I've used the kiosk plugin to create
> a kiosk chroot environment (see this bug first:
> https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/163278 )
>
> Now I have two environments in the /opt directory:
>
> /opt/ltsp
> /opt/ltsp-kiosk
>
> and I also have two entries in the inetd.conf file corresponding to the
> chroot environments:
>
> 2000 stream tcp nowait nobody /usr/sbin/tcpd
> /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
> 2001 stream tcp nowait nobody /usr/sbin/tcpd
> /usr/sbin/nbdrootd /opt/ltsp-kiosk/images/i386.img
>
> The kiosk chroot is served up on port 2001 by the NBD server, but I
> can't get the thin client to boot up using the kiosk image. I always get
> this in the syslog:
>
> nbd_server[29243]: connect from 192.168.0.150, assigned file is
> /opt/ltsp/images/i386.img
>
> After running ltsp-update-kernels -b /opt/ltsp-kiosk -d ltsp-kiosk ,
> I've set the boot file to /ltsp-kiosk/i386/pxelinux.0 and the root path
> to /opt/ltsp-kiosk/i386 in the DHCP server but it still doesn't work.
>
> What do I need to change in order to get the kiosk image served on port
> 2001 of the NBD server to a particular thin client?
You don't really talk to your dhcpd.conf setup here. I would assume you could
serve
both images on the same NBD port, but just have two sections in dhcpd.conf.
One would
define a set of mac addresses that would boot ltsp, and the other would define
a set of
macs that would boot ltsp-kiosk. Each section would have their own callouts for
filename and option root-path.
# Standard LTSP
group {
use-host-decl-names on;
deny unknown-clients;
if substring( option vendor-class-identifier , 0 , 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
}
else {
filename "/ltsp/i386/nbi.img";
}
option root-path "/opt/ltsp/i386";
host ltsp1 {
hardware ethernet 00:1A:4D:2F:A5:78;
fixed-address 10.6.252.1;
}
}
# Web Kiosks
group {
use-host-decl-names on;
deny unknown-clients;
if substring( option vendor-class-identifier , 0 , 9 ) = "PXEClient" {
filename "/ltsp-kiosk/i386/pxelinux.0";
}
else {
filename "/ltsp-kiosk/i386/nbi.img";
}
option root-path "/opt/ltsp-kiosk/i386";
host kiosk1 {
hardware ethernet 00:1A:4D:2F:A5:79;
fixed-address 10.6.252.10;
}
}
Hope that helps,
Jim
--
This message has been scanned for viruses and
dangerous content by the Cotter Technology
Department, and is believed to be clean.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net