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


Channel log from 24 January 2019   (all times are UTC)

01:40vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 240 seconds)
03:15adrianorg has left IRC (adrianorg!~adrianorg@179.177.208.103.dynamic.adsl.gvt.net.br, Ping timeout: 246 seconds)
03:15adrianorg has joined IRC (adrianorg!~adrianorg@179.177.208.103.dynamic.adsl.gvt.net.br)
07:06kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:11c8:94ba:36fa:6264)
08:20ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:04nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
09:05
<nikoh77>
hi guys, i have this problem: screen flickering on just one fatclient... orizontal lines are displayed in random mode
09:16nikoh77_ has joined IRC (nikoh77_!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
09:18nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Ping timeout: 245 seconds)
09:19
<alkisg>
nikoh77_: what's the output of this? lspci -nn -k | grep -A 2 VGA
09:19
lspci -nn -k | grep -A 2 VGA | nc termbin.com 9999
09:19
Actually, this is better:
09:20
( lspci -nn -k | grep -A 2 VGA; xrandr ) | nc termbin.com 9999
09:27GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Read error: Connection reset by peer)
09:28GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
09:41nikoh77_ has left IRC (nikoh77_!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Ping timeout: 250 seconds)
10:13nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
10:13
<nikoh77>
alkisg: these commands on client or on server?
10:14
<alkisg>
Client
10:58Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
11:10josefig has left IRC (josefig!~jose@unaffiliated/josefig, Ping timeout: 245 seconds)
11:11josefig has joined IRC (josefig!~jose@unaffiliated/josefig)
13:03nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Remote host closed the connection)
13:18
<mwalters>
alkisg: whenever you could give me some advice on these uefi clients, it would be much appreciated. Thanks!
13:19
<alkisg>
mwalters: heh, you're 7 hours late; I left work! Tomorrow! :)
13:19
<mwalters>
ouch. What is Greece? GMT +5?
13:19
<alkisg>
+3
13:20
+2 in winter
13:20
<mwalters>
Ah I see
13:22
Doubt we'll sync up when you're at work, 0821 here (GMT -5). I'll toss my dnsmasq conf up on termbin... if you take a peak at it, thanks. if not, no worries :)
13:23
Gonna keep throwing stuff at it and see if something sticks
13:27adrianor1 has joined IRC (adrianor1!~adrianorg@187.115.105.202)
13:28
<alkisg>
The dnsmasq.conf I'm preparing for ltsp6 worked for all my uefi clients, even those that had the issue you're describing
13:28
So if anything else fails, you'll probably be ok in September when it's out :)
13:28
<mwalters>
lol ;)
13:30adrianorg has left IRC (adrianorg!~adrianorg@179.177.208.103.dynamic.adsl.gvt.net.br, Ping timeout: 250 seconds)
13:53nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
14:15mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
14:28vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi, Ping timeout: 250 seconds)
14:30vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi)
14:46spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)
14:50mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Quit: Leaving)
15:37JuJUBee has left IRC (JuJUBee!~knichel@24.148.115.153, Ping timeout: 268 seconds)
15:50JuJUBee has joined IRC (JuJUBee!~knichel@24.105.212.11)
15:59JuJUBee has left IRC (JuJUBee!~knichel@24.105.212.11, Ping timeout: 245 seconds)
15:59nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Ping timeout: 245 seconds)
16:00nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
16:05nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Ping timeout: 250 seconds)
16:09kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f300:11c8:94ba:36fa:6264, Ping timeout: 252 seconds)
16:12JuJUBee has joined IRC (JuJUBee!~knichel@24.105.212.11)
16:15nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
16:30
<JuJUBee>
alkisg, I just finished setting up ltsp on a VM on a monster server. Booted a client and took over 5 min to get to desktop. Suggestions?
16:31
<mwalters>
thin/fat? uefi, bios?
16:31nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Read error: Connection reset by peer)
16:31nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
16:33
<JuJUBee>
mwalters, not sure, followed http://wiki.ltsp.org/wiki/Installation/Ubuntu never saw option to set thin vs fat Using chrootless method
16:34
<alkisg>
Chrootless supports both thin and fat
16:34nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, Read error: Connection reset by peer)
16:35
<JuJUBee>
Not certain about uefi vs bios for the ltsp server (VM)
16:35nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
16:35
<JuJUBee>
How do I know which it is using?
16:35
<mwalters>
there he is, I'll let him take over... I was talking more about the client re: uefi/bios
16:35
<alkisg>
At which point did the client go slowly on boot?
16:35
<mwalters>
probably not uefi, considering you just followed the wiki...
16:36
<alkisg>
E.g. did you see it staying 3 minutes at some systemd unit?
16:36
`systemd-analyze blame` as root on the client might help
16:36
<JuJUBee>
alkisg, the entire process.took 2:05 to get done with initrd.img, 4:07 to get a login screen and 5:45 to get to desktop
16:36
<alkisg>
`dmesg` on the client might help as well
16:36
2 minutes to download the initrd?
16:37
Are you using a 10 mbps hub from 1980? :P
16:37
<JuJUBee>
not entirely. started stopwatch when I pressed power button
16:37
<mwalters>
I experienced that with a uefi client with an old grub image, updating to a newer grub image fixed it
16:37
(if you don't know what I'm talkinga bout, it's probably not that ;) )
16:37
<JuJUBee>
at 2min 5 sec it was done with initrd.img
16:38
and no, a cisco Gig switch
16:38
<mwalters>
what hypervisor?
16:39
<JuJUBee>
virtualbox
16:39
<mwalters>
using the epoptes network benchmark would probably rule out network performance issues
16:40
<JuJUBee>
mwalters, do I need to startup all of the clients? or only a couple?
16:41
<mwalters>
oh, did you fire them all up at the same time?
16:41* alkisg needs to leave anyway, so mwalters, do the honors please :)
16:41
<mwalters>
:)
16:42
if it happens if you just fire one up, then one should be fine
16:43
<JuJUBee>
I only had 1 on at the time of testing.
16:44
These directions ok? http://www.epoptes.org/documentation/lan-benchmark
16:45
<mwalters>
that's outdated, there's a menu option now
16:45
one sec, lemme see where it is
16:45
launch epoptes on the server, then Clients > Network Benchmark in the top menu
16:47
<JuJUBee>
ah ok. Waiting for clients to boot
16:49
<mwalters>
You'll end up with something like this after running it https://i.imgur.com/nKoXAdy.png
16:50
it'll give you an idea of the real world network performance you're seeing
16:50nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, )
16:55
<JuJUBee>
gonna take some time now. Someone just shut off the breaker my server is plugged into and my battery in ups is dead
16:55
<mwalters>
:(
16:55
I'll be in an out for a few more hours
16:56
<JuJUBee>
I appreciate the help. I will report back asic
16:57
<mwalters>
np
17:13
<JuJUBee>
So, the reboot of the bare metal server seems to have fixed the issue.
17:13
Booted a client to desktop in 1:38
17:13
Avg up=139.5 down=166.4
17:14
<mwalters>
that doesn't sound unreasonable. Clients are probably defaulting to fat, so they pull the OS down over the network
17:14
<JuJUBee>
They are fat according to epoptes
17:14
<mwalters>
yah
17:14
<JuJUBee>
Im happy now.
17:14
Do you have time for a few more ?s
17:14
<mwalters>
initrd/vmlinuz will be 100% net dependent... after that, combination of net/cpu on the client (probably still *mostly* net)
17:14
sure, I'm just munching on lunch
17:15
<JuJUBee>
OK. I used to run 2 servers, 1 LTSP and 2 Firewall/gateway. Any reason to NOT run firewall/gateway on LTSP server?
17:15
<mwalters>
with fat clients? Probably not much reason
17:16
<JuJUBee>
IM a small installation less than 20 workstations
17:16
<mwalters>
last time I did a linux firewall, it was ipchains... back on like... slack6 or something? I've moved on to purpose built hardware, because I don't have the patience for it... maybe it's better with iptables
17:17
<JuJUBee>
I was considering creating a second VM for the fw/gw just to separate the functions
17:17
<mwalters>
when I started here, they were using this with some success: https://www.untangle.com/
17:17
on a VM
17:17
I replaced it with a hardware ubiquiti router, though
17:18
I have no reason to NOT do routing/fw on the ltsp server, other than simple separation of responsibilities stuff... but I'm partial to not doing that with no real concrete reasons ;)
17:19
Mostly with how "cheap" the ubiquiti stuff is, at least here in the US
17:19
but I also have 4 offices separated by WAN
17:20
<JuJUBee>
So my setup is JUST for my classroom, not entire school. I only have 10-20 students (usually 10 or less)
17:20
<mwalters>
gotcha, I'm in a business environment, so my usecase is a bit different ;)
17:21
<JuJUBee>
So what handles the dhcp on ltsp now? I used to run a dhcp-server on the ltsp box
17:21
<mwalters>
dnsmasq
17:22
<JuJUBee>
I do have some dhcp reservations I wanted to set up. Any tutorials on dnsmasq you would suggest for this?
17:22
<mwalters>
cat /etc/dnsmasq.d/ltsp-server-dnsmasq.conf
17:22
https://www.linux.com/learn/intro-to-linux/2018/2/dns-and-dhcp-dnsmasq
17:23
reservations by mac are at the bottom
17:23
dnsmasq is ... simpler... and at times a bit more confusing than isc
17:23
overall it's probably easier, though
17:24
<JuJUBee>
thanks. I had a look earlier at the /etc/dnsmasq.conf but not the ltsp one. I guess that is why my changes didn't work ;)
17:27
<mwalters>
I think I did that too when I was looking at 18.04 ;)
17:32
<JuJUBee>
do you know if I can set specific nameservers for specific hosts by MAC like I did in old dhcp config?
17:32
I see how to set IP for mac
17:34
Ah, this might work: option=tag:specialhosts,option:dns-server,8.8.8.8,8.8.4.4
17:34
<mwalters>
I'm not sure on that specifically
17:34
but yeah, if you can set tags using dhcp-match, then probably
17:35
you can probably set options for specific macs even
17:35
but that's not something I've looked into
17:37kjackal has joined IRC (kjackal!~quassel@2a02:587:3a1f:9800:11c8:94ba:36fa:6264)
17:44JuJUBee has left IRC (JuJUBee!~knichel@24.105.212.11, Ping timeout: 245 seconds)
18:08JuJUBee has joined IRC (JuJUBee!~knichel@24.148.115.153)
18:09
<JuJUBee>
spoke too soon. My laptop got the right IP and DNS Servers, but I cannot get the clients to get dns servers only IP
18:10
I used "nmcli dev show | grep 'IP4.DNS'" on my laptop to show DNS servers, works fine.
18:10
Used it on client and the client returns nothing
18:12kjackal has left IRC (kjackal!~quassel@2a02:587:3a1f:9800:11c8:94ba:36fa:6264, Ping timeout: 240 seconds)
18:23
<JuJUBee>
mwalters, does dnsmasq set the dns servers on the clients? or do the clients point to server and use the servers dns servers?
18:39
<alkisg>
JuJUBee: network manager isn't managing the client dns. One way to set client dns is with DNS_SERVER="xxx yyy zzz" in lts.conf
18:45
<JuJUBee>
alkisg, so in dnsmasq I seem to be able to set IP/DNS for non-ltsp computers but not the ltsp clients. Is that what you mean? I need lts.conf for the clients DNS?
18:45
<alkisg>
There are many ways. This is one of them.
18:45
The other is to switch to IPAPPEND 2, like I said in the ltsp mailing list earlier today
18:45
<JuJUBee>
OK, thats fine with me as long as I can set a group that doesn't get dns from ltsp
18:46
<alkisg>
Fat clients only read the "sectors" they need, so I had fat clients booting in 12 seconds
18:46
I.e. they don't download the whole image on boot
18:46
If they boot in under a minute, your setup is fine
18:47
If they need more, it can be finetuned
18:52
<JuJUBee>
alkisg, my server shutdown (maintenance shut off a circuit and my battery was dead in ups) and after reboot, clients are booting in under 1:30
18:52
configured dns servers in lts.conf and all is good now.
18:52
Thank you.
18:53
<alkisg>
And what are the network benchmark results?
18:53kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:11c8:94ba:36fa:6264)
18:57
<mwalters>
alkisg: any chance you could just paste me that dnsmasq config when you're at wrk tomorrow?
19:02JuJUBee has left IRC (JuJUBee!~knichel@24.148.115.153, Ping timeout: 245 seconds)
19:04kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f300:11c8:94ba:36fa:6264, Ping timeout: 264 seconds)
19:05JuJUBee has joined IRC (JuJUBee!~knichel@24.148.115.153)
19:05
<JuJUBee>
lost internet there for a bit...
19:07
Thanks for the help alkisg & mwalters Job # 2 awaits... Gotta go.
19:07JuJUBee has left IRC (JuJUBee!~knichel@24.148.115.153, Client Quit)
19:25nehemiah has joined IRC (nehemiah!~nehemiah@hs-user-138.wia.cz)
19:47Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
20:06nehemiah1 has joined IRC (nehemiah1!~nehemiah@hs-user-138.wia.cz)
20:08nehemiah has left IRC (nehemiah!~nehemiah@hs-user-138.wia.cz, Ping timeout: 246 seconds)
20:20nehemiah1 has left IRC (nehemiah1!~nehemiah@hs-user-138.wia.cz, Remote host closed the connection)
21:07spaced0ut has left IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut, Ping timeout: 246 seconds)
21:19kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:11c8:94ba:36fa:6264)
22:02ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)
23:14kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f300:11c8:94ba:36fa:6264, Ping timeout: 252 seconds)