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


Channel log from 14 August 2015   (all times are UTC)

00:51pscheie has joined IRC (pscheie!d8a008e3@gateway/web/freenode/ip.216.160.8.227)
01:43telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
01:44telex has joined IRC (telex!teletype@freeshell.de)
02:08AlexPortable has left IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-bmusbujihshyioxm, Quit: Connection closed for inactivity)
02:22pscheie has left IRC (pscheie!d8a008e3@gateway/web/freenode/ip.216.160.8.227, Quit: Page closed)
03:07TatankaT has left IRC (TatankaT!~tim@193.190.253.114, Ping timeout: 272 seconds)
03:36syrius has left IRC (syrius!~syrius@thunder.stormtek.net, Remote host closed the connection)
03:36syrius has joined IRC (syrius!~syrius@thunder.stormtek.net)
04:42book` has left IRC (book`!~book`@105.ip-167-114-152.net, Quit: Leaving)
04:51ricotz has joined IRC (ricotz!~rico@ubuntu/member/ricotz)
04:59book` has joined IRC (book`!~book`@105.ip-167-114-152.net)
05:17Cruz4prez has left IRC (Cruz4prez!~pppingme@unaffiliated/pppingme, Quit: Leaving)
05:37pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
06:05vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
06:29mikkel_ has joined IRC (mikkel_!~mikkel@mail.dlvs.dk)
07:04vmlintu has joined IRC (vmlintu!~vmlintu@a91-152-200-13.elisa-laajakaista.fi)
08:21
<muppis_>
Do you have any issues when running 14.04 client in virtual? Tried kvm and Virtualbox and GUI doesn't start in both.
08:57vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
09:01antares_ has joined IRC (antares_!c1929682@gateway/web/freenode/ip.193.146.150.130)
09:10AlexPortable has joined IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-ripnevsdnnhyjtzp)
09:25vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
09:32antares_ has left IRC (antares_!c1929682@gateway/web/freenode/ip.193.146.150.130, Ping timeout: 246 seconds)
10:09vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
10:49
<vsuojanen>
vmlintu: thank you for your advice yesterday. I was thinking update server that delivers and manages recoverable updates/root images to client PCs.
10:49vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
10:50
<vmlintu>
vsuojanen: so you are planning to put the full image on the local drive?
10:50
<vsuojanen>
ltsp already does the image delivery easy thanks to pxe boot
10:51
but there is no good chance or support for e.x. wireless.
10:52
<vmlintu>
vsuojanen: were you planning to put the image as a single file to drive or uncompress it?
10:52
<vsuojanen>
so the wireless or special clients need often localboot. if we had a way to deploy and deliver image updates seamlessly also to localboot client that would be very cool
10:54
<vmlintu>
It does require quite a bit of changes to ltsp code so that it doesn't require network during boot, but it's been working nicely for us
10:54
Doesn't really use much of ltsp code anymore once you do the changes, though..
10:55
<vsuojanen>
example you have a disk or virtual disk. it's partitioned and ext4 formatted with BOOT-A, BOOT-B, BOOT-C and ROOT-A, ROOT-B and ROOT-C and remaining space for user (e.x. DATA)
10:56
you boot from BOOT-B which loads bootcode which loads kernel and intird.
10:56
<vmlintu>
vsuojanen: you don't need to do that - it's enough to just have grub + squashfs image file on the drive
10:56
<vsuojanen>
initrd mounts real filesystem from ROOT-B
10:57
that's good. do you have an example cmdline. I haven't had time to look grub yet
10:58
<vmlintu>
vsuojanen: https://github.com/opinsys/puavo-ltsp/blob/master/puavo-install/puavo-install-grub
10:58
That's what we use to create the grub configs
10:59
Basically it assumes that there's an LVM partition that contains .img files. It checks them and creates dynamically grub entries. When an entry is selected, it loads the kernel and initrd.img from the image.
10:59
<vsuojanen>
where/what parameter in grub is it ?
10:59
<vmlintu>
what parameter you mean?
11:00
<vsuojanen>
when I use syslinux:
11:00
ro initrd=initrd1.img init=/sbin/init-ltsp root=/dev/sda2 rootflags=ro loop=/TEMP/fati386.img
11:01
loop equal ?
11:02
<vmlintu>
In the install script here the grub.cfg template is on line 7-135: https://github.com/opinsys/puavo-ltsp/blob/master/puavo-install/puavo-install-grub#L7
11:02
<vagrantc>
vsuojanen: what distribution?
11:02
<vmlintu>
This is on Ubuntu
11:02
<vagrantc>
i just submitted updated patches to add support for loop= to debian's initramfs-tools the other date
11:02
day
11:03
<vmlintu>
E.g. you need the squash4 module so that grub can read kernel from the squashfs image file. loopback module to be able to use (loop) etc..
11:03
grub is programmable so the grub.cfg is a program that does the tricks
11:03
<vsuojanen>
I did not have actually a problem. I was just curious how I could deliver image based updates more easily to clients that use localboot
11:04
<vmlintu>
We first copy full image when a laptop is installed and then download rdiff files for updates
11:04
<vsuojanen>
so that I don't have to go to client and interrupt something
11:05
<vmlintu>
rdiffs are used to generate new image files using the old image. New image is used when the laptop is booted the next time.
11:06
What we use is a background daemon that polls management server that tells what image it should be running. If the image is not available on the laptop, it asks an image server for a diff and downloads it over https
11:06
The image server is reachable over VPN over public internet so the laptop does not need to be behind ltsp server to get updates
11:07
Once this works, there's pretty much nothing left of ltsp code anymore..
11:07
:(
11:08
vsuojanen: Does syslinux support reading the kernel and initrd.img from inside the squashfs image?
11:08
<vagrantc>
vmlintu: well, maybe we just need to integrate some of these ideas into ltsp :)
11:08
<vsuojanen>
please take time :)
11:09
<vmlintu>
vagrantc: I tried to make a patch, but I had to start by doing rm -rf ltsp and then start from there..
11:09
<vsuojanen>
vmlintu: kernel inside squashfs image - i have never tested. it's first time I hear it
11:10
<vmlintu>
vsuojanen: it's supported in grub 2.0 and newer
11:10
<vagrantc>
vmlintu: from the looks of things, we may be rewriting LTSP more-or-less from scratch
11:10
<vmlintu>
vagrantc: I'd be interested in getting involved if wireless laptops are to be supported well
11:11
<vagrantc>
the NBD maintainer was discussing adding support to grub2 to mount NBD devices
11:12
<vmlintu>
vagrantc: What would be usecase for that?
11:14
vsuojanen: the nice thing there is that you never need to touch anything else but the image files - no need to extract kernels or initrd.imgs or anything else. Just one static grub.cfg that does it dynamically on every boot.
11:14
So your code cannot fail between updating the squashfs image and updating the kernels
11:17
<vagrantc>
vmlintu: assurance that you're booting the kernel+initrd from the squashfs image you want to boot
11:18
<vmlintu>
vagrantc: so pxegrub would mount the squashfs image over nbd load the kernel from there?
11:18
Sounds good
11:25vmlintu has left IRC (vmlintu!~vmlintu@a91-152-200-13.elisa-laajakaista.fi, Ping timeout: 265 seconds)
11:27
<vagrantc>
yup
11:42danau11 has joined IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
11:45zama has left IRC (zama!~zama@unaffiliated/stryx/x-3871776, Ping timeout: 246 seconds)
11:46zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
11:50danau11 has left IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
12:24danau11 has joined IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
12:24danau11 has left IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
12:30zama has left IRC (zama!~zama@unaffiliated/stryx/x-3871776, Ping timeout: 264 seconds)
12:31zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
12:31khildin has joined IRC (khildin!~khildin@ip-62-235-41-21.dial.scarlet.be)
12:38vmlintu has joined IRC (vmlintu!~vmlintu@dyj7qyyhpqr89hbd62-zt-3.rev.dnainternet.fi)
12:38telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
12:40telex has joined IRC (telex!teletype@freeshell.de)
12:57pscheie has joined IRC (pscheie!~pscheie@corp.redbrickhealth.com)
13:04
<vmlintu>
vagrantc: Once upon a time plain pxe/dhcp/tftp/nfs was like magic.. maybe someone could also implement tetris that runs on the pxe nic.. why run an os..
13:05
<vagrantc>
vmlintu: heh. probably could run grub-invaders
13:05Faith has joined IRC (Faith!~paty@unaffiliated/faith)
13:06
<vmlintu>
how much memory there is actually to use in pxe?
13:06
maybe it could run a C64 emulator
13:11
<jammcq>
ogra_: ping
13:11
<ogra_>
jammcq, yep
13:11
<jammcq>
vagrantc: hey buddy
13:11
ogra_: hey, BTS is still coming up Oct 15th
13:11
vagrantc: that goes for you too
13:12
and... really, anybody out there who wants to come to Maine in the middle of October
13:13
<ogra_>
jammcq, i have to be at a conference in berlin on the 23rd, how long did you plan it to be ?
13:14
<vagrantc>
jammcq: it's pretty hard to allocate the time, unfortunately...
13:14
<jammcq>
15-18th
13:15
vagrantc: you still at freegeek?
13:15
<vagrantc>
jammcq: not for the last 1.5 years
13:15
<jammcq>
wow
13:15
<ogra_>
that might work ... i have to wait for another date that is not finalized yet
13:15
<jammcq>
ogra_: we'd love to see you
13:15
<ogra_>
(before i can say anything definitive)
13:15
and i'd love to come, i missed way to many BTSes already
13:15
<vagrantc>
jammcq: but will just be getting back after a few weeks in germany
13:15
<jammcq>
I need to get ahold of eHarrison
13:16
<vagrantc>
jammcq: i'll probably be passing y you with a layover in detroit on my way back :)
13:16
<jammcq>
haven't talked to him in quite a while
13:16
hehe
13:16
vagrantc: I'll wave
13:34khildin has left IRC (khildin!~khildin@ip-62-235-41-21.dial.scarlet.be, Ping timeout: 250 seconds)
13:50
<pscheie>
yes, ogra_ and vagrantc, you should both try to attend!
13:54spectra_ has left IRC (spectra_!~spectra@63.142.251.150, Ping timeout: 255 seconds)
14:07ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu)
14:10
<vagrantc>
well, kind of stalled on LTSP development with overlay FS (not to be confused with overlayfs) breakage...
14:10
well, i can do the ltsp-update-image dance, i guess...
14:11
except the initramfs-tools patches to make that work aren't accepted yet ...
14:11* vagrantc sighs
14:25spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
14:28AlexPortable has left IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-ripnevsdnnhyjtzp, Quit: Connection closed for inactivity)
14:29andygraybeal has left IRC (andygraybeal!~andy@h210.32.30.71.dynamic.ip.windstream.net, Ping timeout: 250 seconds)
14:32andygraybeal has joined IRC (andygraybeal!~andy@h210.32.30.71.dynamic.ip.windstream.net)
14:41vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
14:44spectra has left IRC (spectra!~spectra@debian/developer/spectra, Quit: ZNC - http://znc.sourceforge.net)
14:46spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
14:55danau111 has joined IRC (danau111!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
15:23khildin has joined IRC (khildin!~khildin@ip-62-235-41-21.dial.scarlet.be)
15:32lifeboy has joined IRC (lifeboy!~roland@196.45.29.25)
15:41izzle has joined IRC (izzle!~izzle121@70-90-102-229-ma-ne.hfc.comcastbusiness.net)
15:49vmlintu has left IRC (vmlintu!~vmlintu@dyj7qyyhpqr89hbd62-zt-3.rev.dnainternet.fi, Ping timeout: 246 seconds)
16:06danau111 has left IRC (danau111!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
17:17danau11 has joined IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
17:18danau11 has left IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
17:20AlexPortable has joined IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-fsxfdvoogtexgylk)
17:33Phantomas has joined IRC (Phantomas!~ftsamis@2a02:582:10a4:3f00:911b:e194:ca94:a1a9)
17:33Phantomas has joined IRC (Phantomas!~ftsamis@ubuntu/member/phantomas)
17:41khildin has left IRC (khildin!~khildin@ip-62-235-41-21.dial.scarlet.be, Ping timeout: 245 seconds)
17:45epoptes_user4 has joined IRC (epoptes_user4!1f58204a@gateway/web/freenode/ip.31.88.32.74)
17:46
<epoptes_user4>
hi everyone, I'm after some advice
17:50
<Phantomas>
well, we can't help you if you don't tell us your problem, can we? :)
17:50
epoptes_user4: ^
17:55
<epoptes_user4>
I've set up edubuntu 14.04 and everything works fine but when using epoptes it isn't showing a thin client logged into the server. but if try same setup on a different server and a fat client epoptes sees the client logged in fine. is there any difference in configuration between fat and thin clients on the server?
17:55khildin has joined IRC (khildin!~khildin@ip-62-235-42-213.dial.scarlet.be)
18:04epoptes_user9 has joined IRC (epoptes_user9!1f58204a@gateway/web/freenode/ip.31.88.32.74)
18:05epoptes_user4 has left IRC (epoptes_user4!1f58204a@gateway/web/freenode/ip.31.88.32.74, Ping timeout: 246 seconds)
18:05epoptes_user9 has left IRC (epoptes_user9!1f58204a@gateway/web/freenode/ip.31.88.32.74, Client Quit)
18:14izzle has left IRC (izzle!~izzle121@70-90-102-229-ma-ne.hfc.comcastbusiness.net, Remote host closed the connection)
18:56geofreygachie has joined IRC (geofreygachie!c5b07445@gateway/web/freenode/ip.197.176.116.69)
18:58telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection)
19:00telex has joined IRC (telex!teletype@freeshell.de)
19:05danau11 has joined IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net)
19:09danau11 has left IRC (danau11!~durban@static-72-89-243-139.nycmny.fios.verizon.net, Ping timeout: 252 seconds)
19:12geofreygachie has left IRC (geofreygachie!c5b07445@gateway/web/freenode/ip.197.176.116.69, Ping timeout: 246 seconds)
19:28khildin has left IRC (khildin!~khildin@ip-62-235-42-213.dial.scarlet.be, Remote host closed the connection)
19:33safaricom has joined IRC (safaricom!c5b07445@gateway/web/freenode/ip.197.176.116.69)
19:34Faith has left IRC (Faith!~paty@unaffiliated/faith, Quit: Saindo)
19:34
<safaricom>
kindly help me setup epoptes,i have already installed the server and client but i cannot add the clients
19:36work_alkisg is now known as alkisg
19:36
<alkisg>
safaricom: are you using ltsp?
19:36
or standalone clients?
19:36
<safaricom>
standalone clients
19:36
running mint
19:37
<alkisg>
did you follow the epoptes.org/installation page instructions?
19:37
(basically, to edit /etc/hosts on the clients, and to fetch the server's key)
19:38
<safaricom>
i have edited the hosts file on client but i havent fetch the key
19:38
please help me on how to fetch the key
19:38
<alkisg>
Do read this page: epoptes.org/installation
19:39
Basically you just run `sudo epoptes-client -c` once
19:39
in the clients
19:39
<safaricom>
let me try that right away and let you know
19:40
<alkisg>
(and before that, you should have already put "1.2.3.4 server" in the client's /etc/hosts
19:40
<safaricom>
i already added the server ip and name
19:41
<alkisg>
safaricom: it needs to be named "server" in /etc/hosts
19:41
its real hostname doesn't matter
19:41
but epoptes clients search the server with that specific hostname, server
19:46
<safaricom>
i have tried getting the key and the client says command not found
19:46
<alkisg>
ls /usr/sbin/epoptes-client
19:46
sudo /usr/sbin/epoptes-client -c
19:47
sudo apt-get install epoptes-client ==> if you don't have it installed already
19:48
<safaricom>
let me try that
19:50alkisg is now known as work_alkisg
19:51
<safaricom>
i have managed to fetch the key
19:52
what is the next step
19:56Coppermine has joined IRC (Coppermine!57feb883@gateway/web/freenode/ip.87.254.184.131)
20:03
<Coppermine>
hi guys, is there a way to use another dhcp server instead of the one that comes with the ltsp package
20:04
<pscheie>
Coppermine: Yes.
20:05
I haven't looked at the docs in quite a while, but there used to be a
20:05
section on using an alternative dhcp server.
20:06safaricom has left IRC (safaricom!c5b07445@gateway/web/freenode/ip.197.176.116.69, Ping timeout: 246 seconds)
20:06
<Coppermine>
well i found only this docs and there is not much there http://wiki.ltsp.org/wiki/LTSPedia
20:08
<pscheie>
There are some parameters the dhcp server has to give to the clients to tell them where to find the ltsp server.
20:09
I think the particular parameter is "next-server" (not sure about the spelling).
20:11
I presume you want to use an existing dhcp server (?)
20:11
<Coppermine>
yes, i have, i set up option 66 and 67 on it (tftp server and boot filename)
20:12
<pscheie>
Is it Linux/Unix or Windows?
20:12
<Coppermine>
i was wondering first of all how to stop the dhcp on the lisp isntallation
20:12
<pscheie>
What distro and version?
20:13
<Coppermine>
MikroTik actually, the router runs the DHCP server
20:13
Linux ltsp 3.16.0-30-generic #40~14.04.1-Ubuntu
20:14
it was installed by someone else, but it is just a clean install
20:14
<pscheie>
Might be easier to turn the dhcp service in that router off and let ltsp handle everything.
20:14
Tends to be more flexible.
20:15
<Coppermine>
there are some down sides, lisp server runs on virtual machine in a server room and if i lost connectivity the whole network will die
20:15
and there are normal workstations also
20:15
<pscheie>
So, if you just want to turn off dhcpd on the ubuntu server, I think you can just run "service dhcpd stop".
20:15
<Coppermine>
couple of VLANs not very standard setup
20:16
<pscheie>
as root on the ltsp server
20:16
<Coppermine>
root@ltsp:/etc/ltsp# service dhcpd stop dhcpd: unrecognized service
20:17
i tried this, i'm not sure that the dhcp server is runnig
20:17
because i can't see the process
20:17
and i am not sure is it standard dhcpd or something else
20:18
<pscheie>
I think it's just standard dhcpd.
20:18
ltsp tries not to re-invent the wheel. Just adds ltsp parts.
20:18
<Coppermine>
it should start automatically on a clean install ?
20:19
root@ltsp:/etc/ltsp# ps ax | grep dhcpd 3498 pts/15 S+ 0:00 grep --color=auto dhcpd
20:19
<pscheie>
I think so (been a few years since I did an ubuntu ltsp install, so I may be a bit outdated)
20:19
Your output suggests dhcpd is not running.
20:20
I think Ubuntu 14.04 still used upstart, not systemd.
20:23
<Coppermine>
well unfortunately i don't use ubuntu that much so idk what is this, but probably i have to get to know ubuntu first
20:24
but i don't see any errors in the logs, and it is strange that dhcpd service is not found
20:25
<pscheie>
So, let's verify dhcpd is actually installed: If you run 'sudo aptitude search dhcpd', what do you get?
20:25
Look for the line that has just dhcpd, and not, say dhcpdump, etc.
20:25
<maldridge>
14.04 uses upstart, but has lots of systemd bits already in place
20:26
<pscheie>
maldridge: does it have the systemctl command?
20:27
<maldridge>
pscheie: depends on how the install was run
20:27
<Coppermine>
root@ltsp:/etc/ltsp# aptitude search dhcpd v dhcpd - v dhcpd:i386 - p dhcpdump - Parse DHCP packets
20:27
i have the dhcpd binary in /usr/sbin/dhcpd
20:28
<maldridge>
does it show up in ps?
20:29
<Coppermine>
no, no it's not there
20:29
and i can't find anything in the /var/log dir
20:30
ahh ok i found the error in the syslog
20:30
<pscheie>
Sounds like dhcpd is not running, then.
20:30
<Coppermine>
no subnet declaration something, so it probably quits
20:31
well ok so it is not running which is ok for me, because i want to use external dhcp :-)
20:32
i just need to find a way to stop it at startup so i can get rid of the errors in the syslog
20:32
<pscheie>
Probably missing the subnet to use, as defined in /etc/dhcpd.conf
20:34
<Coppermine>
yeah, it is not configured, the conf is in /etc/ltsp for some reason
20:35
<maldridge>
update-rc.d should still be able to modify those scripts
20:37
<Coppermine>
well i use centOS mainly so i have to check what this thing do, anyways thanks, i found most of the things that i was wondering about
20:41
<maldridge>
good luck with it, and good call on routers, the MicroTik systems are rock solid
20:47
<Coppermine>
thanks, i also like MicroTik very much, they never failed me
21:14Coppermine has left IRC (Coppermine!57feb883@gateway/web/freenode/ip.87.254.184.131, Ping timeout: 246 seconds)
22:02ricotz has left IRC (ricotz!~rico@ubuntu/member/ricotz, Quit: Ex-Chat)
22:16ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection)