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


Channel log from 24 March 2018   (all times are UTC)

00:01vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
06:47kjackal has joined IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00)
06:55kjackal has left IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00, Ping timeout: 246 seconds)
07:52
<alkisg>
bcg: pushed; if my grep is somehow wrong and it doesn't work for you, please ping me with a patch, as I don't have a Fedora LTSP setup. Thanks! :)
07:54
Just for the logs, I verified that udhcpc on Debian/Ubuntu is supposed to do proper lease renewal, while the initramfs-tools udhcpc script sets valid_lft=forever, i.e. it's not affected at all by this 50-valid-lft script
07:55
<bcg>
rhel(ish), not fedora... it might be easiest if I create qemu qcow image for you to play with...
07:56
Yes, I bet dhclient/udhcpc will do renewal on rhel too. The problem was that NM doesn't start dhclient at all if it sees "forever"
07:58
<alkisg>
bcg: So I should replace Fedora with Redhat there?
07:58
<bcg>
almost same thing, that patch would apply to fedora too.
07:59
<alkisg>
OK... btw, we have different dirs for Fedora and Redhat, are they so different to need separate dirs?
08:00
<bcg>
Redhat is the one I've been patching. I think current Fedora dirs should be deleted and Redhat should work there too.
08:00
<alkisg>
bcg: sure, a chroot or even better just the ltsp/ldm/ltsp .rpms would help in testing there...
08:02
<bcg>
client-chroot only, not the server qcow?
08:02
<alkisg>
It should work under my ubuntu server, shouldn't it?
08:02
<bcg>
it should. chroot + tftpboot dir then.
08:02
<alkisg>
(so, just delete those? or more changes would be needed? ./server/share/ltsp/plugins/ltsp-build-client/Fedora, ./server/Fedora; ./client/Fedora )
08:33ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
08:53Statler|Home has joined IRC (Statler|Home!~Georg@p5489760D.dip0.t-ipconnect.de)
10:48kjackal has joined IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00)
11:06adrianor1 has joined IRC (adrianor1!~adrianorg@177.156.225.150)
11:09adrianorg has left IRC (adrianorg!~adrianorg@177.156.60.165, Ping timeout: 240 seconds)
11:51adrianor1 is now known as adrianorg
11:54kjackal has left IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00, Ping timeout: 256 seconds)
14:42kjackal has joined IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00)
14:53kjackal has left IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00, Ping timeout: 256 seconds)
16:40SmashK has joined IRC (SmashK!5b40100b@gateway/web/freenode/ip.91.64.16.11)
16:42
<SmashK>
hi! whats the fastest way to add a boot option to the pxe-menu for booting the client with an Image of a Windows-Install-CD?
16:44
<fiesh>
we have this winpe set up to do this
16:44
but since windows 10 and iSCSI are broken, even our test installations didn't work -- fortunately we don't use windows at all... but the garbage works
16:45
this is in our pxelinux config:
16:45
LABEL Windows 10 Install MENU LABEL Windows Install
16:45
KERNEL win_ipxe.lkrn INITRD win10_install.ipxe TEXT HELP
16:45
Use "net use Z: \\192.168.3.1\software /user:software software"
16:45
ENDTEXT
16:45
to install Windows 10.
16:45
win10_install.ipxe contains:
16:45
#!ipxe dhcp #set keep-san 1
16:45
#sanhook iscsi:192.168.3.1::::iqn.2003-01.org.linux-iscsi.wsbox.x8664:sn.07570fbab212 set boot-url http://192.168.3.1 initrd ${boot-url}/distros/windows/winpe_amd64.iso
16:45
kernel tftp://192.168.3.1/memdisk iso raw
16:45
the iscsi thing didn't work, which is why it's commented
16:45
boot
16:45
<SmashK>
no Win10, just Win2000 ! ;)
16:46
<fiesh>
and the winpe image is loaded over http because it's gigantic and takes forever with tftp
16:46
I have no idea then, but it's the same crap, just older, so it'll work similarly I guess ;)
16:47
honestly, unless you have a very good reason not to, stick to virtualbox as a container for windows...
16:47
<SmashK>
do I need an .iso of the cd or can I use an .img made with dd?
16:47
<fiesh>
solves the backup issues as well
16:48
I can only speak for windows 10, and it's much dumber than that. you nede a working windows installation to create this windows pe thing (forget what it stands for, google will help)
16:48
you can then network boot this windows pe image
16:48
and install windows from the installation cd, using a samba mount for example like is written up there
16:49
I don't know what's the case with win2k
16:52
<alkisg>
SmashK: one method I'm using it, I install windows normally in one client, and then I use ltsp to clone it with aoe and dd over the network to 10 clients
16:55
<SmashK>
uhu, how do you install into a normal client? don't get that
16:56
completly confused by a hundred different tutorials in inet, one more obsolete than the next
16:57
<alkisg>
I install windows normally. Using the installation CD or whatever. Then, I just use ltsp to clone it.
16:58
<SmashK>
where is the correct place to insert new "Label"? /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default is not a file but a link
16:58
<alkisg>
Windows 10 is flexible and can be installed in a VM and cloned into any hardware; but Windows 2000 needed the same HAL in order to boot
16:59
If you copy pxelinux.cfg/ltsp to pxelinux.cfg/default, overwriting the symlink, then ltsp will preserve it and never update it
17:01
<SmashK>
so pxelinux.cfg/ltsp is the correct one? but wich one, I've got 7 differents here, ltsp, ltsp-AOE, ltsp-NBD, ltsp-NFS, ltsp-versions-AOE, ltsp-versions-NBD and ltsp-versions-NFS
17:01
<alkisg>
No, it's not the correct one.
17:01
rm pxelinux.cfg/default
17:01
cp pxelinux.cfg/ltsp pxelinux.cfg/default
17:01
edit pxelinux.cfg/default <== that's the correct way.
17:02
Because pxelinux.cfg/ltsp will constantly get overwritten when you run ltsp-update-kernels
17:02
<SmashK>
the client boots automaticly "Auto-select: boot from network"
17:03
need to take a break for kid, back in 15mins
17:13kjackal has joined IRC (kjackal!~quassel@2a02:587:3106:a00:18ac:d8fd:c6f2:fc00)
17:20
<SmashK>
ok, back, did what you wrote and opened default, tehre are a lot of "Label"s inside, but client stills boot with the "Auto-select" like I wrote above
17:21
<alkisg>
!menu
17:21
<ltsp>
I do not know about 'menu', but I do know about these similar topics: 'manual'
17:21
<SmashK>
is ltsp-nbd the correct way to boot in the actual LTSP-world? or NFS
17:22
<alkisg>
To have ltsp create a menu for you, you'd edit /etc/ltsp/update-kernels.conf in the chroot, uncomment PXELINUX_DEFAULT=menu, run /usr/share/ltsp/update-kernels, then exit the chroot, and run ltsp-update-image to pick up the change. It's not very documented.
17:22
If you know how to create a pxelinux menu, you can just write it, it's not difficult
17:23
LTSP can't generate your windows entry anyway, so you would need to do some things manually in any case
17:23
<SmashK>
ahhhhh, let me see
17:23
<alkisg>
Which distro/version are you using? E.g. Ubuntu 16.04 defaults to NBD.
17:24
<SmashK>
pls gimme short hint how to show the distro
17:25
debian9 lxde
17:25
64
17:25
<alkisg>
OK, I think Stretch defaults to NBD as well.
17:28
<SmashK>
"then exit the chroot, and run ltsp-update-image" ? gives me "no chrrots found in /opt/ltsp".
17:28
exit the chroot? using root-terminal
17:29
<alkisg>
SmashK: what's the output of this command? sudo ltsp-info
17:29
Put it to pastebin
17:29
E.g. sudo ltsp-info | nc termbin.com 9999
17:30Smashk2 has joined IRC (Smashk2!5b40100b@gateway/web/freenode/ip.91.64.16.11)
17:30
<Smashk2>
alot: server information: No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.3 (stretch) Release: 9.3 Codename: stretch server packages: ii ldm 2:2.2.18-2 un ldm-edubuntu-theme <keine> un ldm-kubuntu-theme <keine> un ldm-lubuntu-theme <keine> ii ldm-server 2:2.2.18-2 ii ldm-themes 17.01 un ldm-ubuntu-theme <keine> un ldm-xubuntu-theme <keine> ii ltsp-client 5.5.9-2 ii ltsp-client-core 5.5.9-2 ii ltsp-do
17:30
<alkisg>
No, you can't paste directly in irc
17:30
Try this instead: sudo ltsp-info | nc termbin.com 9999
17:30
It will paste it to a website and tell us the link
17:32
<Smashk2>
http://termbin.com
17:32
http://termbin.com/a8rd
17:32
<alkisg>
OK it looks like you're using ltsp-pnp/ltsp-manager, so no chroots
17:33
<SmashK>
I trust you! ;)
20:10Smashk2 has left IRC (Smashk2!5b40100b@gateway/web/freenode/ip.91.64.16.11, Ping timeout: 260 seconds)
22:35Statler|Home has left IRC (Statler|Home!~Georg@p5489760D.dip0.t-ipconnect.de, Remote host closed the connection)
23:05ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)