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


Channel log from 5 December 2022   (all times are UTC)

04:32oh207 has left IRC (oh207!~oh207@pool-72-69-11-48.nycmny.fios.verizon.net, Ping timeout: 246 seconds)
05:35alkisg_irc is back
06:37ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:54woernie has joined IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de)
06:56woernie has left IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de, Remote host closed the connection)
06:57woernie has joined IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de)
06:59woernie has left IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de, Client Quit)
07:01woernie has joined IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de)
07:29alkisg_irc is now away: I am currently away from the computer.
07:30alkisg_irc is back
07:34joris is back
07:51vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)
08:29woernie has left IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de, Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
08:55woernie has joined IRC (woernie!~werner@p5b2962ea.dip0.t-ipconnect.de)
09:04alkisg_irc is now away: I am currently away from the computer.
09:06alkisg_irc is back
09:26ogra is back
09:55
<joris>
alkisg, last week I was trying to boot a local x86_64.img from grub. That boots now, but I can't login. Probably a networking issue. I guess the image doesn't know where the server is. How would I configure that?
09:58
<alkisg>
joris: SERVER=ip in ltsp.conf, under [clients]
09:58
<joris>
alkisg, that is on the server?
09:58
ok cool
09:58
<alkisg>
Yes, then you run ltsp initrd, then you copy the generated ltsp.img to the client
09:58
!root
09:58
<ltspbot>
I do not know about 'root', but I do know about these similar topics: 'ROOT_PASSWORD_HASH', 'chroot'
09:58
<alkisg>
!ROOT_PASSWORD_HASH
09:58
<ltspbot>
ROOT_PASSWORD_HASH: To be able to login as root in vt1, read the last example in https://ltsp.org/man/ltsp.conf/
09:58
<alkisg>
Also put that ^ in ltsp.conf so that you're able to login as root to troubleshoot things
09:59
<joris>
ok nice going to look into it now
11:23alkisg_irc is now away: I am currently away from the computer.
12:58alkisg_irc is back
13:18alkisg_irc is now away: I am currently away from the computer.
13:18alkisg_irc is back
13:23alkisg_irc is now away: I am currently away from the computer.
13:27alkisg_irc is back
13:40alkisg_irc is now away: I am currently away from the computer.
13:57alkisg_irc is back
14:03alkisg_irc is now away: I am currently away from the computer.
14:32
<joris>
alkisg hmm still something wrong with the network. I can log in now with root, but I don't get what is going wrong. It seems no network interface is created
14:40
journalctl shows it goes wrong when ltsp starts with "ip -o route get 192.168.67.1"
14:59
or probably I misunderstand what is going on
15:18alkisg_irc is back
15:19
<alkisg>
joris: ip a => shows no eth0, or shows no ip?
15:22
<joris>
it shows enp2s0 but no ip
15:22
wifi seems to be working though...
15:24
<alkisg>
joris: what are you using to generate x86_64.img, is it chrootless, vm, chroot?
15:24
<joris>
chrootless
15:24
<alkisg>
And in your server, you're using networkmanager, ifupdown, netplan, systemd-networkd?
15:24
<joris>
server is ubuntu mate same as client
15:25
<alkisg>
And what's the output of: sudo nmcli
15:25
<joris>
on client or server?
15:25
<alkisg>
Does it show an available connection, or e.g. unmanaged?
15:25
Client
15:25
Ah, try to put this in your grub.cfg: ip=dhcp
15:25
Then reboot
15:25
That's on the client again
15:26
<joris>
it shows unmanaged
15:26
<alkisg>
You know where to put it? In the append line of grub.cfg...
15:26
<joris>
i'll try thanks!
15:52alkisg_irc is now away: I am currently away from the computer.
15:53
<joris>
https://paste.debian.net/1262957/
15:53
This is what my 40_custom grub looks like
15:54
seems that adding ip=dhcp didn't make a difference
16:02
full log https://paste.debian.net/hidden/fdedfa67
16:28alkisg_irc is back
16:29
<alkisg>
joris: do you have epoptes-client installed on the ltsp client?
16:38
<joris>
no doesn't seem so
16:38
should I do that?
16:46
<alkisg>
Login as root on vt3 of the client, then run ip a to see the interface name, e.g. enp2s0; then run: sudo ipconfig /usr/lib/klibc/bin/ipconfig enp2s0
16:46
Then run: ping -c2 8.8.8.8
16:46
Do you have internet access that way?
16:49oh207 has joined IRC (oh207!~oh207@pool-72-69-11-48.nycmny.fios.verizon.net)
16:58
<joris>
ipconfig ? should that not be ifconfig? and I don't have net-tools installed
16:58
on the client
17:03
<alkisg>
joris: it's ipconfig, part of klibc, just type that command
17:07
<joris>
Ok sorry, not trying to be smart. but yes that works!
17:08oh207 has left IRC (oh207!~oh207@pool-72-69-11-48.nycmny.fios.verizon.net, Ping timeout: 260 seconds)
17:09
<alkisg>
Now on vt4, try to login as a user
17:11
<joris>
yes I am in!
17:11
<alkisg>
OK, now cat /proc/cmdline, do you actually see ip=dhcp there?
17:12
<joris>
yes is there
17:12
<alkisg>
Actually wait, we don't even care about wired networking, you want to get wifi working, right?
17:12
<joris>
yeah true
17:13
<alkisg>
OK, login graphically, then create a wifi connection, password etc, and make it available to all users. Make sure the "DEVICE" entry is empty, so that it can be used by any computer/mac address.
17:13
Then copy the /etc/NetworkManager/system-connections/wifi.nmconnection file to the server (or do all this directly on the server)
17:13
Then once that file reaches the chroot, it should give you networking before login, so logins should work
17:14
<joris>
ah ok yeah, maybe should try that first
17:15
although maybe it wouldn't hurt to have wired networking as well, but those clients can still netboot and that works all ready...
17:15
so that's true
17:18
<alkisg>
joris: see https://ltsp.org/man/ltsp.conf/#OMIT_FUNCTIONS and put OMIT_FUNCTIONS="config_network_manager" in ltsp.conf, then ltsp initrd, then again put the ltsp.img to the client
17:18
That will make network-manager NOT ignore the wired ethernet
17:18
But note that if users log in with wired, then switch to wireless, sshfs will break and they'll lose files
17:18
So I'm not sure if you really want to do that
17:18
<joris>
ok yeah
17:19
I have no idea where those clients are going to stand. If a cable is an option i might prefer that, because that is probably still better...
17:20
<alkisg>
It's waaaaay better, sure
17:20
Even if half of them are wired, it'll speed up the rest a whole lot
17:20
<joris>
Thanks for all your help btw... although I might get paid a little bit for this, it is not my work...
17:21
<alkisg>
No problem, I appreciate that you do 9 steps and you ask the 10th step of me; some others just ask for help and do no steps/reading at all..
17:22
It would be nice if you could spend the time to document it though, for the next person that will need it
17:22
<joris>
yeah true, I'll look into that
17:22
first get everything working though...
17:36vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)
17:59oh207 has joined IRC (oh207!~oh207@pool-72-69-11-48.nycmny.fios.verizon.net)
18:22alkisg_irc is now away: I am currently away from the computer.
18:22alkisg_irc is back
18:27alkisg_irc is now away: I am currently away from the computer.
19:02joris is now away: Auto away at Mon Dec 5 20:02:59 2022
21:11alkisg_irc is back
21:46ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:46vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)
22:10alkisg_irc is now away: I am currently away from the computer.