Re: dnsmasq.conf with no effect

Sean Carte <[email protected]> Mon, 30 Nov 2020 10:32:23 +0200
Newsgroups gmane.linux.terminal-server.general
Message-ID <CA+xAuhMgCMiOa+iTCeDEHFQKnMDK-BpUHxSM_P=YX4LzP2h7dw@mail.gmail.com>
--===============3664774873065018858==
Content-Type: multipart/alternative; boundary="00000000000011103805b54eda08"

--00000000000011103805b54eda08
Content-Type: text/plain; charset="UTF-8"

This mailing list isn't used anymore, please use the LTSP community issues:
https://github.com/ltsp/ltsp/issues/
<https://github.com/ltsp/ltsp/issues/68>

But, since I'm still here, which dnsmasq.conf are you using? There's
/etc/dnsmasq.d/ltsp-dnsamasq.conf and /etc/dnsmasq.conf.

On Wed, 25 Nov 2020 at 10:09, Rolf-Werner Eilert <[email protected]> wrote:

> This is a problem under LTSP5 with Ubuntu Mate 18.
>
> To make things short: I have a 2 NIC setup, and on the inner line with
> 192.168.67.x is the LTSP network. There is a long list in dnsmasq.conf
> with each client to have fixed MAC-to-IP-to-LTSP numbers (so I am able
> to identify each client).
>
> The list works well, but now I put one of the clients to another lab to
> replace a defective one. The numbers were changed in dnsmasq.conf, but
> the client is still identified under its former IP. Rebooting didn't fix
> it.
>
> Here is an excerpt of the list. I used 140 to replace 104:
>
> dhcp-host=94:C6:91:14:FC:30,ws001,192.168.67.101,infinite
> dhcp-host=94:C6:91:15:F7:3A,ws002,192.168.67.102,infinite
> dhcp-host=94:C6:91:15:41:1E,ws003,192.168.67.103,infinite
> #dhcp-host=94:C6:91:14:E3:87,ws004,192.168.67.104,infinite
> dhcp-host=94:C6:91:15:A8:96,ws004,192.168.67.104,infinite
>
> and down in the list where 140 came from:
>
> #dhcp-host=94:C6:91:15:A8:96,ws040,192.168.67.140,infinite
>
> The strange thing is, the whole setup keeps running as if I had never
> changed anything on dnsmasq.conf. Is there a another list? I couldn't
> find any. One clue might be that from day one, my naming "ws..." was
> ignored and all clients are named "LTSP...". But if dnsmasq.conf doesn't
> have any effect, where have the correct IPs come from since then?
>
> Setting "#" should work as a comment, shouldn't it? (Otherwise down in
> the list the old 140 entry would overwrite the new one above, of course
> that would explain it, but there are lots of more comments in the file...)
>
> Maybe someone here with an idea?
>
> Regards
> Rolf
>
>
> _____________________________________________________________________
> 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
>

--00000000000011103805b54eda08
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This mailing list isn&#39;t used anymore, please use the L=
TSP community issues:<br>
<div><a href=3D"https://github.com/ltsp/ltsp/issues/68" rel=3D"noreferrer" =
target=3D"_blank">https://github.com/ltsp/ltsp/issues/</a></div><div><br></=
div><div>But, since I&#39;m still here, which dnsmasq.conf are you using? T=
here&#39;s /etc/dnsmasq.d/ltsp-dnsamasq.conf and /etc/dnsmasq.conf.<br></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Wed, 25 Nov 2020 at 10:09, Rolf-Werner Eilert &lt;<a href=3D"mailto:rw=
[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">This is a problem under LTSP5 with Ubun=
tu Mate 18.<br>
<br>
To make things short: I have a 2 NIC setup, and on the inner line with <br>
192.168.67.x is the LTSP network. There is a long list in dnsmasq.conf <br>
with each client to have fixed MAC-to-IP-to-LTSP numbers (so I am able <br>
to identify each client).<br>
<br>
The list works well, but now I put one of the clients to another lab to <br=
>
replace a defective one. The numbers were changed in dnsmasq.conf, but <br>
the client is still identified under its former IP. Rebooting didn&#39;t fi=
x it.<br>
<br>
Here is an excerpt of the list. I used 140 to replace 104:<br>
<br>
dhcp-host=3D94:C6:91:14:FC:30,ws001,192.168.67.101,infinite<br>
dhcp-host=3D94:C6:91:15:F7:3A,ws002,192.168.67.102,infinite<br>
dhcp-host=3D94:C6:91:15:41:1E,ws003,192.168.67.103,infinite<br>
#dhcp-host=3D94:C6:91:14:E3:87,ws004,192.168.67.104,infinite<br>
dhcp-host=3D94:C6:91:15:A8:96,ws004,192.168.67.104,infinite<br>
<br>
and down in the list where 140 came from:<br>
<br>
#dhcp-host=3D94:C6:91:15:A8:96,ws040,192.168.67.140,infinite<br>
<br>
The strange thing is, the whole setup keeps running as if I had never <br>
changed anything on dnsmasq.conf. Is there a another list? I couldn&#39;t <=
br>
find any. One clue might be that from day one, my naming &quot;ws...&quot; =
was <br>
ignored and all clients are named &quot;LTSP...&quot;. But if dnsmasq.conf =
doesn&#39;t <br>
have any effect, where have the correct IPs come from since then?<br>
<br>
Setting &quot;#&quot; should work as a comment, shouldn&#39;t it? (Otherwis=
e down in <br>
the list the old 140 entry would overwrite the new one above, of course <br=
>
that would explain it, but there are lots of more comments in the file...)<=
br>
<br>
Maybe someone here with an idea?<br>
<br>
Regards<br>
Rolf<br>
<br>
<br>
_____________________________________________________________________<br>
Ltsp-discuss mailing list.=C2=A0 =C2=A0To un-subscribe, or change prefs, go=
to:<br>
=C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinf=
o/ltsp-discuss" rel=3D"noreferrer" target=3D"_blank">https://lists.sourcefo=
rge.net/lists/listinfo/ltsp-discuss</a><br>
For additional LTSP help,=C2=A0 =C2=A0try #ltsp channel on <a href=3D"http:=
//irc.freenode.net" rel=3D"noreferrer" target=3D"_blank">irc.freenode.net</=
a><br>
</blockquote></div>

--00000000000011103805b54eda08--


--===============3664774873065018858==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3664774873065018858==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_____________________________________________________________________
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

--===============3664774873065018858==--