<div dir="ltr"><div class="gmail_default" style="font-size:large">Sorry, only just now after finishing an article about</div><div class="gmail_default" style="font-size:large">grml customization did I realize that I didn't reply to the list...</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">My customized version with dnsmasq, etc. is here:</div><div class="gmail_default" style="font-size:large"><a href="http://fs.cyut.edu.tw/gregslab/20/">http://fs.cyut.edu.tw/gregslab/20/</a><br></div><div class="gmail_default" style="font-size:large">(grml64-small-g20?.iso)</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">The customization process is documented here in zh_TW:</div><div class="gmail_default" style="font-size:large"><a href="https://newtoypia.blogspot.com/2020/11/grml.html">https://newtoypia.blogspot.com/2020/11/grml.html</a><br></div><div class="gmail_default" style="font-size:large"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--<br>顧好自己的隱私, 快停止網路裸奔!</div><div>請搜尋『貴哥的節慾手機』<br>Greg Chao-Kuei Hung 洪朝貴<br><br>PGP Key ID: 4096R/5828A7A7<br>Fingerprint: 67AF B5AB 5242 3E99 16D7  EAF8 A94D 2C92 5828 A7A7<br></div></div></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>寄件者: <strong class="gmail_sendername" dir="auto">洪朝貴</strong> <span dir="auto"><<a href="mailto:ckhung@cyut.edu.tw">ckhung@cyut.edu.tw</a>></span><br>Date: 2020年10月29日 週四 下午10:56<br>Subject: Re: [Grml] switching to dnsmasq when using grml-terminalserver<br>To: gilberto dos santos alves <<a href="mailto:gsavix@gmail.com">gsavix@gmail.com</a>><br></div><br><br><div dir="ltr"><div dir="ltr"><div style="font-size:large">Thanks to mika for the detailed response. Here is my detailed use case.<br clear="all"></div><div style="font-size:large"><br></div><div style="font-size:large">I plan to install linux to two partitions of each computer in a Univ. computer classroom</div><div style="font-size:large">using only one usb flash drive containing a customized grml and a customized</div><div style="font-size:large">linux mint 20 ulyana.</div><div style="font-size:large">1. Boot one computer into ulyana, with a grml kvm running inside but bridged</div><div style="font-size:large">    to the host's network as the pxe server.</div><div style="font-size:large">2. Start pxe service serving grml image, with the "netscript=http://..." option</div><div style="font-size:large">    pointing to a pdmenu script full of admin options (details below).</div><div style="font-size:large">3. Boot all other computers using pxe into grml and into the pdmenu script.</div><div style="font-size:large">4. For each computer, choose from pdmenu the option to prepare the partitions,</div><div style="font-size:large">    one EFI and the other LVM with all required volumes. Also install grml</div><div style="font-size:large">    using extlinux into the EFI partition, with an additional (not-yet usable) ulyana entry.</div><div style="font-size:large">5. For each computer, choose from pdmenu the option to receive, in parallel, </div><div style="font-size:large">    the rather large ulyana image using udp-receiver.</div><div style="font-size:large">6. From the pxe server use udp-sender to start broadcasting the ulyana image.</div><div style="font-size:large">7. For each computer, choose from pdmenu the option to mount  the ulyana image</div><div style="font-size:large">    and copy files inside into an LVM volume, completing the ulyana installation.</div><div style="font-size:large"><br></div><div style="font-size:large">Some computers may go wrong after some use. A student should be able to</div><div style="font-size:large">choose to boot the computer using pxe and repair/re-initialize his own computer</div><div style="font-size:large">using options in the pdmenu (this time using wget instead of udp-receive).</div><div style="font-size:large">This may happen without requiring the teacher to pay attention while he (me)</div><div style="font-size:large">gives the lecture and while other students are using their ulyana in the classroom.</div><div style="font-size:large"><br></div><div style="font-size:large">This computer classroom may boot into windows in other class hours.</div><div style="font-size:large">There is already an existing DHCP service running all the time,</div><div style="font-size:large">and It is best not to disrupt this service. So my pxe server should be a proxy server,</div><div style="font-size:large">which only provides boot-related files but does not hand out IP's.</div><div style="font-size:large"><br></div><div style="font-size:large">Actually I have created a customized version of grml with manually installed</div><div style="font-size:large">pxelinux, dnsmasq, udpcast, pdmenu, gdisk, ntfs-3g, apache2, ... </div><div style="font-size:large">and have tested individual steps separately. So my problem is kind of solved now.</div><div style="font-size:large"><br></div><div style="font-size:large">Still it would be nice if grml comes with all of these pre-installed and even</div><div style="font-size:large">with some sample pdmenu script so that computer lab admins (in Taiwan's</div><div style="font-size:large">high schools and primary schools these are mainly busy computer teachers)</div><div style="font-size:large">can see that GNU/Linux and in particular grml can save a lot of work for them.</div><div style="font-size:large">Maybe even helping them distributing windows images (yuk).</div><div style="font-size:large"><br></div><div style="font-size:large">I would also like to take this opportunity to thank you all contributors</div><div style="font-size:large">for your great work on grml! It has saved me on several occasions</div><div style="font-size:large">since I started using it around 2017. I have it in each and every one of</div><div style="font-size:large">my bootable usb flash drive. I carry 3 of them with me all the time.</div><div style="font-size:large">They give me great peace of mind :-)</div><div style="font-size:large"><br></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>--<br>顧好自己的隱私, 快停止網路裸奔!</div><div>請搜尋『貴哥的節慾手機』<br>Greg Chao-Kuei Hung 洪朝貴<br><br>PGP Key ID: 4096R/5828A7A7<br>Fingerprint: 67AF B5AB 5242 3E99 16D7  EAF8 A94D 2C92 5828 A7A7<br></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">gilberto dos santos alves <<a href="mailto:gsavix@gmail.com" target="_blank">gsavix@gmail.com</a>> 於 2020年10月29日 週四 上午7:05寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">if we could see a use case explained with details, it will be more easy for opinions. regards.</div><br><div class="gmail_quote"><div dir="ltr">Em qua, 28 de out de 2020 14:25, Michael Prokop <<a href="mailto:mika@grml.org" target="_blank">mika@grml.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
* 洪朝貴 [Sat Oct 24, 2020 at 04:00:59PM +0800]:<br>
<br>
> Is it possible to replace isc dhcp server with dnsmasq for use with<br>
> grml-terminalserver?<br>
> There is an existing dhcp server in my environment that I cannot touch<br>
> and therefore I need to set up a proxy dhcp server for<br>
> distributing only pxe-related files but not ip addresses like this:<br>
> <a href="https://www.theurbanpenguin.com/pxelinux-using-proxy-dhcp/" rel="noreferrer noreferrer" target="_blank">https://www.theurbanpenguin.com/pxelinux-using-proxy-dhcp/</a><br>
> Dnsmasq can do it but isc-dhcp-server does not seem to have this option.<br>
> Thanks!<br>
<br>
Well, you can of course use dnsmasq instead of isc-dhcp-server in<br>
your environment. But if you're asking for out-of-the-box support<br>
within the grml-terminalserver user interface, then that's something<br>
someone would need to implement yet. :)<br>
<br>
I'm not *yet* sure we'd want to use dnsmasq instead of<br>
isc-dhcp-server by default, this would need some further research<br>
regarding possible drawbacks, package dependency changes,.... One of<br>
the major drawbacks of dnsmasq IMO is, that you need to pretty much<br>
always *restart* it - instead of reload without real downtime - for<br>
most of any config changes, like adding a new host. This shouldn't<br>
be much of a problem for grml-terminalserver itself though, while<br>
the proxydhcp feature sounds like a good argument in favor of<br>
dnsmasq for grml-terminalserver. Any further opinions?<br>
<br>
regards<br>
-mika-<br>
_______________________________________________<br>
Grml mailing list - <a href="mailto:Grml@ml.grml.org" rel="noreferrer" target="_blank">Grml@ml.grml.org</a><br>
<a href="http://ml.grml.org/mailman/listinfo/grml" rel="noreferrer noreferrer" target="_blank">http://ml.grml.org/mailman/listinfo/grml</a><br>
join #grml on <a href="http://irc.freenode.org" rel="noreferrer noreferrer" target="_blank">irc.freenode.org</a><br>
grml-devel-blog: <a href="http://blog.grml.org/" rel="noreferrer noreferrer" target="_blank">http://blog.grml.org/</a></blockquote></div>
_______________________________________________<br>
Grml mailing list - <a href="mailto:Grml@ml.grml.org" target="_blank">Grml@ml.grml.org</a><br>
<a href="http://ml.grml.org/mailman/listinfo/grml" rel="noreferrer" target="_blank">http://ml.grml.org/mailman/listinfo/grml</a><br>
join #grml on <a href="http://irc.freenode.org" rel="noreferrer" target="_blank">irc.freenode.org</a><br>
grml-devel-blog: <a href="http://blog.grml.org/" rel="noreferrer" target="_blank">http://blog.grml.org/</a></blockquote></div></div>
</div></div>