IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 18 November 2017   (all times are UTC)

00:09lucascastro has left IRC (lucascastro!~lucas@201.182.221.14, Remote host closed the connection)
02:27GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 240 seconds)
03:41vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
07:53ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
08:26alazywor1 has left IRC (alazywor1!~alan@189.41.157.200, Ping timeout: 240 seconds)
08:29alazywor1 has joined IRC (alazywor1!~alan@179.126.10.25)
08:38Statler has joined IRC (Statler!~Georg@p579FF156.dip0.t-ipconnect.de)
09:17ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 240 seconds)
09:17ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
11:43lucascastro has joined IRC (lucascastro!~lucas@201.182.221.14)
13:09GodFather has joined IRC (GodFather!~rcc@47.33.250.142)
14:46lionrouge has joined IRC (lionrouge!~user@185.18.5.23)
14:46
<lionrouge>
hi !
14:46
<alkisg>
Hello
14:47lucascastro has left IRC (lucascastro!~lucas@201.182.221.14, Ping timeout: 240 seconds)
14:47
<lionrouge>
how can i add some addresses to clients' /etc/hosts ?
14:47
i know it's generated dynamically
14:47
<alkisg>
!lts.conf
14:47
<ltsp>
lts.conf: (#1) http://manpages.ubuntu.com/lts.conf, or (#2) lts.conf manpage is available in the ltsp-docs package
14:48
<alkisg>
See the HOSTS_ entry there
14:48
E.g. HOSTS_1="1.2.3.4 www.asdf.com"
14:48
<lionrouge>
thanks !
14:54
it's weird but i can't find this trick in any lts.conf man page in my Debian 9 or online, including your links to ubuntu docs
15:04
and it doesn't work unfortunately
15:49lucascastro has joined IRC (lucascastro!~lucas@201.73.62.146)
15:54lucascastro has left IRC (lucascastro!~lucas@201.73.62.146, Remote host closed the connection)
16:38lucascastro has joined IRC (lucascastro!~lucas@201.73.62.146)
16:47lucascastro has left IRC (lucascastro!~lucas@201.73.62.146, Ping timeout: 248 seconds)
17:25
<lionrouge>
alkisg, can you tell me where did you get this HOSTS_1 stuff ?
17:41
i think i will better setup DNS
17:41
on LTSP server
18:29pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Read error: Connection reset by peer)
18:34pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
18:40
<alkisg>
lionrouge: $ grep -r HOSTS /usr/share/ltsp
18:40
/usr/share/ltsp/init-ltsp.d/09-hostname:env | sort -V | sed -n 's/^HOSTS_[^=]*=//p' >> /etc/hosts
18:40
HOSTS_* variables in lts.conf go to /etc/hosts on the client boot
18:40
If it didn't work for you, you did it wrong
18:40
What's your lts.conf? Put it to pastebin
18:42
<lionrouge>
this: "grep -r HOSTS /usr/share/ltsp" finds nothing in my case
18:43
<alkisg>
lionrouge: which distro/version is that?
18:43
<lionrouge>
Debian 9
18:44
<alkisg>
Ah, if you're using a chroot, you need to do this in the chroot/
18:44
I.e. grep -r HOSTS /opt/ltsp/*/usr/share/ltsp
18:44
I wrote that years ago,so I'm sure it's in debian 9
18:59
<lionrouge>
yes, it's in chroot
18:59
<alkisg>
I know :)
18:59
If you paste your lts.conf,I'll tell you what you did wrong
19:14
<lionrouge>
i tried to insert this exact line: HOSTS_1="1.2.3.4 www.asdf.com" in the end of lts.conf
19:14
and it doesn't work
19:15
i print /etc/hosts on client machine and it's not there
19:24
<alkisg>
lionrouge: put it under [default]
19:24
because at the end of lts.conf, it affects only the [old_monitor] section
19:25
Which doesn't map to any client
19:25
<lionrouge>
oh
19:28
it works !
19:28
thank you
19:28
<alkisg>
np
19:42lionrouge has left IRC (lionrouge!~user@185.18.5.23, Quit: Leaving)
20:40Statler has left IRC (Statler!~Georg@p579FF156.dip0.t-ipconnect.de, Remote host closed the connection)
21:06GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 240 seconds)
21:33GodFather has joined IRC (GodFather!~rcc@47.33.250.142)
23:07lucascastro has joined IRC (lucascastro!~lucas@201.182.221.14)
23:37ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)