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


Channel log from 28 August 2019   (all times are UTC)

01:50mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
01:52mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
01:54mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Remote host closed the connection)
01:54mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
02:28
<mmarconm>
alkisg: the ltsp client boots on img file ?
02:28
can i save this file like a bkp ?
03:40
<alkisg>
mmarconm: yes
04:07
<mmarconm>
alkisg: i just finished to configure and integrate samba4 + ldap with Lubuntu 18.04 ltsp server
04:07
till now works perfect
04:07
<alkisg>
Great
04:08mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Quit: Leaving)
04:30vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi, Ping timeout: 245 seconds)
04:38vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi)
06:19ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:19pavars has joined IRC (pavars!~pavars@85.9.219.78)
07:21woernie has joined IRC (woernie!~werner@p5B296964.dip0.t-ipconnect.de)
08:18
<alkisg>
Anyone using isc-dhcp, to test a new dhcpd.conf?
08:19
<uumas>
On ltsp19 or in general?
08:20
<alkisg>
It can be adapter in general
08:20
To see if it properly supports bios, uefi and ipxe clients
08:20
https://termbin.com/15pf
08:21
For syslinux, you'd just replace undionly.kpxe with pxelinux.0, and snponly.efi with syslinux.efi
08:24
Also, if something else is needed in that minimal/default template, tell me to add it...
08:24* alkisg is implementing `ltsp isc-dhcp`, to automatically configure isc-dhcp
08:28
<uumas>
alkisg: So is that a config for dual nic setup?
08:29bengoa has left IRC (bengoa!~alberto@194.50.55.200, Quit: Leaving)
08:29
<alkisg>
uumas, yes; or, to be adapted if someone has a single nic with isc-dhcp
08:34statler has joined IRC (statler!~Georg@gwrz3.lohn24.de)
08:34
<Hyperbyte>
alkisg, I use isc-dhcp
08:34
<alkisg>
Hyperbyte: nice, could you have a look at the termbin above?
08:34
<Hyperbyte>
I'm not on location currently though to test
08:34* Hyperbyte looks
08:34
<alkisg>
It's supposed to work with ipxe, bios, uefi
08:35
If something more is needed for a "generic default template", tell me to add it
08:37
<Hyperbyte>
This is a bit beyond me... haven't heard of ipxe before and I don't do much with uefi
08:37
<alkisg>
Anything you'd need in there, from your existing dhcpd.conf?
08:37
I avoided the common ones like lease time etc to keep it simple
08:38
<uumas>
alkisg: It seems isc-dhcp doesn't support proxydhcp, so there isn't really a reason to use it other than dual nic, or am I missing something?
08:38
<alkisg>
uumas, there isn't even a reason to use it in dual nic, as our default dnsmasq setup works fine there too
08:38
But people use it, so... what can I say
08:39* alkisg wonders if he should just provide a template file, not an `ltsp isc-dhcp` command
08:39
<uumas>
Well, I use it on a separate networking server and don't do any dhcp handling on the ltsp server.
08:40
<alkisg>
Right, one more reason to just provide a template file and not code
08:40
OK, doing so...
08:40
<Hyperbyte>
alkisg, I think if people can make a concious decision to use isc-dhcp-server, they can write a config file.
08:40
<alkisg>
Hyperbyte: not like that one
08:40
We need to at least give them that template
08:40
<Hyperbyte>
Maybe not
08:40
Yeah sure, I mean with help of documentation of course.
08:40
<alkisg>
OK, I'll put it to the wiki then
08:40
<Hyperbyte>
One thing I can tell you
08:41
You have some options inside the LTSP subnet and some options global
08:41
<alkisg>
Yup?
08:41* alkisg doesn't have experience with isc-dhcp...
08:41
<Hyperbyte>
I'd put them all inside the LTSP subnet. And you have one double as well ipxe.no-pxedhcp
08:41bengoa has joined IRC (bengoa!~alberto@194.50.55.200)
08:42
<Hyperbyte>
Well basically for configuration options, you can specify them globally or per subnet inside the { }
08:42
<alkisg>
Hyperbyte: one is the declaration,the other the assignment though, right?
08:42
<Hyperbyte>
No
08:42
<alkisg>
option ipxe.no-pxedhcp code 176 = unsigned integer 8;
08:42
option ipxe.no-pxedhcp 1;
08:42
I imagine that the first one is like declaring "int x"
08:42
<Hyperbyte>
Hmmm
08:42
<alkisg>
And the second: x=1
08:42
<Hyperbyte>
I haven't seen that syntax before actually
08:42bengoa has left IRC (bengoa!~alberto@194.50.55.200)
08:42
<Hyperbyte>
the 'code 176' bit
08:42
<alkisg>
It's to declare unknown options
08:43
<Hyperbyte>
Ah
08:43
Oh well that makes sense.
08:43
<alkisg>
OK, so, do I need to change something then?
08:43
I declare globally, modify locally
08:43bengoa has joined IRC (bengoa!~alberto@194.50.55.200)
08:43
<Hyperbyte>
Well you could move the domain-name-servers to the subnet block, that seems logical
08:43
But it doesn't matter much realy.
08:44
You could also move the option routers outside the subnet block, with only one subnet, it matters not.
08:44
<alkisg>
Ah they're per-subnet usually? I was thinking they'd be global
08:44
<Hyperbyte>
Well you can decide that. :-D
08:44
<alkisg>
I was thinking that usually, routers are per subnet, and dns global
08:44
<Hyperbyte>
Yeah, that makes sense probably.
08:45
<alkisg>
OK good to go then; I'm putting this to the wiki and closing the bug report
08:45
<Hyperbyte>
Oh, you could add an option ntp-servers.
08:45
<alkisg>
Otherwise the distro defaults would be used, right? Which is better?
08:46
We wouldn't want ntp.ubuntu.com in fedora, I think...
08:46
<Hyperbyte>
Isn't LTSP server automatically set up as ntp server?
08:46
I thought it was...
08:47
<alkisg>
It's like any desktop pc
08:47
Are they? I don't think so
08:47
<Hyperbyte>
No looks like they aren't
08:47* Hyperbyte sets up ntp :-D
08:47
<alkisg>
Haha
08:49
<uumas>
My isc-dhcp config for ltsp5 is way different: https://pastebin.com/HQAhZEJf
08:49
I really have no clue about the ipxe options
08:50
<alkisg>
OK you should be able to quickly replace it with the new one; except that in this case, I need to document that router != next-server
08:50
<uumas>
What do the ipxe options do exactly
08:51
<alkisg>
They're not all ipxe options; they instruct the clients which file they should get, based on their architecture
08:51
So bios clients get undionly.kpxe and uefi get snponly.efi
08:51
For syslinux, it would be pxelinux.0 and syslinux.efi
08:52
uumas, if you have any uefi-capable clients, you could test uefi booting...
08:52
<uumas>
Well, I don't have uefi clients, but I can probably test using my laptop.
08:53
<alkisg>
uumas, before you change anything, could you test this on any client or the server?
08:53
<uumas>
So, do I need to change my current config to make uefi clients work?
08:53
<alkisg>
sudo /usr/lib/klibc/bin/ipconfig -n enp3s0
08:53
This fakes a dhcp request; put the correct NIC there;
08:53
so what I want to see, is how long it takes for the server to reply,
08:54
as isc-dhcp here takes 10 seconds, while dnsmasq takes 1
08:54
Yes to make uefi clients work you'd need the new template
08:56
<uumas>
<alkisg "sudo /usr/lib/klibc/bin/ipconfig"> Took about 1 second
08:56
<alkisg>
Hrm
08:56
OK something is wrong here, maybe due to the other nic
08:56
<uumas>
Now taking like 0,2s or something, basically instant.
08:57
<alkisg>
Yes that's like dnsmasq too
09:05
!isc
09:05
<ltsp>
I do not know about 'isc', but I do know about these similar topics: 'ltsp-discuss'
09:06
<alkisg>
!learn isc-dhcp-server as Only dnsmasq supports proxyDHCP, so it's recommended; for isc-dhcp-server, read: https://github.com/ltsp/ltsp/wiki/isc-dhcp-server
09:06
<ltsp>
The operation succeeded.
09:13
<Hyperbyte>
If you want to speed up isc-dhcp-server you can disable ping-check in the config. Could be problematic on some networks though.
09:15
<alkisg>
Hyperbyte: uumas also didn't disable it, and it needs 1 sec there, 10 secs here... I wonder why
09:15
Maybe it doesn't like my direct client connection, instead of using a switch
09:30
!learn msdhcp as If you don't want to use dnsmasq in proxyDHCP mode, see this to configure msdhcp: https://ipxe.org/howto/msdhcp
09:30
<ltsp>
The operation succeeded.
09:40pavars has left IRC (pavars!~pavars@85.9.219.78, Remote host closed the connection)
09:41pavars has joined IRC (pavars!~pavars@85.9.219.78)
10:10pavars has left IRC (pavars!~pavars@85.9.219.78, Remote host closed the connection)
10:49pavars has joined IRC (pavars!~pavars@85.9.219.78)
11:03pavars has left IRC (pavars!~pavars@85.9.219.78, Ping timeout: 248 seconds)
11:38pavars has joined IRC (pavars!~pavars@85.9.219.78)
11:54Faith has joined IRC (Faith!~Paty_@2001:12d0:2080::231:49)
11:54Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:04section1 has joined IRC (section1!~section1@178.33.109.106)
12:05pavars has left IRC (pavars!~pavars@85.9.219.78, Remote host closed the connection)
12:05pavars has joined IRC (pavars!~pavars@85.9.219.78)
12:20pavars has left IRC (pavars!~pavars@85.9.219.78, Remote host closed the connection)
12:40pavars has joined IRC (pavars!~pavars@85.9.219.78)
12:44mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
13:29GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Remote host closed the connection)
13:33GodFather has joined IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com)
14:04mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
14:04mmarconm_ has joined IRC (mmarconm_!~mmarconm@191.223.112.249)
14:04mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Remote host closed the connection)
14:04mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
14:07vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
14:07* mmarconm morning
14:18
<mmarconm>
using ltsp with ldap, i can login on ltsp server, but on ltsp clients i dont
14:18
give a error and i redirected to login again
14:22
<mwalters>
mmarconm: are you using ltsp5 or 19?
14:22
<mmarconm>
5
14:22
19 i will test tonight
14:23
<mwalters>
19 still has some "to be completed" stuff for ldap, I think... they were working on it the past few days. Are you able to log in as the ldap user via ssh on the server?
14:23
<mmarconm>
samba4 + ldap running on debian 10 amd64, ltsp server running on lubuntu 18.04 amd64
14:23
<vagrantc>
mmarconm: can you ssh into the ltsp server?
14:23
<mmarconm>
vagrantc: from the ltsp server ?
14:23
<vagrantc>
from anywhere
14:23
<mwalters>
from any other box to the ltsp server
14:23
<mmarconm>
vagrantc: i am running on vmware, just for test purpose
14:24
wait a second ...
14:24
<mwalters>
are you able to log in locally as an ldap user on the server?
14:24
<vagrantc>
if you can't ssh to the server, then LDM won't work, so test that.
14:24
<mwalters>
...yes, you said you could do that
14:24
if you're using kerberos, try kinit after logging in
14:24
<mmarconm>
from the ltsp server ,yes i can login from ssh and normal login using xorg
14:24
from the ltsp server working fine
14:26pavars has left IRC (pavars!~pavars@85.9.219.78, Remote host closed the connection)
14:26
<mwalters>
first thing to test would be ssh from another machine to the server
14:26
(A liveCD booted on the same vmnet would probably be fine)
14:28pavars has joined IRC (pavars!~pavars@85.9.219.78)
14:32pavars has left IRC (pavars!~pavars@85.9.219.78, Remote host closed the connection)
15:18
<mmarconm>
Done...
15:19
fixed, now i can log in using ltsp client too, and configured a template user account configured with some applications, wallpapers, everytime that the user account its created, uses this user template
16:10
<uumas>
alkisg: Tried installing ltsp19 now. Got stuck with this when generating the initial image: https://pastebin.com/qBrW1zYz
16:27statler has left IRC (statler!~Georg@gwrz3.lohn24.de, Remote host closed the connection)
16:38
<mmarconm>
uumas: how i install ltsp19 ?
16:38
ppa, ./install ?
16:38
<uumas>
https://github.com/ltsp/ltsp/wiki/installation
16:39
<mmarconm>
uumas: wich ubuntu do u recommend ? Ubuntu Mate, Lubuntu, Xubuntu
16:40
<uumas>
I'm using mate and AFAIK that's what alkisg recommends too.
16:41
<mmarconm>
Ahhh, i like to use lubuntu, but i will try Mate now
16:41
<uumas>
Lubuntu is a bit lighter, but honestly the difference isn't huge. Mate is more (easily) customizable.
16:42
<mmarconm>
Mate on vmware is not working properly
16:43
<uumas>
Oh? That's interesting.
16:43
<mmarconm>
some issues with the video
16:44
<uumas>
That shouldn't affect the clients though
16:44
<mmarconm>
ahhhh, fixed, just disable video card rendering
17:24statler has joined IRC (statler!~Georg@p5489731F.dip0.t-ipconnect.de)
17:29alkisg_android has joined IRC (alkisg_android!~yaaic@internet1-5-144-210-205.pat.ren.cosmote.net)
17:29* alkisg_android waves
17:29
<alkisg_android>
uumas, output of cat /proc/mounts ?
17:31
<uumas>
alkisg_android: https://termbin.com/6i2j
17:32
<alkisg_android>
btw ltsp19 doesn't support thin clients so doesn't care much about the desktop environment
17:35mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Quit: Leaving)
17:37
<alkisg_android>
strange, I don't know why mount would complain. Did ltsp5 work with vda?
17:43
<uumas>
Yes, it does. I'm doing quite a minimal install so I don't know if it could be that mount requires some additional package that is usually installed.
17:44
<alkisg_android>
which kernel and ubuntu or debian version is that?
17:44
also check dmesg
17:47
<uumas>
Oh, I feel stupid. It's Ubuntu 19.10, which must be the reason for the problem (linux 5.2). I'll try using an older version.
17:48
<alkisg_android>
i tried 19.10 as a client and i had to work around two new ubuntu bugs
17:49
i haven't tried it as a server
17:49
do check dmesg
17:50
<uumas>
'overlayfs: overlapping upperdir path' in dmesg seems like it could be relevant
17:51
<alkisg_android>
this was accepted previously
17:51
and it hide the lower path
17:51
<uumas>
Hm?
17:51
<alkisg_android>
ok try with an older kernel, i'll fix this next week
17:54
<uumas>
No older kernel available in the repo, so I'll just try using bionic for now.
17:55
<alkisg_android>
ok; or install one from the mainline ppa; but bionic is more stable
17:57
<uumas>
Don't care about stability for now, but I just can't bother messing with kernel debs right now. I'll probably start using ltsp19 in production when ubuntu 20.04 is released.
17:59
<alkisg_android>
sounds good
18:10alkisg_android has left IRC (alkisg_android!~yaaic@internet1-5-144-210-205.pat.ren.cosmote.net, Read error: Connection reset by peer)
18:17pavars has joined IRC (pavars!~pavars@balticom-198-107.balticom.lv)
18:27pavars has left IRC (pavars!~pavars@balticom-198-107.balticom.lv, Remote host closed the connection)
19:23mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
19:45statler has left IRC (statler!~Georg@p5489731F.dip0.t-ipconnect.de, Remote host closed the connection)
20:01section1 has left IRC (section1!~section1@178.33.109.106, Quit: Leaving)
20:14mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Read error: Connection reset by peer)
20:15woernie has left IRC (woernie!~werner@p5B296964.dip0.t-ipconnect.de, Remote host closed the connection)
20:24ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
20:27pavars has joined IRC (pavars!~pavars@balticom-198-107.balticom.lv)
20:32pavars has left IRC (pavars!~pavars@balticom-198-107.balticom.lv, Ping timeout: 268 seconds)
20:40Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)