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


Channel log from 14 November 2022   (all times are UTC)

04:43vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)
06:09vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)
06:19alkisg_irc1 has joined IRC (alkisg_irc1!~Thunderbi@srv1-dide.ioa.sch.gr)
06:21alkisg_irc has left IRC (alkisg_irc!~Thunderbi@2a02:587:7458:8100:c24a:ff:fe02:bc1e, Ping timeout: 252 seconds)
06:22alkisg_irc1 is now known as alkisg_irc
06:48we6jbo has left IRC (we6jbo!~we6jbo@2603-8001-5b43-4000-d3aa-d60d-feac-8a61.res6.spectrum.com, Remote host closed the connection)
06:52ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:00mrkii[m] has left IRC (mrkii[m]!~mrkiimatr@2001:470:69fc:105::2:606b, Quit: You have been kicked for being idle)
09:01alkisg_irc has left IRC (alkisg_irc!~Thunderbi@srv1-dide.ioa.sch.gr, Quit: alkisg_irc)
09:37alkisg_irc has joined IRC (alkisg_irc!~Thunderbi@109-178-255-120.pat.ren.cosmote.net)
09:42alkisg_irc has left IRC (alkisg_irc!~Thunderbi@109-178-255-120.pat.ren.cosmote.net, Read error: Connection reset by peer)
09:43alkisg_irc has joined IRC (alkisg_irc!~Thunderbi@109-178-255-120.pat.ren.cosmote.net)
09:45alkisg_irc has left IRC (alkisg_irc!~Thunderbi@109-178-255-120.pat.ren.cosmote.net, Read error: Connection reset by peer)
09:46alkisg_irc has joined IRC (alkisg_irc!~Thunderbi@109-178-255-120.pat.ren.cosmote.net)
09:49alkisg_irc has left IRC (alkisg_irc!~Thunderbi@109-178-255-120.pat.ren.cosmote.net, Read error: Connection reset by peer)
09:49alkisg_irc1 has joined IRC (alkisg_irc1!~Thunderbi@109-178-209-161.pat.ren.cosmote.net)
09:51alkisg_irc1 is now known as alkisg_irc
10:22alkisg_irc has left IRC (alkisg_irc!~Thunderbi@109-178-209-161.pat.ren.cosmote.net, Read error: Connection reset by peer)
10:22alkisg_irc has joined IRC (alkisg_irc!~Thunderbi@srv1-dide.ioa.sch.gr)
10:26alkisg_irc has left IRC (alkisg_irc!~Thunderbi@srv1-dide.ioa.sch.gr, Read error: Connection reset by peer)
10:26alkisg_irc1 has joined IRC (alkisg_irc1!~Thunderbi@srv1-dide.ioa.sch.gr)
10:29alkisg_irc1 is now known as alkisg_irc
10:35alkisg_irc has left IRC (alkisg_irc!~Thunderbi@srv1-dide.ioa.sch.gr, Read error: Connection reset by peer)
10:35alkisg_irc1 has joined IRC (alkisg_irc1!~Thunderbi@srv1-dide.ioa.sch.gr)
10:37alkisg_irc1 is now known as alkisg_irc
10:52slc has joined IRC (slc!~slc@2a01cb000ffd2300d6ae52fffe8f6e2d.ipv6.abo.wanadoo.fr)
10:53slc has left IRC (slc!~slc@2a01cb000ffd2300d6ae52fffe8f6e2d.ipv6.abo.wanadoo.fr, Client Quit)
10:53koocotte has joined IRC (koocotte!~koocotte@2a01cb000ffd2300d6ae52fffe8f6e2d.ipv6.abo.wanadoo.fr)
10:53
<koocotte>
Hello everybody
10:58
<alkisg>
Hello koocotte
10:58
<koocotte>
I'm installing the new version of LTSP for the first time (I use LTSP5 and olders for years). I updated my running dnsmasq.conf to boot one PC on the new system. It boot the kernel and start LTSP scripts, but fail on NFS mount. It try to mount from the DHCP server, and not the LTSP server.
10:59
I set SERVER="new_ltsp_server"  in ltsp.conf, rebuild the initrd;, without success
10:59
<alkisg>
It's usually safer and easier to NOT configure your DHCP server for netbooting, to avoid such configuration problems
10:59
<koocotte>
SERVER="new_ltsp_server_IP"
10:59
<alkisg>
Then `ltsp dnsmasq` will configure your ltsp server in proxydhcp mode
10:59
And that will give the correct configuration to the clients, the proxydhcp server, not the real server
11:00
<koocotte>
in proxydhcp mode, how is answering requests? The new server?
11:00
<alkisg>
That also helps in load balancing; you can have as many ltsp servers as you like and they'll fallback automatically (the first one to answer gets the client)
11:00
The main DHCP server gives the IPs, but not the "boot filename" and "rootpath"
11:01
The proxy DHCP server (=the LTSP server) only gives the boot filename and rootpath. It doesn't give IPs or other information
11:01
What's your main DHCP server, which software is it running?
11:01
<koocotte>
dnsmasq
11:01
<alkisg>
Do you have other netbooted clients on the network, apart from ltsp clients?
11:01
<koocotte>
The client has two responses ? One for IP and the other for boot and root ?
11:02
<alkisg>
Yes
11:02
It's part of the official dhcp/pxe protocols
11:02
<koocotte>
Yes, I have a complex dnsmasq configuration. That's why I do not what to start a second one that can mess the network
11:03
<alkisg>
If you don't have other netbooted clients, then the proxydhcp server is the best option
11:03
You just need to remove the boot filename and root path from your main dhcp server, that's all
11:03
Otherwise you just need to configure it properly, to point to the ltsp server for tftp
11:04
<koocotte>
The old LTSP must work until the new one is ready
11:04
<alkisg>
You can configure the main dhcp server to not send the boot filename and root path for a few test clients only
11:04
Then these few (or single) test clients will work with the new method, while the old method will still work for the old ltsp server and clients
11:05
<koocotte>
I don't understand why the SERVER parameter does not apply. I read the scripts, and check in the debug shell that $SERVER is ok
11:05
<alkisg>
SERVER works after nfs is mounted
11:05
The nfs mount is done by initramfs-tools
11:05
It's not done by ltsp code
11:05
<koocotte>
ok, thanks
11:05
<alkisg>
So if you run `cat /proc/cmdline`, you'll see nfsroot=ip-of-main-dhcp/path there
11:05
So that part is what you have misconfigured
11:06
<koocotte>
Ok, thanks a lot
11:09alkisg_irc has left IRC (alkisg_irc!~Thunderbi@srv1-dide.ioa.sch.gr, Ping timeout: 260 seconds)
11:15
<koocotte>
I (temporary) overwrite the srv variable in ltsp.ipxe and it solve my problem.
11:20
<alkisg>
👍
11:36alkisg_irc has joined IRC (alkisg_irc!~Thunderbi@2a02:587:744e:8500:c24a:ff:fe02:bc1e)
12:56koocotte has left IRC (koocotte!~koocotte@2a01cb000ffd2300d6ae52fffe8f6e2d.ipv6.abo.wanadoo.fr, Quit: Client closed)
13:45we6jbo has joined IRC (we6jbo!~we6jbo@cpe-66-75-235-109.san.res.rr.com)
15:03we6jbo has left IRC (we6jbo!~we6jbo@cpe-66-75-235-109.san.res.rr.com, Remote host closed the connection)
18:29woernie has left IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de, Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
19:16vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)
22:38ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)