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


Channel log from 6 October 2020   (all times are UTC)

00:04GodFather has left IRC (GodFather!~rcc@50.42.186.106, Remote host closed the connection)
00:34GodFather has joined IRC (GodFather!~rcc@50.42.186.106)
04:41mathesis has joined IRC (mathesis!~ja1000@unaffiliated/mathesis)
04:41
<mathesis>
hi everyone
04:43
Success stories page removed from ltsp.org?
04:52
<alkisg>
mathesis: yes, all the old ltsp.org site was removed
04:52
As we didn't want to maintain a web server anymore, so we moved the hosting to github
04:52
(which doesn't support php)
04:54
<mathesis>
ok
04:56
Do you know use cases of ltsp in business environment?
04:57
<alkisg>
You can find ltsp.org/stories in internet archive
04:57
And read many business stories online
04:58
E.g. this is the deleted ubuntultsp site: http://web.archive.org/web/20190802232847/https://help.ubuntu.com/community/UbuntuLTSP
04:59
You can also find the deleted stories there
05:14
<mathesis>
ltsp is most used in greece!
05:33shored has left IRC (shored!~shored@87-100-202-16.bb.dnainternet.fi, Ping timeout: 246 seconds)
05:36
<alkisg>
mathesis: yup, so it ended up being developed in greece as well :)
05:36
Same as epoptes.org
05:42shored has joined IRC (shored!~shored@78-27-80-84.bb.dnainternet.fi)
05:46
<mathesis>
alkisg: I want ltsp to start a small software agency
05:46
software with python, flask and sqlite
05:46
html & css
05:47
I think that ltsp can help me to save costs
06:05Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399, *.net *.split)
06:05Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399)
06:11shored has left IRC (shored!~shored@78-27-80-84.bb.dnainternet.fi, Ping timeout: 272 seconds)
06:12shored has joined IRC (shored!~shored@78-27-80-84.bb.dnainternet.fi)
06:24jgee7 has joined IRC (jgee7!~jgee@190.159.118.121)
06:24jgee has left IRC (jgee!~jgee@190.159.118.121, Read error: Connection reset by peer)
06:24jgee7 is now known as jgee
06:42mathesis has left IRC (mathesis!~ja1000@unaffiliated/mathesis, Ping timeout: 256 seconds)
10:44Fenchi has joined IRC (Fenchi!d5b53206@213.181.50.6)
10:46
<Fenchi>
Hello. Is it possible to speed up TFTP? I find the download of the initrd.img slow.
10:53
<alkisg>
Fenchi: what are you using, undionly.kpxe?
10:53
I.e. do your clients load PXE from BIOS first, and then undionly.kpxe from the LTSP server,
10:53
or do they load ipxe.lkrn locally, from a boot manager?
10:58
<Fenchi>
I am using isc-dhcp-server
10:59
With this configuration :
10:59
<alkisg>
When the clients boot, and ipxe loads, see if this appears: "using undionly"
10:59
<Fenchi>
if exists ipxe.menu { filename "ltsp/ltsp.ipxe"; } elsif option arch = 00:00 { filename "ltsp/undionly.kpxe"; } elsif option arch = 00:07 { filename "ltsp/snponly.efi"; } elsif option arch = 00:09 { filename "ltsp/snponly.efi"; } else { filename "ltsp/unmatched-client"; }
11:01
<alkisg>
Fenchi: do the clients have a hard disk?
11:03
<Fenchi>
Je ne vois pas de "using undionly"
11:03
These are clients without hard disk
11:04
*I don't see a "using undionly"
11:07
<alkisg>
Which tftp server are you using, dnsmasq?
11:07
Or tftpd-hpa?
11:08
<Fenchi>
I am using dnsmasq
11:08mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 260 seconds)
11:09
<alkisg>
pleas run this: journalctl -u dnsmasq | grep /srv/tftp | tail -n 30 | nc termbin.com 9999
11:09
What is the output?
11:13
<Fenchi>
oct. 06 11:12:32 srv-ltspaio-dm dnsmasq-tftp[1174]: failed sending /srv/tftp/ltsp/undionly.kpxe to 10.185.8.210oct. 06 11:12:32 srv-ltspaio-dm dnsmasq-tftp[1174]: sent /srv/tftp/ltsp/undionly.kpxe to 10.185.8.210oct. 06 11:12:34 srv-ltspaio-dm dnsmasq-tftp[1174]: sent /srv/tftp/ltsp/ltsp.ipxe to 10.185.8.210oct. 06 11:12:37 srv-ltspaio-dm
11:13
dnsmasq-tftp[1174]: sent /srv/tftp/ltsp/focal/vmlinuz to 10.185.8.210oct. 06 11:12:37 srv-ltspaio-dm dnsmasq-tftp[1174]: sent /srv/tftp/ltsp/ltsp.img to 10.185.8.210
11:13
Sorry for the layout
11:15
<alkisg>
Fenchi: ok,
11:15
can you please try this?
11:15
sudo wget boot.ipxe.org/ipxe.pxe -O /srv/tftp/ltsp/undionly.kpxe
11:15
Then, reboot a client and see if it downloads the initrd faster
11:22
<Fenchi>
It didn't change anything and it didn't load the undionly
11:22
<alkisg>
So the client loads initrd slowly again? How many seconds to load ONLY the initrd?
11:23
Btw if you run the command I gave you, it will give me better information
11:23
journalctl -u dnsmasq | grep /srv/tftp | tail -n 30 | nc termbin.com 9999
11:30
<Fenchi>
It takes about 20 seconds
11:30
*Loading initrd.img takes about 20 seconds
11:34
<alkisg>
Fenchi: what is your client speed, 100mbps or gigabit?
11:39
Fenchi: in general, in gigabit with tftp the best speed is about 3.5 seconds for initrd
11:39
There are 3 methods to choose from, undionly.kpxe, ipxe.pxe, and http; and you're supposed to try them until you find the fastest one for you,
11:39
but if your client is 100mbps, then the best is around 15 seconds via tftp
12:00
<Fenchi>
Alright i will try each one
12:01
<alkisg>
(02:34:18 PM) alkisg: Fenchi: what is your client speed, 100mbps or gigabit?
12:01
<Fenchi>
Even with the tftp command, it is slow. So that I am in gigabit
12:02
<alkisg>
Do you have epoptes installed? Can you do a lan benchmark from the menus?
12:06
<Fenchi>
I don't have epoptes but when I test with iperf, I have 823 Mbits / sec
12:07
<alkisg>
You can use http if you want, it's documented in github discussion issues
12:07
!http
12:07
<ltspbot>
I do not know about 'http', but I do know about these similar topics: 'tftp-http'
12:07
<alkisg>
!tftp-http
12:07
<ltspbot>
tftp-http: To replace tftp with http: https://github.com/ltsp/ltsp/issues/75#issuecomment-694732254
12:09
<Fenchi>
One thing I forgot to mention. I'm doing fat client and my initrd.img file is 85MB (I installed zfs-initramfs which takes 30MB)
12:09
<alkisg>
Yes that's normal, usually it's 80 mb
12:09
It gets downloaded in 3.5 seconds with tftp here
12:22mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
12:30
<Fenchi>
I just tried the HTTP boot method. I added "http://10.185.5.201:8000/" at the start of the filename in isc-dhcp-server. And it's going super fast, the initrd.img file takes 0.8 seconds to download. It's so beautiful :-)Thank alkisg
12:36mathesis has joined IRC (mathesis!~ja1000@187.148.34.100)
12:53Aison has joined IRC (Aison!~Ivo@2a02:168:200f:100::1:1)
12:54
<Aison>
alkisg, no chance to make my ltsp working
12:54
there is really some problem when setting up the network on the netboot client
12:54GodFather has left IRC (GodFather!~rcc@50.42.186.106, Read error: Connection reset by peer)
12:55
<Aison>
so if you have some time, I come back to your offer to take short look at it via vnc
12:56GodFather has joined IRC (GodFather!~rcc@50.42.186.106)
13:06GodFather has left IRC (GodFather!~rcc@50.42.186.106, Read error: Connection reset by peer)
13:11GodFather has joined IRC (GodFather!~rcc@50.42.186.106)
13:12GodFather has left IRC (GodFather!~rcc@50.42.186.106, Read error: Connection reset by peer)
13:13GodFather has joined IRC (GodFather!~rcc@50.42.186.106)
13:18GodFather has left IRC (GodFather!~rcc@50.42.186.106, Read error: Connection reset by peer)
13:20GodFather has joined IRC (GodFather!~rcc@50.42.186.106)
13:23
<alkisg>
Fenchi: you're welcome
13:25
Aison, around?
13:26
Aison, if will help if you have a virtualbox client on the server, so that I can see the client boot process too
13:27Fenchi has left IRC (Fenchi!d5b53206@213.181.50.6, Ping timeout: 245 seconds)
13:28
<Aison>
the vnc access is given to a workstation with a virtualbox
13:28
would that work?
13:29
how do I make the connection again?
13:29
<alkisg>
Aison, and the server?
13:30
!vnc-dide
13:30
<ltspbot>
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
13:32
<Aison>
server over ssh
13:32
<alkisg>
OK
13:35GodFather has left IRC (GodFather!~rcc@50.42.186.106, Ping timeout: 260 seconds)
13:38
<Aison>
btw: reseting the vbox is not working sometimes. no idea why. it's better to turn the machine off and then on again
13:39kvaps has joined IRC (kvaps!2e1c6842@wedos.wedos.net)
13:39
<alkisg>
Aison, this is a bug of vbox ipxe, it works fine if you use ipxe.iso,
13:40
how to type / in virtualbox, shift+a number?
13:40
<Aison>
uhm, here I just press the / key?!?
13:40
<alkisg>
we have different keyboard layout, it doesn't work
13:40
<Aison>
what do you wish?
13:40
<kvaps>
alkisg: Hi, I can't push to launchpad for some reason :-/
13:41
<Aison>
alkisg, what layout do you wish?
13:41
<alkisg>
Aison, cat run/net*.conf
13:41
Type that
13:41
kvaps: hi, I can't check for a couple of hours, will do so later
13:42
<kvaps>
alkisg: not sure if it is your problem)
13:42
<Aison>
this is new, that nfs server is not responding :)
13:42GodFather has joined IRC (GodFather!~rcc@50.42.186.106)
13:42
<kvaps>
alkisg: ah, it seems working now
13:45
<alkisg>
Aison, I need to leave, I"ll be back in around an hour
13:45
We could continue then
13:45
<Aison>
alkisg, ok, thx so far :D
13:53
<kvaps>
alkisg: could you trigger build for ltsp-cloud please?
14:29
<alkisg>
kvaps: done
14:29
Aison, checking...
14:29
<kvaps>
alkisg: thanks
14:32mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 240 seconds)
14:35
<Aison>
alkisg, looks like continuing the boot process stops the network connection...
14:35
<alkisg>
Aison, yes, maybe kodi applies its own network configuration somewhere?
14:37
<Aison>
kodi is not started at this time
14:37
the systemd service kodi.service starts kodi
14:42woernie has left IRC (woernie!~werner@p5ddec4e7.dip0.t-ipconnect.de, Ping timeout: 240 seconds)
14:44
<Aison>
if you like, you can also download the kodi.img or the original image. My uplink connection is quite fast
14:47
<alkisg>
Aison, ufw was blocking networking
14:47
<Aison>
wow
14:47
not required anyway
14:48
by default it is installed with ubuntu. I use it on servers, but on this netboot client it is not really necessary
14:48
<alkisg>
Aison, try to login, even in vt2 if kodi doesn't autostart
14:50
I'll leave for a while, see how it goes, talk to you later
14:50
<Aison>
alkisg, big thanks to you :)
14:56mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
15:18
<Aison>
is it possible to hide the "Other options" section from the ipxe menu?
15:21
and is it possible to have a client section in ltsp.conf that matches the boot image? eg. in my case [image/kodi]
15:25
alkisg, i can not login with "root" (user root can't auth via pamltsp) nor with user "kodi" (User kodi doesn't exist)
15:26
<alkisg>
!root
15:26
<ltspbot>
I do not know about 'root', but I do know about these similar topics: 'ROOT_PASSWORD_HASH', 'chroot'
15:26
<alkisg>
!ltsp.conf
15:26
<ltspbot>
ltsp.conf: Configuration file for LTSP: https://ltsp.org/man/ltsp.conf/
15:26
<alkisg>
Aison, see the examples section ^ for root
15:27
You can completely hide the menu if you want
15:28
To match the image... what's the use case, you have multiple images, and you want users to select them via a menu? Or is it "a specific image for each client"?
15:29
<Aison>
i'm going to have multiple images
15:29
and I would like to set a hostname depending on the booted image
15:30
<alkisg>
So the users will be able to select the image that they want from a menu?
15:30
<Aison>
yes
15:30
not in all cases, there will be some "kiosk" clients where the image must be "fixed"
15:31
<alkisg>
Try HOSTNAME="%{IMAGE}%{IP}"
15:31
Not sure if it'll work
15:31
<Aison>
ok :-)
15:31
<alkisg>
Aison, usually it's easier to just have one image, with multiple programs, and only activate the program you want while the client boots
15:32
So you'd have kiosk, chrome etc installed, and you'd select which one you want to activate on boot
15:32
*kodi, chrome etc
15:32
But of course that doesn't suit all use cases; but in many cases, it's better than multiple images
15:32woernie has joined IRC (woernie!~werner@p50867e73.dip0.t-ipconnect.de)
15:33
<Aison>
k
15:34
<alkisg>
kvaps: https://launchpadlibrarian.net/500919960/upload_2657391_log.txt
15:34
I think launchpad doesn't like git commit --amend and force push
15:34
At least the commit time needs to be updated
15:38lucascastro has left IRC (lucascastro!~lucascast@177-185-139-15.dynamic.isotelco.net.br, Quit: Leaving)
15:38lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-15.dynamic.isotelco.net.br)
15:41woernie has left IRC (woernie!~werner@p50867e73.dip0.t-ipconnect.de, Ping timeout: 256 seconds)
15:42
<kvaps>
alkisg: I don't remember I did force push today🤔
15:44
any way packages are built, thank you
15:47
<alkisg>
Ah, great
15:49kvaps has left IRC (kvaps!2e1c6842@wedos.wedos.net, Remote host closed the connection)
16:13mathesis has left IRC (mathesis!~ja1000@187.148.34.100, Read error: Connection reset by peer)
16:19
<Aison>
alkisg, almost everything is working now ;) is it possible to have a boot logo? *not important*
16:20
and I still need to fix this stupid initramfs problem with static-routes
16:22
and %{IMAGE} in hostname is not supported. It is not evaluated by /usr/share/ltsp/client/init/45-networking.sh
16:22
but I guess it is somehow possible to add
16:24
<alkisg>
Aison, about boot logo => nothing special in ltsp about it; google about "boot logo" without involving ltsp there
16:25
<Aison>
I tried plymouth and it works on the original image, but not on the ltsp image. I guess it requires some kernel parameters or whatever. Not important ;)
16:25
<alkisg>
Re: static routes, put POST_INIT_ADD_ROUTE="ip add route blah blah" commands in ltsp.conf
16:25
cat /proc/cmdline and make sure quiet splash is there
16:25woernie has joined IRC (woernie!~werner@185.66.194.65)
16:26
<Aison>
alkisg, static routes: yeah, I know. But once a day initramfs should be fixed also ^^
16:27
<alkisg>
Do you mean "file a bug report for initramfs-tools on debian"? Sure, that's the best way, although it might take a lot of time to get that accepted
16:27
Some time in the future they'll leave from klibc-tools and adopt dhclient; ubuntu has already made steps in that direction; but debian is slow in adopting new things
16:28
<Aison>
I already took a look into the generation scripts. I guess it is not even that hard to fix and a provide a patch
16:48
alkisg, the problem of POST_INIT_ADD_ROUTE="ip ..." is, that it depends on the subnet of the client
16:49
but maybe I can match it with [10.0.*] section or such
17:16
<Aison0>
do you guys have a donation account for the ltsp project? ;)
17:19
<alkisg>
Aison, or you can write an "if" command that checks the subnet etc, either in a script in /usr/share/ltsp/client/init, or in an ltsp.conf [section], and then call the section,
17:19
see `man ltsp.conf` => examples on how to do that
17:20
No donation account for ltsp, it's a small project... chose some developer and donate to him directly :)
18:17woernie has left IRC (woernie!~werner@185.66.194.65, Ping timeout: 240 seconds)
21:12shored has left IRC (shored!~shored@78-27-80-84.bb.dnainternet.fi, Ping timeout: 256 seconds)
21:31shored has joined IRC (shored!~shored@78-27-80-84.bb.dnainternet.fi)
21:40Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399, Ping timeout: 272 seconds)
21:51Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19)
22:13lucascastro has left IRC (lucascastro!~lucascast@177-185-139-15.dynamic.isotelco.net.br, Remote host closed the connection)
22:13lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-15.dynamic.isotelco.net.br)
22:19Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 272 seconds)