Re: Location of lts.conf file
James McQuillan <[email protected]> Mon, 25 Feb 2013 17:37:09 -0500
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <CAL2giFLQS4cfFZN4hCdHKrWztS6Dz0rMDH_ghAyvcY65UENDLg@mail.gmail.com> |
--===============3575695466693506577== Content-Type: multipart/alternative; boundary=f46d0438934972636204d6942eba --f46d0438934972636204d6942eba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Indeed that seems to be the case that it uses what was given by dhcp. On the server that I had this problem on, the filename was "/ltsp/i386/pxelinux.0"; On the server that I'm testing today, it's working fine. BUT, what do you all think about looking for a common file as: /var/lib/tftpboot/ltsp/lts.conf, without the arch ? Jim. 2013/2/25 Alkis Georgopoulos <[email protected]> > =CE=A3=CF=84=CE=B9=CF=82 25/02/2013 10:43 =CE=BC=CE=BC, =CE=BF/=CE=B7 Jam= es McQuillan =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > > /var/lib/tftpboot/ltsp/lts.conf <-- Common place for all > clients > > /var/lib/tftpboot/ltsp/${ARCH}/lts.conf <-- Specific to that arch > > /opt/ltsp/${ARCH}/etc/lts.conf <-- In the chroot > > I think currently it is: > > 1) $TFTPROOT/$TFTPPREFIX/lts.conf > 2) /etc/lts.conf > > TFTPROOT is /var/lib/tftpboot etc, set on the server. > > TFTPPREFIX is set from the DHCP filename directive: > if substring( option vendor-class-identifier, 0, 9 ) =3D "PXEClient" = { > filename "/ltsp/i386/pxelinux.0"; > } else { > filename "/ltsp/i386/nbi.img"; > } > > > Note though that on the initramfs, different dhcp clients send different > values. > Ubuntu's udhcpc sends something containing udhcpc, > while Debian's ipconfig sends something like "Linux ipconfig". > > So check your dhcpd.conf for a correct TFTP boot filename on the "else" > clause... > > > -------------------------------------------------------------------------= ----- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _____________________________________________________________________ > Ltsp-developer mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-developer > For additional LTSP help, try #ltsp channel on irc.freenode.net > --f46d0438934972636204d6942eba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Indeed that seems to be the case that it uses what was giv= en by dhcp. =C2=A0On the server that I had this problem on, the filename wa= s "/ltsp/i386/pxelinux.0";<div><br></div><div>On the server that = I'm testing today, it's working fine.</div> <div><br></div><div style>BUT, what do you all think about looking for a co= mmon file as: /var/lib/tftpboot/ltsp/lts.conf, =C2=A0without the arch ?</di= v><div style><br></div><div style>Jim.</div></div><div class=3D"gmail_extra= "><br> <br><div class=3D"gmail_quote">2013/2/25 Alkis Georgopoulos <span dir=3D"lt= r"><<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= om</a>></span><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> =CE=A3=CF=84=CE=B9=CF=82 25/02/2013 10:43 =CE=BC=CE=BC, =CE=BF/=CE=B7 James= McQuillan =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:<br> <div class=3D"im">> /var/lib/tftpboot/ltsp/lts.conf =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0<-- Common place for all clients<br> > /var/lib/tftpboot/ltsp/${ARCH}/lts.conf =C2=A0 =C2=A0<-- Specific t= o that arch<br> > /opt/ltsp/${ARCH}/etc/lts.conf =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 <-- In the chroot<br> <br> </div>I think currently it is:<br> <br> 1) $TFTPROOT/$TFTPPREFIX/lts.conf<br> 2) /etc/lts.conf<br> <br> TFTPROOT is /var/lib/tftpboot etc, set on the server.<br> <br> TFTPPREFIX is set from the DHCP filename directive:<br> =C2=A0 =C2=A0 if substring( option vendor-class-identifier, 0, 9 ) =3D &quo= t;PXEClient" {<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 filename "/ltsp/i386/pxelinux.0";<br> =C2=A0 =C2=A0 } else {<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 filename "/ltsp/i386/nbi.img";<br> =C2=A0 =C2=A0 }<br> <br> <br> Note though that on the initramfs, different dhcp clients send different<br= > values.<br> Ubuntu's udhcpc sends something containing udhcpc,<br> while Debian's ipconfig sends something like "Linux ipconfig"= .<br> <br> So check your dhcpd.conf for a correct TFTP boot filename on the "else= "<br> clause...<br> <div class=3D"HOEnZb"><div class=3D"h5"><br> ---------------------------------------------------------------------------= ---<br> Everyone hates slow websites. So do we.<br> Make your web apps faster with AppDynamics<br> Download AppDynamics Lite for free today:<br> <a href=3D"http://p.sf.net/sfu/appdyn_d2d_feb" target=3D"_blank">http://p.s= f.net/sfu/appdyn_d2d_feb</a><br> _____________________________________________________________________<br> Ltsp-developer mailing list. =C2=A0 To un-subscribe, or change prefs, goto:= <br> =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinf= o/ltsp-developer" target=3D"_blank">https://lists.sourceforge.net/lists/lis= tinfo/ltsp-developer</a><br> For additional LTSP help, =C2=A0 try #ltsp channel on <a href=3D"http://irc= .freenode.net" target=3D"_blank">irc.freenode.net</a><br> </div></div></blockquote></div><br></div> --f46d0438934972636204d6942eba-- --===============3575695466693506577== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb --===============3575695466693506577== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _____________________________________________________________________ Ltsp-developer mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-developer For additional LTSP help, try #ltsp channel on irc.freenode.net --===============3575695466693506577==--