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


Channel log from 19 June 2020   (all times are UTC)

00:24lucas_ has left IRC (lucas_!~lucascast@177-185-139-41.isotelco.net.br, Remote host closed the connection)
00:25lucas_ has joined IRC (lucas_!~lucascast@177-185-139-41.isotelco.net.br)
04:54alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
04:57alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
05:04alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 260 seconds)
05:05RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
06:06alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
06:12
<alkisg>
!tag
06:12
<ltspbot>
tag: tag: git tag -s v20.03 -m 'Version 20.03' && git push --tags
06:12
<alkisg>
!release
06:12
<ltspbot>
release: please mention the linux distro and release you're using :)
06:56lucas_ has left IRC (lucas_!~lucascast@177-185-139-41.isotelco.net.br, Remote host closed the connection)
07:02lucas_ has joined IRC (lucas_!~lucascast@177-185-139-41.isotelco.net.br)
07:03alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Read error: Connection reset by peer)
07:22alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
07:50adrianor1 has joined IRC (adrianor1!~adrianorg@189.114.73.194)
07:53adrianorg has left IRC (adrianorg!~adrianorg@187.115.110.151, Ping timeout: 264 seconds)
12:00GodFather_ has joined IRC (GodFather_!~rcc@d53-64-7-141.nap.wideopenwest.com)
12:40lucas_ has left IRC (lucas_!~lucascast@177-185-139-41.isotelco.net.br, Quit: Leaving)
12:40lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br)
14:48RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)
15:22vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
15:32lucascastro has left IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br, *.net *.split)
15:32adrianor1 has left IRC (adrianor1!~adrianorg@189.114.73.194, *.net *.split)
15:32alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, *.net *.split)
15:32pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, *.net *.split)
15:32lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br)
15:32adrianor1 has joined IRC (adrianor1!~adrianorg@189.114.73.194)
15:32alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
15:32pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
15:59markit has joined IRC (markit!~amministr@host-87-27-225-131.business.telecomitalia.it)
16:11
<markit>
hi alkisg, I'm in my first lab with 20.04 and seems to work fine :) I'm testing some "riconditioned" PC fanless (HP, really small)
16:11
<alkisg>
Hey markit, good to know
16:11
<markit>
only thing that bugs me is the slow part of the initrd.img stuff... takes 40" (gbit network, just one client for testing)
16:11
is this decompression time or transfer time?
16:12
<alkisg>
Transfer, some PXE drivers have slow tftp
16:12
Are you using undionly, ipxe, pxe stack?
16:13
I.e. did you enable "boot from lan" on BIOS? On UEFI? Are you using win32loader, or ipxe on the client? Etc
16:13
<markit>
I'm unsing onboard pxe whatever is, I could try to find in the messages of the screen
16:13
<alkisg>
Is it bios pxe or uefi pxe?
16:13
<markit>
BIOS, UEFI boot is not available :(
16:13
<alkisg>
OK, try this:
16:13
cd /srv/tftp/ltsp/
16:13
mv undionly.kpxe undionly.bak
16:13
wget boot.ipxe.org/ipxe.pxe -O undionly.kpxe
16:13
Then reboot client
16:14
This will use the ipxe driver, instead of the NIC driver
16:14
<markit>
ok, let's try :)
16:16
well, 31", it's an improvement :)
16:16
<alkisg>
Next try would be to:
16:16
cd /srv/tftp/ltsp
16:16
python3 -m http.server
16:16
and update /etc/dnsmasq.d/ltsp-dnsmasq.conf, so that it points to http://server-ip/ltsp.img instead of tftp
16:17
*plus :8000 port
16:17
I might have some path wrong there, you might need to run the http server in /srv/tftp, not in /srv/tftp/ltsp
16:17
Remember to restart dnsmasq
16:18
<vagrantc>
so then it would only download ipxe using the built-in pxe stack?
16:18
<alkisg>
*** update /etc/dnsmasq.d/ltsp-dnsmasq.conf, so that it points to http://server-ip/undionly.kpxe instead of undionly.kpxe
16:18
And put undionly.kpxe back, as http uses different functions
16:18
<markit>
I don't understand which line I should change
16:18
<alkisg>
vagrantc: right, it would only download undionly.kpxe with the pxe stack
16:19
markit: the line that has undionly.kpxe
16:19
<vagrantc>
alkisg: built ltsp 20.06, haven't tested yet
16:19
<alkisg>
I tried to test it at a school today, but I failed because the school didn't have internet :P
16:20
<markit>
dhcp-boot=tag:!iPXE,tag:X86PC,ltsp/undionly.kpxe OR/AND pxe-service=tag:proxy,tag:!iPXE,X86PC,"undionly.kpxe",ltsp/undionly.kpxe ?
16:20
<alkisg>
(due to high schools exams, they block the net)
16:20
<vagrantc>
that'll teach you to not carry around and entire distro mirror
16:20
<alkisg>
markit: right, change ltsp/undionly.kpxe to http://server-ip:8000/ltsp/undionly.kpxe
16:21
<vagrantc>
there are students in school there?
16:21
it's all been remote around here...
16:21
<alkisg>
No the exams for the university are country-wide, so they block the internet in all schools just in case :D
16:21
<vagrantc>
wow.
16:21
talk about a hammer approach
16:22
<alkisg>
And of course people can just surf via mobile phones...
16:22
<vagrantc>
that said ... some time without internet might have positive aspects
16:22
right
16:23
<alkisg>
I tried to organize my time differently (internet comes back after 10:00), but in the end I gave up and used my phone tethering
16:24
Heh, https://xkcd.com/ has a nice debian whirl today
16:24
I was very disappointed that no computer screens used the sqrt(2) aspect ratio...
16:25
<markit>
alkisg: no system disk or disk error, seems not to boot , I've also tried /srv/tftp
16:25
I've restarted dnsmasq yes
16:26
I've changed both lines, now I have
16:26
<alkisg>
markit: check logs to see where it's searching for the file
16:26
journalctl -f, for example
16:27
<markit>
says file /srv/tftp/http://192.168.67.1:8000/ltsp/undionly.kpxe non trovato
16:27
I've pxe-service=tag:proxy,tag:!iPXE,X86PC,"undionly.kpxe",http://192.168.67.1:8000/ltsp/undionly.kpxe
16:27
and dhcp-boot=tag:!iPXE,tag:X86PC,http://192.168.67.1:8000/ltsp/undionly.kpxe
16:28
in dnsmasq config file
16:32
<alkisg>
Try other things, like : pxe-service=tag:proxy,tag:!iPXE,X86PC,"http://192.168.67.1:8000/ltsp/undionly.kpxe"
16:32
I've done it in the past, but I don't have it in my notes and I need to go,
16:32
we also discussed this in a pull request or ltsp issue, so you can google there too
16:33
<markit>
alkisg: no problem, we will look at it when you have time, thanks a lot :)))ù
16:33
<alkisg>
https://www.google.com/search?client=ubuntu&channel=fs&q=http+boot+site%3Agithub.com%2Fltsp&ie=utf-8&oe=utf-8
16:34
There I propose a different way, to modify ltsp.ipxe instead of dnsmasq: https://github.com/ltsp/ltsp/issues/75#issuecomment-557529060
16:34
Both methods work
16:34
markit: ah, my bad
16:34
+dhcp-boot=tag:iPXE,"http://${next-server}/ltsp/ltsp.ipxe"
16:34
You need to modify the ltsp.ipxe line, NOT the undionly.kpxe line
16:34
OK bye for now :)
16:34
<markit>
so I revert back all dnsmasq changes?
16:35
<alkisg>
Yes, and you modify dnsmasq again, but only the ltsp.ipxe lines
16:35
<markit>
ok, thanks and good day :))
16:35
(have a...)
16:42
alkisg: (just so you will read when you are back) DAMN IS FAST NOW!!! now is INSTANTANEOUS!!!
16:42
http server under /srv/tftp
16:50
<highvoltage>
:)
16:53
<markit>
that 40" phase now is about... 1"? maybe less
16:55markit has left IRC (markit!~amministr@host-87-27-225-131.business.telecomitalia.it, Quit: Konversation terminated!)
17:18
<alkisg>
We should write a wiki page about that... it's also possible to run python3 -m http.server from [server] POST_SERVICE_X in ltsp.conf
17:19
<vagrantc>
probably want a real web server at some point, though...
17:22
<alkisg>
Eh, those who have one, can just configure it to serve /srv/tftp too
18:06lucascastro has left IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br, Ping timeout: 240 seconds)
18:20lucascastro has joined IRC (lucascastro!~lucascast@dynamic-45-167-143-6.netfacil.inf.br)
18:42lucascastro has left IRC (lucascastro!~lucascast@dynamic-45-167-143-6.netfacil.inf.br, Ping timeout: 264 seconds)
18:57lucascastro has joined IRC (lucascastro!~lucascast@dynamic-45-167-143-6.netfacil.inf.br)
19:04lucascastro has left IRC (lucascastro!~lucascast@dynamic-45-167-143-6.netfacil.inf.br, Ping timeout: 264 seconds)
19:42lucascastro has joined IRC (lucascastro!~lucascast@170.231.128.65)
19:44lucascastro has left IRC (lucascastro!~lucascast@170.231.128.65, Remote host closed the connection)
19:46lucascastro has joined IRC (lucascastro!~lucascast@170.231.128.65)
19:52lucascastro has left IRC (lucascastro!~lucascast@170.231.128.65, Ping timeout: 265 seconds)
19:55lucascastro has joined IRC (lucascastro!~lucascast@170.231.128.65)
19:59lucascastro has left IRC (lucascastro!~lucascast@170.231.128.65, Ping timeout: 240 seconds)
20:21markit has joined IRC (markit!~marco@mail.ammdomus.it)
20:23
<markit>
alkisg: http boot is incredible faster (40" to... 1"!!!)! Will it work with UEFI too or does it require different settings?
21:48lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br)
22:17markit has left IRC (markit!~marco@mail.ammdomus.it, )
22:20lucascastro has left IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br, Quit: Leaving)
22:20lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-41.isotelco.net.br)
23:24vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)