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


Channel log from 4 March 2021   (all times are UTC)

00:55vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
02:21pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 260 seconds)
03:04Hyperbyte has left IRC (Hyperbyte!~jan@middelkoop.cc, Ping timeout: 246 seconds)
03:11adrianorg has left IRC (adrianorg!~adrianorg@187.58.155.134, Ping timeout: 276 seconds)
03:15Hyperbyte has joined IRC (Hyperbyte!~jan@middelkoop.cc)
05:04jgee981350 has left IRC (jgee981350!~jgee@190.159.118.121, Ping timeout: 240 seconds)
05:12adrianorg has joined IRC (adrianorg!~adrianorg@186.213.156.205)
06:04RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
06:35ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:12woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
07:31woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 264 seconds)
07:32woernie has joined IRC (woernie!~werner@dslb-188-108-134-111.188.108.pools.vodafone-ip.de)
08:32bcg__ has joined IRC (bcg__!~b@dg4ybwyyyyyyyyyyyyyyt-3.rev.dnainternet.fi)
08:43bcg_ has left IRC (bcg_!~b@dg4ybwyyyyyyyyyyyyyyt-3.rev.dnainternet.fi, *.net *.split)
08:43bengoa has left IRC (bengoa!~alberto@194.50.55.200, *.net *.split)
08:44bengoa has joined IRC (bengoa!~alberto@194.50.55.200)
08:57woernie has left IRC (woernie!~werner@dslb-188-108-134-111.188.108.pools.vodafone-ip.de, Ping timeout: 260 seconds)
08:58woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
10:24Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)
11:16Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
12:09Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)
12:09Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
12:14sfrank has joined IRC (sfrank!4d811845@69.24.129.77.rev.sfr.net)
12:15
<sfrank>
bonjour
12:16
hello
12:16
hello
12:19robsitz has joined IRC (robsitz!4f24b839@host-79-36-184-57.retail.telecomitalia.it)
12:27
<sfrank>
I try to boot my raspberry for the first time on NFS_RW. The PXE boot is done but the image does not mount. I receive an error message:
12:27
"Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (2,0)"
12:27
I redid the image by scrupulously following the documentation but I have the same error.
12:27
I am using a raspberry pi 3B without an SD card. A power supply for telephone. The server is an Ubuntu 20.04LTS.
12:27
Can you help me ?
12:29
the server in on vitualbox VM
12:30lucascastro has joined IRC (lucascastro!~lucascast@177-185-133-170.dynamic.isotelco.net.br)
12:46antaresgades35 has joined IRC (antaresgades35!c1929682@ieocadiz.cd.ieo.es)
12:51antaresgades has joined IRC (antaresgades!c1929682@ieocadiz.cd.ieo.es)
12:56
<antaresgades>
Hello. I'm trying an installation on a 2-nic server. I have an issue connectiong to internet from the rpi clients. I can ping to the server both NIC but can't ping to 8.8.8.8
12:56
On the server, ltsp server is 192.168.2.1 (I can't use 67 for some reasons). I've tried with NAT=1 and NAT=0 in ltsp.conf but doesn't work eitger. In the server, ltsp net it manual configured but the other network is DHCP
12:56
<alkisg>
Hi guys
12:57
<antaresgades>
gateway of server is 0.0.0.0 (set up before to 192.168.2.1 but that created a route that messed all up) From within the server I can reach 8.8.8.8 with no issues and also both the client and the other NIC
12:57antaresgades35 has left IRC (antaresgades35!c1929682@ieocadiz.cd.ieo.es, Quit: Connection closed)
12:57woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 265 seconds)
12:58
<alkisg>
sfrank: are you following this page? https://ltsp.org/docs/installation/raspios/ Did you do all the steps, including the one with cmdline.txt?
12:58
antaresgades: NAT is only automated on 192.168.67.x
12:58
Otherwise, you need to run the commands for NAT manually
12:58woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de)
12:59
<alkisg>
cd /usr/share/ltsp; grep -r NAT ==> will show you the commands
13:00
I.e. it's the enable_nat() function inside 55-service.sh
13:01
So essentially you want these in ltsp.conf: NAT=1; POST_SERVICE_MANUAL_NAT="iptables -s 192.168.2.0/24 -t nat -A POSTROUTING -j MASQUERADE"
13:02
Both under [server]
13:04
<antaresgades>
you're too fast for me, hahahahh, currently reaching 55-service file... but I see the logic here. Better modify ltsp.conf than the source code.
13:06
By the way, and just for learn: why using precisely .67. addresses? And... commands like ltsp-update-image or better, ltps-chroot are not in current LTSP. What's the reason? (I guess there is one good one)
13:08
That works perfectly, by the way
13:13
<sfrank>
alkisg yes I have followed this page scrupulously
13:13
I am at the NFS_RW stage
13:14
<robsitz>
Hi guys, I would like to know how to configure image for diskless PC onto LTSP server so they can boot directly from LAN receiving my Windows RDP server logon screen. I have read documentation on ltsp.org but is too few detailed.
13:40
<mwalters>
robsitz: I'm not going to be helpful with specifics, but you'll want to look at autologin for LTSP & launching a freerdp session when the autologin user is logged in
13:41
I suspect even autologin isn't very ltsp specific anymore
13:42sfrank has left IRC (sfrank!4d811845@69.24.129.77.rev.sfr.net, Quit: Connection closed)
13:43
<robsitz>
mwalters no autologin is required. I would like the diskless PCs boot and displays Windows RDP server logon screen, then user will enter username and password to login.
13:43
<mwalters>
In order to launch freerdp, the workstation needs to be logged in
13:44
E.g., the client needs to fully boot linux, log into a desktop environment, and launch the remote desktop session
13:45
If you have some sort of other thin client software, I suspect you could serve that via ltsp... but I'm not sure the specifics behind that
13:47woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Ping timeout: 276 seconds)
13:47woernie_ has joined IRC (woernie_!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
13:51sfrank has joined IRC (sfrank!4d811845@69.24.129.77.rev.sfr.net)
13:51
<sfrank>
sorry i was disconnected
13:51
i have lost anything ?
13:52
<robsitz>
Some years ago I visited a company that had diskless PC that did boot from LAN, the company had Windows DC/DHCP server, an old LTSP server based on Ubuntu, a Windows Server RDP. When diskless PCs did boot the user was prompetd directly into Windows Server RDP. The System administrator of that company explained me that Windows DHCP server served
13:52
diskless PCs with extra DHCP options such as disk image located on the LTSP server, I think that LTSP server got an image created specifically. I have look for an howto, book etc. but I can't find anything.
13:54
<mwalters>
I don't know how that company did it, but without any further information, I would: set up LTSP, configure one or more diskless PCs to autologin. Set up the autologin user to launch the remote desktop session immediately on login.
13:55
!autologin
13:55
<ltspbot>
Error: "autologin" is not a valid command.
13:55
<mwalters>
:(
13:56
I'm still running old ltsp, I'm not sure how that works in the new one
13:56
in anycase, the windows login would still be handled by the remote desktop session... configure windows/freerdp/remmina/etc to use the windows login screen or prompt the user some other way for credentials
14:00
<robsitz>
mwalters thank you. Might the packed image in LTSP server of that company had a sort of autologin trasparent to the user so they only get Windows server RDP logon screen.
14:01
However I would like to read more, even a book, for the new LTSP but there isn't nothing.
14:04antaresgades has left IRC (antaresgades!c1929682@ieocadiz.cd.ieo.es, Quit: Connection closed)
14:05
<sfrank>
alkisg my cmdline.txt is
14:07bengoa has left IRC (bengoa!~alberto@194.50.55.200, Ping timeout: 260 seconds)
14:07
<sfrank>
"ip=dhcp root=/dev/nfs rw nfsroot=192.168.8.1:/srv/ltsp/raspios,vers=3,tcp,nolock console=serial0,115200 console=tty1 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles modprobe.blacklist=bcm2835_v4l2"
14:08
192.168.8.1 is my dns
14:10
cmdline.txt is in /srv/ltsp/raspios/boot
14:22
D:
14:23AppleMuncy has joined IRC (AppleMuncy!4436794d@c-68-54-121-77.hsd1.in.comcast.net)
14:33
<alkisg>
robsitz: are you able to create a linux image e.g. inside virtualbox that shows the rdp screen directly? If yes, then you can publish it to LAN via `ltsp image vm-name`
14:34sfrank has left IRC (sfrank!4d811845@69.24.129.77.rev.sfr.net, Quit: Connection closed)
14:34
<alkisg>
robsitz: the older LTSP had "screen scripts", e.g. SCREEN_08="xfreerdp params"; the new LTSP doesn't need nor automate that
14:40sfrank has joined IRC (sfrank!4d811845@69.24.129.77.rev.sfr.net)
14:41
<alkisg>
sfrank: don't put your dns there, put your ltsp server ip
14:42
<sfrank>
ok i try
14:48
<alkisg>
robsitz: so a rough guideline is: install ubuntu-server; apt install xorg xfreerd over it; create a user and have it autologin using any dm (or lightdm that ltsp configures automatically); and use your own session that runs xfreerdp in a loop.
14:48
robsitz: you can also skip autologin and manually run xorg + your session as root, but it's not easier AND it's a security issue to run things as root when you don't need them to
14:49
(of course ubuntu-server is just an example, you can also use debian or whatever else)
14:51
<robsitz>
Thanks alkisg
14:51
<alkisg>
np
14:52
You can also use a full desktop image like ubuntu mate, and you only lose some disk space; you don't lose any RAM etc
14:53
<sfrank>
alkisg thank you
14:55douglas_br has joined IRC (douglas_br!bd4cbe5a@189.76.190.90)
15:14sfrank has left IRC (sfrank!4d811845@69.24.129.77.rev.sfr.net, Quit: Connection closed)
16:01woernie_ has left IRC (woernie_!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 260 seconds)
16:02woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
16:07
<douglas_br>
hello!
16:09
I have other ltsp machine that the client shows this: https://imgur.com/KNDWBez
16:11
I follow the official doc. The ltsp has one lan card
16:11
and other client loads until 79% and stop
16:12
<alkisg>
douglas_br: does any client load fully?
16:12
<douglas_br>
no, not
16:13
<alkisg>
douglas_br: can you try this command on the server? sudo wget boot.ipxe.org/ipxe.pxe -O /srv/tftp/ltsp/undionly.kpxe
16:13
Then reboot the clients
16:14
<douglas_br>
right, I will to try thanks
16:14robsitz has left IRC (robsitz!4f24b839@host-79-36-184-57.retail.telecomitalia.it, Quit: Connection closed)
16:26
<douglas_br>
alkisg not possible resolve address machine "boot.ipxe.org"
16:43
<alkisg>
douglas_br: you don't have internet on your server?
16:44
<douglas_br>
Internet is ok
16:44
ohhh not
16:44
wait
17:13
after your command, does not work: https://imgur.com/hlHAdM7
17:14
<alkisg>
douglas_br: I can't see the client screen in that screenshot
17:14
<douglas_br>
wait
17:17
client https://imgur.com/WD4kOYp
17:32
<alkisg>
douglas_br: what's the output of this command now? md5sum /srv/tftp/ltsp/undionly.kpxe
17:33
Also, did you change anything else? Because your client doesn't even get a dhcp offer now
17:34
As the next step, can you try to boot that client with ipxe.iso or ipxe.dsk or ipxe.usb, i.e. from a local ipxe?
17:36adrianor1 has joined IRC (adrianor1!~adrianorg@187.113.247.134)
17:37douglas_2_br has joined IRC (douglas_2_br!bd4cbe5a@189.76.190.90)
17:37
<douglas_2_br>
md5sum /srv/tftp/ltsp/undionly.kpxe
17:37
b03de15c553aa1f9be5df0e6a5a75c0b  /srv/tftp/ltsp/undionly.kpxe
17:37GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 256 seconds)
17:38
<douglas_2_br>
now I am on server
17:39adrianorg has left IRC (adrianorg!~adrianorg@186.213.156.205, Ping timeout: 256 seconds)
17:42
<douglas_2_br>
alkisg first I did the command that you tell me. so client does not work, so, I restart server try again, and the last follow the official docs again
17:45
<douglas_br>
How can I do this? As the next step, can you try to boot that client with ipxe.iso or ipxe.dsk or ipxe.usb, i.e. from a local ipxe?.
17:47
<alkisg>
To put ipxe in a cd or a usb stick etc
17:52
<douglas_2_br>
from undionly.kpxe ?
17:53
yes I can try boot from pendrive or cd but, about what iso?
17:55
<alkisg>
Go to boot.ipxe.org
17:55
There are many ipxe files there
17:56
Choose the one you want. E.g. ipxe.usb
17:56
Write it in a usb stick, and boot with that one
17:56
<douglas_2_br>
right
17:57
thanks
18:31douglas_2_br has left IRC (douglas_2_br!bd4cbe5a@189.76.190.90, Quit: Connection closed)
18:42douglas_2_br has joined IRC (douglas_2_br!bd4cbe5a@189.76.190.90)
18:43
<douglas_2_br>
@alkis here the usb boot ipxe: https://imgur.com/egoQzy1
18:44
and here screen 2: https://imgur.com/a/1wXCWg8
18:46
<alkisg>
douglas_2_br: try to boot a VM or some other pc with a different network card
18:46
To make sure first that your setup is fine; and then you can troubleshoot the ipxe part
18:48
<douglas_2_br>
@alkis we have some clients pcs to use, I did try with 3 differents clients but I can get other to test it
18:53
the server is a new, not in production. I think that can do new machine again
18:53
the distro is xubuntu 20.04 lts
19:05AppleMuncy has left IRC (AppleMuncy!4436794d@c-68-54-121-77.hsd1.in.comcast.net, Quit: Connection closed)
19:06
<alkisg>
douglas_2_br: can I have a quick look at the server?
19:06
!vnc-edide
19:06
<ltspbot>
vnc-edide: To share your screen with me, open Epoptes → Help menu → Remote support → Host: srv1-dide.ioa.sch.gr, and click the Connect button
19:09
<alkisg>
In all the screenshots, you have rtl8136, the same nic
19:15
douglas_2_br: the problem is that you have a weird network setup
19:15
You are trying to do a two-nic setup with one nic
19:15
Why do you have 2 IPs there? 10.x and 192.168.67.1?
19:16
If you have an external dhcp server, use it
19:16
If not, make the ltsp server a dhcp server in 10.x
19:16
Don't use dual IP
19:16
<douglas_2_br>
1 connection came from pfsense
19:16
10.1
19:16
<alkisg>
pfsense has dhcp enabled?
19:16
<douglas_2_br>
not
19:16
<alkisg>
Then who gives IPs ?
19:16
<douglas_2_br>
no dhcp
19:16
<alkisg>
OK
19:16
Then you need to set ltsp to give IPs
19:16
In10.x
19:16
In the 10.x subnet
19:16
Anyway, does it work now?
19:17
Did the client boot?
19:17
<douglas_2_br>
yesss
19:17
<alkisg>
OK
19:17
If you want to use 2 IPs, do NOT use proxydhcp
19:17
So, `ltsp dnsmasq --proxy=0`
19:17
If you want to use one IP, change dnsmasq to send IPs in 10.x
19:17
<douglas_2_br>
thanks and sorry
19:17
<alkisg>
No worries, cheers, closing vnc
19:19
<douglas_2_br>
If you want to use one IP, change dnsmasq to send IPs in 10.x ----- but on school I do not change
19:20
"ltsp dnsmasq --proxy=0` ohhh right
19:26woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Remote host closed the connection)
19:28antares2021 has joined IRC (antares2021!bc4ed3f5@245.211.78.188.dynamic.jazztel.es)
19:35antares2021 has left IRC (antares2021!bc4ed3f5@245.211.78.188.dynamic.jazztel.es)
19:55douglas_2_br has left IRC (douglas_2_br!bd4cbe5a@189.76.190.90, Quit: Connection closed)
20:09douglas_br has left IRC (douglas_br!bd4cbe5a@189.76.190.90, Quit: Connection closed)
21:01antares2021 has joined IRC (antares2021!bc4ed3f5@245.211.78.188.dynamic.jazztel.es)
21:17antares2021 has left IRC (antares2021!bc4ed3f5@245.211.78.188.dynamic.jazztel.es, Quit: Connection closed)
21:24RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)
22:30pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
22:30ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
23:30bengoa has joined IRC (bengoa!~alberto@194.50.55.200)
23:38bengoa has left IRC (bengoa!~alberto@194.50.55.200, Ping timeout: 256 seconds)
23:42yanu has left IRC (yanu!~yanu@178-118-212-83.access.telenet.be, Ping timeout: 265 seconds)
23:49yanu has joined IRC (yanu!~yanu@178-118-212-83.access.telenet.be)