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


Channel log from 6 May 2018   (all times are UTC)

02:49adrianor1 has joined IRC (adrianor1!~adrianorg@177.18.96.129)
02:52Natureshadow has joined IRC (Natureshadow!45d1515d22@commu.teckids.org)
02:52adrianorg has left IRC (adrianorg!~adrianorg@187.113.218.17, Ping timeout: 240 seconds)
04:59ricotz has joined IRC (ricotz!~ricotz@p5B2A8F8F.dip0.t-ipconnect.de)
04:59ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:35Statler|Home has joined IRC (Statler|Home!~Georg@p54897C08.dip0.t-ipconnect.de)
08:03ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
09:01
<eirikb>
Hi. I'm trying to run ltsp locally in Debian on VBox. For now I'm just trying to make it work. Are there any scripts online I can follow to make this work? My current solution doesn't work, looks like this: https://gist.github.com/eirikb/5a363214b9e2db29365ce2920771c7ab
09:05
<quinox>
TFTP timeout means the client can't connect to the TFTP; is the IP correct? Is TFTP running on it?
09:07
<eirikb>
I haven't installed anything beside what is in the gist, so no, nothing like atftpd
09:08
Should I replace isc-dhcp-server with dnsmasq which should also support tftp?
10:06
I was able to make it boot using dnsmasq, will create a gist soon. Must go out for a bit
10:15
<alkisg>
!ltsp-pnp
10:15
<ltsp>
ltsp-pnp: ltsp-pnp is the recommented method to install and maintain LTSP for "usual" setups. Since it doesn't involve chroots, it requires little to no command line to maintain it. It automatically supports both thin and fat ltsp clients. https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
10:15
<alkisg>
This is the recommended method; try as close as this as you can with debian
10:15
Most commands except for the ppa should work
10:26
<eirikb>
I need a ppa to install it?
10:31
I have been looking at https://wiki.debian.org/LTSP/Howto and there ltsp-pnp is mentioned under "Installing LTSP with older versions"
10:34
This is my current script: https://gist.github.com/eirikb/5584a378ec76a7a58d2cc4e4a9fcfcce I think that is the minimum to make it work. Script is executed on a plain Debian
11:04
<alkisg>
Your script is using isc-dhcp and nfs, while the recommended one nowadays is dnsmasq and nbd
11:05
<eirikb>
Not my last gist
11:05
<alkisg>
No, you don't need a ppa to make ltsp-pnp work in debian
11:05
The last one says nfs-kernel-server
11:06
<eirikb>
Yes, not sure if that is actually in use, it's only in the install. no idea how data is sent to the client. I'm doing a clean install now to see if I need it or not, but it takes a while to install ltsp
11:06
<alkisg>
Also ltsp-pnp doesn't use ltsp-build-client at all
11:06
Installing ltsp over an existing installation takes 1 minute + 9 waiting
11:48dragon788 has left IRC (dragon788!sid158229@gateway/web/irccloud.com/x-phhbiunqmyxlctpv, )
11:48dragon788 has joined IRC (dragon788!sid158229@gateway/web/irccloud.com/x-khuwffowvqlwruxi)
12:04nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
12:05Statler|Home has left IRC (Statler|Home!~Georg@p54897C08.dip0.t-ipconnect.de, Remote host closed the connection)
12:06GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Quit: Ex-Chat)
12:06GodFather has joined IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net)
12:08ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
13:18adrianor1 is now known as adrianorg
13:48nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 265 seconds)
13:56nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
14:06TheBoyd has joined IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:f0ad:f043:7a71:8f59)
15:17lucascastro has joined IRC (lucascastro!~lucas@177-185-141-105.isotelco.net.br)
15:40TheBoyd has left IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:f0ad:f043:7a71:8f59)
16:23vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
16:26nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 256 seconds)
16:43nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
16:49lucas__ has joined IRC (lucas__!~lucas@177-185-141-105.isotelco.net.br)
16:50lucascastro has left IRC (lucascastro!~lucas@177-185-141-105.isotelco.net.br, Read error: Connection reset by peer)
17:23Statler|Home has joined IRC (Statler|Home!~Georg@p54897C08.dip0.t-ipconnect.de)
17:53bitchecker has left IRC (bitchecker!~bitchecke@31.131.20.132, Quit: bye!)
18:06TheBoyd has joined IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:d4a3:fe8d:223b:fcf6)
18:18TheBoyd has left IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:d4a3:fe8d:223b:fcf6, Read error: Connection reset by peer)
19:13
<eirikb>
alkisg: So I should be able to mount a second disk to say "/mnt", then run "sudo ltsp-update-image /mnt"?
19:14vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
19:17TheBoyd has joined IRC (TheBoyd!~TheBoyd@2605:a601:652:9500:8877:486:6f9d:3eab)
19:24
<eirikb>
I was able to make my previous gist work fine, but not with fat clients, the --fat-client flag wanted an option, but I'm not sure what. Only --fat-client-desktop was mentioned in man, and without any options. This is my current gist using the ltsp-update-image command, but it won't boot on pxe client as /var/lib/tftpboot/ltsp/mnt/pxelinux.0 can't b
19:24
e found
19:24
https://gist.github.com/eirikb/97797b53caa901094219136825a98dfe
19:28ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
19:31bitchecker has joined IRC (bitchecker!~bitchecke@31.131.20.132)
19:32Statler|Home has left IRC (Statler|Home!~Georg@p54897C08.dip0.t-ipconnect.de, Remote host closed the connection)
19:38
<alkisg>
eirikb: you're trying a weird ltsp setup; if it's your first time better stick with the normal setup
19:40
<eirikb>
Where can I find a guide for a normal setup?
19:40
<alkisg>
!ltsp-pnp
19:40
<ltsp>
ltsp-pnp: ltsp-pnp is the recommented method to install and maintain LTSP for "usual" setups. Since it doesn't involve chroots, it requires little to no command line to maintain it. It automatically supports both thin and fat ltsp clients. https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
19:40
<alkisg>
I told you before :)
19:41
Just don't add the ppa, since you're using debian
19:41
Reformat and follow that
19:41
<eirikb>
Yes, I tried to base my setup on that. I don't actually know what ltsp-pnp is, it's not an executable, not a package
20:15
<alkisg>
it's the new recommended way to setup ltsp
20:16
instead of running ltsp-build-client
20:16
it's using dnsmasq instead of isc-dhcp/tftpd-hpa, and the server / as a template instead of a chroot
20:17
<eirikb>
I am using dnsmasq. I replaced ltsp-build-client with ltsp-update-image now as in your link
20:19
<alkisg>
Did you remove your chroot?
20:19
<eirikb>
Where is my chroot?
20:19
<alkisg>
ltsp-pnp doesn't use a chroot
20:19
In /opt/ltsp/amd64
20:19
(or i386)
20:19
<eirikb>
I haven't run ltsp-build-client
20:20
<alkisg>
What's the output of sudo ltsp-info? pastebin it
20:20
!pastebin
20:20
<ltsp>
pastebin: try !paste
20:20
<alkisg>
!paste
20:20
<ltsp>
paste: the LTSP pastebin is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebin, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
20:20
<eirikb>
Before or after my install script has run?
20:20
<alkisg>
Whatever; to see what you have now
20:20
(before, if possible)
20:21
<eirikb>
Here is before: https://gist.github.com/eirikb/0c09e34b2952a43c0d0c3f34a8d24582
20:22
I can give you after in a while, but the script takes several minutes to run (ltsp-update-image is the slow part). Here is the latest version of my install script: https://gist.github.com/eirikb/3656cda39c00c997933c01b6d9dddf76
20:26
<alkisg>
It's -c /
20:27
<eirikb>
-c throws the same error
20:27
<alkisg>
sudo ltsp-update-image -c /
20:27
Run that command and paste the output
20:28
Also, please read the ltsp-pnp page
20:28
You didn't install the necessary packages
20:28
<eirikb>
Script //usr/share/ltsp/ltsp-cleanup does not exist, cannot cleanup the chroot.
20:28
<alkisg>
Yes, you didn't read the page yet
20:28
!ltsp-pnp
20:28
<ltsp>
ltsp-pnp: ltsp-pnp is the recommented method to install and maintain LTSP for "usual" setups. Since it doesn't involve chroots, it requires little to no command line to maintain it. It automatically supports both thin and fat ltsp clients. https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
20:28
<alkisg>
3rd time now :)
20:28
There's an apt-get install line there. Please read it.
20:29
<eirikb>
You mean ltsp-client? dnsmasq is already installed, the ubuntu-stuff shouldn't be related, and ltsp-config is also installed
20:30
<alkisg>
yes
20:30
<eirikb>
Very well, trying that now
20:34
Now the error is gone, thanks
20:43
It works. And from a quick test it seems this time the client is fat (trying to grep in ps if apps on the PXE client are visible on server, and they're not)
20:44
Now I need to see if I can make it run from my /mnt location (mounted vdi image), and if I can prevent ltsp-update-image from installing anything extra
20:48
Hmm, ltsp-client must be installed on the client?
20:56
I could never have guessed that booting an OS from a hdd located on a network could be this difficult
21:00nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 256 seconds)
21:10
<alkisg>
eirikb: yes, ltsp-client needs to be installed in the vdi file
21:12
<eirikb>
What if it's a distro where it might not be easily available? Or perhaps then diskless boot would be difficult anyway? I imagined I somehow could just point to a vdi and let the clients boot from it directly
21:16
I hoped I could simply get the clients to boot from the vdi as if it were a live-cd image, without change to the vdi
21:22
I guess this will suffice for now. I can probably pre-package the client with lstp-client even when it's run locally. Thanks for all the help alkisg
21:32nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
21:44
<eirikb>
Would still be nice if ltsp-update-image didn't add anything extra
21:44nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 240 seconds)
21:53GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, *.net *.split)
21:53Natureshadow has left IRC (Natureshadow!45d1515d22@commu.teckids.org, *.net *.split)
21:53yanu has left IRC (yanu!~yanu@178-116-60-189.access.telenet.be, *.net *.split)
21:53zama has left IRC (zama!~zama@unaffiliated/stryx/x-3871776, *.net *.split)
21:53SYS64738 has left IRC (SYS64738!~capitano@ip-28-80.sn2.clouditalia.com, *.net *.split)
21:54GodFather has joined IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net)
21:54Natureshadow has joined IRC (Natureshadow!45d1515d22@commu.teckids.org)
21:54yanu has joined IRC (yanu!~yanu@178-116-60-189.access.telenet.be)
21:54SYS64738 has joined IRC (SYS64738!~capitano@ip-28-80.sn2.clouditalia.com)
21:54zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
21:54zama has joined IRC (zama!~zama@81.4.123.134)
21:54zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
22:00Natureshadow has left IRC (Natureshadow!45d1515d22@commu.teckids.org, Ping timeout: 267 seconds)
22:18nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
22:28nolaan_ has left IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a, Ping timeout: 256 seconds)
22:35nolaan_ has joined IRC (nolaan_!~nolaan@2a02:8308:a03d:da00:63ce:f99a:3a8:de2a)
22:58GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Ping timeout: 240 seconds)