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


Channel log from 25 August 2017   (all times are UTC)

01:02Eric5 has joined IRC (Eric5!~eric@sdi.iut-valence.fr)
01:20Eric5 has left IRC (Eric5!~eric@sdi.iut-valence.fr, Ping timeout: 252 seconds)
01:52GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 252 seconds)
03:51lucascastro has joined IRC (lucascastro!~lucas@186.227.186.18)
05:10Statler has joined IRC (Statler!~Georg@p579FF9D7.dip0.t-ipconnect.de)
06:08lucascastro has left IRC (lucascastro!~lucas@186.227.186.18, Ping timeout: 240 seconds)
06:19Eric5 has joined IRC (Eric5!~eric@sdi.iut-valence.fr)
06:20ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:28kjackal has left IRC (kjackal!~quassel@2a02:587:3113:5000:7dfb:f762:9280:a09e, Ping timeout: 252 seconds)
06:28kjackal has joined IRC (kjackal!~quassel@2a02:587:3113:5000:7dfb:f762:9280:a09e)
06:33mikkel has joined IRC (mikkel!~mikkel@mail.dlvs.dk)
07:12wim1 has joined IRC (wim1!~Thunderbi@WEGC33.UNI-GRAZ.AT)
07:30alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
08:36kjackal has left IRC (kjackal!~quassel@2a02:587:3113:5000:7dfb:f762:9280:a09e, Ping timeout: 255 seconds)
08:48kjackal has joined IRC (kjackal!~quassel@ppp-2-86-30-168.home.otenet.gr)
09:00Statler has left IRC (Statler!~Georg@p579FF9D7.dip0.t-ipconnect.de, Remote host closed the connection)
09:29Statler has joined IRC (Statler!~Georg@p579FE832.dip0.t-ipconnect.de)
10:40alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
10:55kjackal has left IRC (kjackal!~quassel@ppp-2-86-30-168.home.otenet.gr, Ping timeout: 240 seconds)
11:07wim1 has left IRC (wim1!~Thunderbi@WEGC33.UNI-GRAZ.AT, Quit: wim1)
11:08GodFather has joined IRC (GodFather!~rcc@47.33.250.142)
11:08kjackal has joined IRC (kjackal!~quassel@2a02:587:3113:5000:7dfb:f762:9280:a09e)
11:52Eric5 has left IRC (Eric5!~eric@sdi.iut-valence.fr, Ping timeout: 240 seconds)
12:03dgroos has joined IRC (dgroos!~David@205.215.175.117)
12:03
<dgroos>
Hello!
12:04
I'm trying to setup fat clients for the school year and am getting stuck at client access to internet. Ideas?
12:13eu^20386219242 has joined IRC (eu^20386219242!cb56dbf2@gateway/web/freenode/ip.203.86.219.242)
12:17Eric5 has joined IRC (Eric5!~eric@sdi.iut-valence.fr)
12:20eu^20386219242 has left IRC (eu^20386219242!cb56dbf2@gateway/web/freenode/ip.203.86.219.242, Quit: Page closed)
12:28
<dgroos>
Also, upon restart of server always need to run sudo service dnsmasq otherwise get tftp timeout error
12:31desparate_user has joined IRC (desparate_user!d9f99c52@gateway/web/freenode/ip.217.249.156.82)
12:32zerkalo has left IRC (zerkalo!myricae@ny1.hashbang.sh, *.net *.split)
12:32book`_ has left IRC (book`_!~book`@68.ip-149-56-14.net, *.net *.split)
12:32fnurl has left IRC (fnurl!~fnurl@220-141-167-121.dynamic-ip.hinet.net, *.net *.split)
12:32markus_e92 has left IRC (markus_e92!~markus_e9@81-5-253-62.hdsl.highway.telekom.at, *.net *.split)
12:32highvoltage has left IRC (highvoltage!~highvolta@ubuntu/member/highvoltage, *.net *.split)
12:32ABIX_Adamj has left IRC (ABIX_Adamj!~quassel@abix-vps.abix.info.pl, *.net *.split)
12:32zamba has left IRC (zamba!marius@flage.org, *.net *.split)
12:32TatankaT has left IRC (TatankaT!~tim@193.190.253.114, *.net *.split)
12:32ABIX_Adamj has joined IRC (ABIX_Adamj!~quassel@2a01:7c8:aab0:3d9:5054:ff:fed3:602b)
12:32TatankaT has joined IRC (TatankaT!~tim@193.190.253.114)
12:33fnurl has joined IRC (fnurl!~fnurl@220-141-167-121.dynamic-ip.hinet.net)
12:33highvolt1ge has joined IRC (highvolt1ge!~highvolta@mail.bluemosh.com)
12:33book` has joined IRC (book`!~book`@68.ip-149-56-14.net)
12:33zerkalo_ has joined IRC (zerkalo_!myricae@ny1.hashbang.sh)
12:33markus_e92 has joined IRC (markus_e92!~markus_e9@81-5-253-62.hdsl.highway.telekom.at)
12:33zerkalo_ is now known as zerkalo
12:34zamba has joined IRC (zamba!marius@flage.org)
12:48
<dgroos>
When using epoptes, shouldn't I be able to go to "Clients" menu then navigate [Execute/Open terminal/Root, locally] and see logs etc?
12:48
the terminal is blank and doesn't respond to commands that I see.
13:32alkisg_web has joined IRC (alkisg_web!c2dbdcf8@gateway/web/freenode/ip.194.219.220.248)
13:33
<alkisg_web>
dgroos: if you select open terminal > root, remotely, does it open?
13:34
Usually the problem that you describe happens when the root epoptes client is hanged
13:36
<dgroos>
alkisg_web, nothing happens when I try root, remotely
13:37
<alkisg_web>
User, remotely?
13:37
Does user remotely work? Also, any firewalls involved?
13:38
<dgroos>
@alkisg_web, I only see Root, remotely. I've not set up any firewalls on the server...
13:39
*classroom server
13:42lucascastro has joined IRC (lucascastro!~lucas@186.227.186.18)
13:48
<dgroos>
rebooted client and root, locally works. Problem was probably that I didn't issue sudo service dnsmasq at server until client was trying to boot.
13:57
Something unexpected, when looking at the logs in root, locally I see that the time shown in the syslog is about 2 minutes faster than the time at the classroom server.
13:59
<alkisg_web>
Does the NAT work?
13:59
Do clients have internet so that they could sync the time from ntp?
13:59
ntp is managed by systemd nowadays, not related to ltsp scripts much...
14:02forum has joined IRC (forum!~Thunderbi@194-118-44-6.adsl.highway.telekom.at)
14:09
<dgroos>
Ah... I was thinking that "sudo mv '/home/myusername/sch-scripts.if-up' /etc/network/if-up.d/sch-scripts" would do the NATting!
14:09
let me check the systemd NAT instructions!
14:13mikkel has left IRC (mikkel!~mikkel@mail.dlvs.dk, Quit: Leaving)
14:15jammcq has joined IRC (jammcq!~jam@c-76-112-60-64.hsd1.mi.comcast.net)
14:15
<dgroos>
is this what I want to do? https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nats-on-ubuntu-16-04
14:20
<alkisg_web>
dgroos: ntp is managed by systemd
14:20
nat by ltsp manager or sch-scripts
14:20
NOT nat by systemd
14:20
Just check if the clients have internet or not...
14:21
<dgroos>
oops! OK, just tried to ping 8.8.8.8 on the local root and no connection.
14:22
<alkisg_web>
Maybe your wget got an html page
14:22
Instead of a script
14:22
Check the file contents
14:22
bbiab
14:22alkisg_web has left IRC (alkisg_web!c2dbdcf8@gateway/web/freenode/ip.194.219.220.248, Quit: Page closed)
14:23alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:24
<dgroos>
sure enough! I'll hit the download button and go from there! Thanks!
14:52alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
14:56forum has left IRC (forum!~Thunderbi@194-118-44-6.adsl.highway.telekom.at, Remote host closed the connection)
14:58forum has joined IRC (forum!~Thunderbi@194-118-44-6.adsl.highway.telekom.at)
15:16
<desparate_user>
I seem to have solved my problem from yesterday with the missing kernels by purging /opt/ltsp/amd64 and re-running ltsp-update-image. All looked fine, but now the clients won't boot. "read: Connection refused"
15:16
Anyone come across this error message before? Where does it come from?
15:31alkisg_web has joined IRC (alkisg_web!c2dbdcf8@gateway/web/freenode/ip.194.219.220.248)
15:32
<alkisg_web>
desparate_user: upload a screenshot of the client screen from a mobile phone. Also, distro/version?
15:33vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
15:40highvolt1ge is now known as highvoltage
15:42
<desparate_user>
FCK! Don't have my mobile here. It all looks normal. Last line shown is "Trying to load: pxelinux.cfg/default ok" . Then after some time it continues with "connect: Connection refused" followed by many "read: Connection refused"
15:43
I suspect that's when it tries to use nbd, am I right?
15:44
<vagrantc>
it's not clear weather that's failing in the tftp of kernel+initrd or loading the OS image via NBD
15:44
and the messages output by different PXE implementations vary quite a bit
15:45
depending on your logging levels, you might be able to see if it downloads the vmlinuz and initrd.img in /var/log/syslo
15:45
in /var/log/syslog
15:45
<desparate_user>
Yes, it does
15:46
<vagrantc>
do you end up with a shell prompt eventually?
15:46
such as a busybox prompt
15:46
<desparate_user>
Nah, just repeats the line "read: Connection refused" without end
15:46
In between it comes up with something about NFS not working either, which I would expect anyway
15:47
Last syslog entries:
15:47
<vagrantc>
what OS?
15:47
<desparate_user>
Aug 25 17:41:09 server dnsmasq-tftp[2572]: sent /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default to 192.168.2.103 Aug 25 17:41:09 server dnsmasq-tftp[2572]: sent /var/lib/tftpboot/ltsp/amd64/ifcpu64.c32 to 192.168.2.103 Aug 25 17:41:11 server dnsmasq-tftp[2572]: sent /var/lib/tftpboot/ltsp/amd64/vmlinuz-3.13.0-128-generic to 192.168.2.103 Aug 25 17:41:19 server dnsmasq-tftp[2572]: sent /var/lib/tftpboot/ltsp/amd64/initrd.img-3
15:47
Ubuntu 14.04
15:47
64-bit
15:48
Message in between: "NFS over TCP not available from <server's IP address>"
15:48
<vagrantc>
that seems like it's needlessly using ifcpu64 ... but that's a separate issue
15:48
since you're using an amd64 chroot, there's no need to use ifcpu64
15:48
<desparate_user>
ok
15:49
<vagrantc>
could you pastebin the contents of /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default ?
15:49
!paste | echo desparate_user
15:49
<ltsp>
desparate_user 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.
15:49
<desparate_user>
looking at update-kernels.conf could this be an issue here:
15:50
# Use ifcpu64.c32 to detect 64-bit, PAE or 32-bit machines. PXELINUX_DEFAULT=ltsp-ifcpu64-NFS IFCPU64=true
15:50
<vagrantc>
it shouldn't hurt anything either... it's just useless
15:51
desparate_user: is this an old install that used to work? as 14.04 is kind of old to start out with a new system...
15:52
<desparate_user>
http://termbin.com/l08b
15:52
It used to work though it's not a really old install. When I started it I had trouble finding proper support for 16.04 on XEN
15:53
Though I was already thinking about upgrading
15:53alkisg_web has left IRC (alkisg_web!c2dbdcf8@gateway/web/freenode/ip.194.219.220.248, Quit: Page closed)
15:53
<desparate_user>
which would pretty much mean start from scratch
15:54
<vagrantc>
14.04 surely has lots of bugs we've already fixed in ltsp in the last 3.5 years...
15:55
default ltsp-ifcpu64-NFS
15:55
ontimeout ltsp-NBD
15:55
i'm guessing it's taking the "default" rather than the "ontimeout"
15:56
desparate_user: i'd suggest setting BOOT_METHODS=NBD in update-kernels.conf and setting IFCPU64=false
15:56
desparate_user: and then regenerating your menus ...
15:57
something like: ltsp-chroot /usr/share/ltsp/update-kernels
15:57
and then ltsp-update-kernels
15:57
surprised xen didn't work well for you with 16.04
15:58
<desparate_user>
This is an LTSP PNP install. Does that make a difference?
15:58dgroos has left IRC (dgroos!~David@205.215.175.117, Remote host closed the connection)
15:58
<desparate_user>
Why use ltsp-chroot?
15:58
<vagrantc>
if it's LTSP-PNP you wouldn't use ltsp-chroot, no
16:00
edit update-kernels.conf and regenerate the menus, and see if that helps
16:03
<desparate_user>
How do I regenerate the menus?
16:03
with /usr/share/ltsp/update-kernels?
16:03
<vagrantc>
sure, try that
16:04
we've rewritten a lot of this, but that part should be fine
16:04
<desparate_user>
I think one of my problems was the amount of different documentation floating around. It's hard to find out which one is correct.
16:05
Would I need to update the image afterwards?
16:05
<vagrantc>
yes
16:06
<desparate_user>
:-( That takes a huge amout of time. Will probably kick it off now and look for it on another day
16:06
<vagrantc>
the official documentation lacks maintenance, and there are lots of really badly written howtos all over the internet
16:06
<desparate_user>
Seems so
16:06
Any good onws?
16:06
ones
16:06
<vagrantc>
so yes, we need better documentation
16:07
desparate_user: check if /boot/pxelinux.cfg/default contains a different default entry
16:07
<desparate_user>
I did and it doesn't
16:08
<vagrantc>
it still contains the ltsp-ifcpu64-NFS ?
16:08
<desparate_user>
yes
16:08
<vagrantc>
after running /usr/share/ltsp/update-kernels ?
16:08
<desparate_user>
This should be updated by /usr/share/ltsp/update-kernels, right?
16:08
yes
16:09
<vagrantc>
desparate_user: you're looking at the one in /boot, not the one in tftp ?
16:09
<desparate_user>
I am looking at /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default
16:09
<vagrantc>
the one in tftp may not get correctly updated until ltsp-update-image is run
16:09
desparate_user: first check /boot/pxelinux.cfg/default
16:10
<desparate_user>
much shorter. but same default
16:10
<vagrantc>
could you paste the results?
16:11
<desparate_user>
sure
16:11
http://termbin.com/cx6u
16:11
<vagrantc>
could you paste your update-kernels.conf ?
16:12
<desparate_user>
http://termbin.com/je87
16:13
the files in /boot/pxelinux.cfg get updated when I run update-kernels. At least the timestamp changes
16:14* vagrantc has no idea where that default is coming from, then
16:16
<vagrantc>
probably about all the energy i have to help troubleshoot such an ancient version, unfortunately :/
16:17
<desparate_user>
never mind for now. I'll try to set up a newer one at home. Is it better to use the packages from ts.sch.gr?
16:17
<vagrantc>
yes
16:17
<desparate_user>
ok. So this is fine: https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp ?
16:17
<vagrantc>
they're actively maintained by alkisg, who's the other active LTSP developer
16:17
<desparate_user>
Wonderful. Thanks for your help!
16:18docente has joined IRC (docente!9738a801@gateway/web/freenode/ip.151.56.168.1)
16:19docente has left IRC (docente!9738a801@gateway/web/freenode/ip.151.56.168.1)
16:19
<vagrantc>
desparate_user: that howto looks in decent shape, sure
16:20
<desparate_user>
ok, will follow that one. Off now. bye, thx
16:20
<vagrantc>
good luck!
16:24desparate_user has left IRC (desparate_user!d9f99c52@gateway/web/freenode/ip.217.249.156.82, Ping timeout: 260 seconds)
16:27dgroos has joined IRC (dgroos!~David@205.215.175.117)
16:34desperate_user has joined IRC (desperate_user!4e2b136d@gateway/web/freenode/ip.78.43.19.109)
16:37ZAJDAN has left IRC (ZAJDAN!4d30954b@gateway/web/freenode/ip.77.48.149.75, Ping timeout: 260 seconds)
16:49
<desperate_user>
There seems to be a problem with the repository key. Running "add-apt-repository --yes ppa:ts.sch.gr" results in an error: http://termbin.com/rkwf
17:00
<dgroos>
alkisg: I made /etc/network/if-up.d/sch-scripts then sudo chown root:root then chmod +x then rebuilt the image... but still can't ping out from local client root. This is my sch-scripts file: https://pastebin.com/iAn00D8W
17:13dgroos_ has joined IRC (dgroos_!~dagro001@205.215.175.117)
17:15alkisg_web has joined IRC (alkisg_web!c2dbdcf8@gateway/web/freenode/ip.194.219.220.248)
17:16
<alkisg_web>
dgroos: that's a server-side script, no need to build image etc
17:16
Just reboot the server (or unplug/replug ethernet)
17:17
<dgroos>
oh... ok will reboot.
17:17
<alkisg_web>
desperate_user: your system locale configuration is probably broken
17:17
Use UTF-8, not e.g. LANG=C
17:18
desperate_user: `env | grep ^L` will tell you your locale settings
17:18dgroos has left IRC (dgroos!~David@205.215.175.117, Quit: Leaving)
17:18dgroos_ is now known as dgroos
17:18* vagrantc waves to alkisg_web
17:18
<alkisg_web>
Hey vagrantc !
17:21forum has left IRC (forum!~Thunderbi@194-118-44-6.adsl.highway.telekom.at, Quit: forum)
17:21
<dgroos>
any idea why I need to redo upon each reboot: sudo service dnsmasq restart
17:27
alkisg_web: Success with internet access at clients! Thanks so much again. (Note to self, make better detailed notes about working w/sch-scripts.)
17:34
Anyone have the 16.04 ubuntu fat client error upon login: “ExecutablePath /usr/bin/gnome-screensaver” and then down further it says: “UnreportableReason this problem report is damaged and cannon be processed. PermissionsError(13, Permission denied’)”?
17:41Eric5 has left IRC (Eric5!~eric@sdi.iut-valence.fr, Ping timeout: 248 seconds)
17:42
<alkisg_web>
dgroos: did you dpkg-divert the broken nbd-client init script?
17:42
If not, that's why the dnsmasq restart issue
17:42
Or, the network-manager "bind-interfaces" stanza...
17:43
Which desktop environment, unity?
17:43
I don't think canonical supports unity anymore...
17:43
Check if it says the same on the server, and if so, report it in #ubuntu
17:53
<dgroos>
alkisg_web: will do. Any idea about the need to run upon each reboot: sudo service dnsmasq restart?
18:00Statler has left IRC (Statler!~Georg@p579FE832.dip0.t-ipconnect.de, Remote host closed the connection)
18:08
<alkisg_web>
dgroos: ls -l /etc/init.d/nbd-client; cat /etc/dnsmasq.d/network-manager
18:08
Output of those
18:08
Those are fixed automatically by ltsp-manager
18:17
<dgroos>
alkisg_web: here’s the output: http://paste.ubuntu.com/25391021/
18:17
How’s ltsp-manager coming along?
18:20
<vagrantc>
making significant progress on ltsp-manager
18:20
<dgroos>
hi vagrantc
18:20
that’s great!
18:21* vagrantc is just waiting on alkisg to finish up some things before uploading to debian
18:21
<dgroos>
:-)
18:23
alkisg_web, I don’t know if it’s important or just the way 16.04 does things, but in the internal NIC (of 2 nic system) I wasn’t able to get the 0.0.0.0 to ‘stick’ upon saving. It just showed the Gateway being empty (and still does).
18:31lucascastro has left IRC (lucascastro!~lucas@186.227.186.18, Remote host closed the connection)
18:32
<alkisg_web>
dgroos: both of those files should be deleted
18:32
ltsp-manager uses dpkg-divert to remove them
18:32
That's what bugs dnsmasq
18:33
<dgroos>
I’ll delete them immediately! Again thanks!
18:33
<alkisg_web>
dgroos: about the gateway, it's just nm being smart
18:33
Just a newer network manager version doing that...
18:33
<dgroos>
I thought as much…
18:35
<desperate_user>
thanks for the LOCALE hint. I had some weird lines in /root/.profile from the install
18:46xKill has joined IRC (xKill!~cvillegas@186-129-251-218.static.speedy.com.ar)
18:47
<xKill>
hi everybody! just a question... is there some way to register a epoptes client on other server?
18:51
just did it
18:51
lol
18:51xKill has left IRC (xKill!~cvillegas@186-129-251-218.static.speedy.com.ar, Quit: Saliendo)
18:54
<alkisg_web>
desperate_user: you're welcome
18:54lucascastro has joined IRC (lucascastro!~lucas@186.193.185.13)
19:50jammcq has left IRC (jammcq!~jam@c-76-112-60-64.hsd1.mi.comcast.net, Quit: WeeChat 0.4.2)
19:51lucascastro has left IRC (lucascastro!~lucas@186.193.185.13, Remote host closed the connection)
20:08ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:13lucascastro has joined IRC (lucascastro!~lucas@138.68.106.79)
21:18alkisg_web has left IRC (alkisg_web!c2dbdcf8@gateway/web/freenode/ip.194.219.220.248, Quit: Page closed)
21:37lucascastro has left IRC (lucascastro!~lucas@138.68.106.79, Remote host closed the connection)
21:43GodFather has left IRC (GodFather!~rcc@47.33.250.142, Ping timeout: 252 seconds)
21:44GodFather has joined IRC (GodFather!~rcc@47.33.250.142)
22:18kjackal has left IRC (kjackal!~quassel@2a02:587:3113:5000:7dfb:f762:9280:a09e, Ping timeout: 255 seconds)
22:21dgroos has left IRC (dgroos!~dagro001@205.215.175.117, Quit: dgroos)
22:25dgroos has joined IRC (dgroos!~dagro001@205.215.175.117)
22:38desperate_user has left IRC (desperate_user!4e2b136d@gateway/web/freenode/ip.78.43.19.109, Ping timeout: 260 seconds)