|00:05||spectra has joined IRC (spectra!~spectra@debian/developer/spectra)|
|03:21||spectra has left IRC (spectra!~spectra@debian/developer/spectra, *.net *.split)|
|03:49||spectra has joined IRC (spectra!~spectra@debian/developer/spectra)|
Aison0: indeed; yet it's initramfs-tools that needs v3, not ltsp
Fedora/dracut support nfs4 booting, but not debian/initramfs-tools
|06:06||RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)|
alkisg, ok, ubuntu should support dracut
but I need to now how to setup it
I already use nfs4 with a "virtual fs" under /srv/nfs4/
but ltsp installs its nfs share under /srv/ltsp
I wounder if that's working
|09:02||adrianorg has joined IRC (firstname.lastname@example.org)|
|09:04||adrianor1 has left IRC (email@example.com, Ping timeout: 240 seconds)|
Aison0: ubuntu doesn't support dracut well, no. You can set BASE=/srv/nfs4/ltsp in ltsp.conf if you wish, it should mostly work...
Or you can just allow nfs3 as well, it's not a security issue for read only roots...
ok, nice :)
i'm not sure how to enable nfsv3 :( and I guess its a pain for the firewall rules? because there is no fixed port
Isn't it 2049? Dunno I'm not using a firewall
oh, I do not have an /etc/ltsp/ltsp.conf ^^
2049 is nfsv4
ltsp.conf: Configuration file for LTSP: https://ltsp.org/man/ltsp.conf/
Read the man page, first paragraph says how to create
reading now https://ltsp.org/man/ltsp.conf/
Fixing Ports Used by NFSv3 Server https://www.systutorials.com/fixing-ports-used-by-nfs-server/
nfsd listens on TCP and UDP port 2049. It is also the default port number and it doesn’t require special configuration.
BASE= is not mentioned on the man page ^^
It's in the ltsp man page, not in the ltsp.conf man page
Command line parameters can also go in ltsp.conf, but they're mainly documented as command line parameters
Aison0: so it's actually BASE_DIR, not BASE, I got confused from the older LTSP name there :)
with root-path can I set the default image?
eg. if my image is called foobar.img, I can set root-path=foobar.img in my dhcp server?
ok, found it myself ;)
|12:22||RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)|
do I need squashfs support in the client image?
Aison0: install the ltsp package in the client image; this will put squashfs in its initramfs
now with nfs3 initramfs starts loading, but then systemd hangs waiting for serveral service
Can you upload a screenshot?
It sounds like networking gets broken; the client isn't supposed to get a new ip after boot
for a very short time it claims something about ip address 192.168.... but I do not use these. I'm in a 10.0.0.0/16 subnet
and the client ip is 10.0.5.3, the gateway is 10.0.0.1, the nfs and tftp server 10.0.0.2
dnsmasq is configured as dhcp server in 192.168.67.x; you didn't set that ip to the ltsp server, did you?
I do not use dnsmasq ;)
Yes, I'm just saying in case you forgot to uninstall it
im using isc-dhcp-server, but there i'm not 100% sure if I configured it right for ipxe
but ipxe at least starts right and it also shows me the ltsp generated menu
(03:46:34 PM) alkisg: Can you upload a screenshot?
alkisg, yes, i'm trying to make a screenshot ;)
I created a virtualbox that boots from pxe and recorded the screen
same error as with the "real" box
brb, i'm away for 90min
"Could not parse output of: ip - o route get 192.168.67.2"
Paste the output of that, to see what's going wrong there
And yes, at the point where it stops, it most probably means that the kodi image decided to get a new IP
Maybe you've configured netplan or systemd-networkd there? LTSP configures the ...semi-static IP in /etc/network/interfaces and in network manager
You may put POST_INIT_DEBUG_SHELL="debug_shell" in ltsp.conf, and run `ltsp initrd`, to get a shell early in the boot process
|14:40||spectra has left IRC (spectra!~spectra@debian/developer/spectra, *.net *.split)|
|14:40||spectra has joined IRC (spectra!~spectra@debian/developer/spectra)|
192.168.67.2 via 10.0.0.1 dev enp0s3 src 10.0.255.210 uid 0
that's ip -o route ...
POST_INIT_DEBUG_SHELL= goes into [default] section?!?
|15:46||vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)|
|16:02||enaut[m] has left IRC (enaut[m]!enautmozil@gateway/shell/matrix.org/x-hpbvxhyhfhqmgwom)|
|16:07||spectra has left IRC (spectra!~spectra@debian/developer/spectra, Ping timeout: 244 seconds)|
|16:27||spectra has joined IRC (spectra!~spectra@debian/developer/spectra)|
|16:28||Faith has joined IRC (Faith!~paty_@unaffiliated/faith)|
|16:34||vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)|
Aison0: 192.168.67.2 gives the route to the ltsp server, strange as it sounds. It's related to the 2-nic setup of ltsp, where the internal nic is 192.168.67.1, so that we'd want to get that internal nic of the ltsp server... anyway ignore that part
post_init goes under [clients]; there's no [default] in the new ltsp
|16:55||RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)|
(06:13:14 PM) Aison0: 192.168.67.2 via 10.0.0.1 dev enp0s3 src 10.0.255.210 uid 0 ==> is that from the client post_init or from the server?
|17:06||GodFather has left IRC (GodFatherfirstname.lastname@example.org, Remote host closed the connection)|
it is from the client
since 192.168.67.2 does not exist in this network, it is routed over default gateway 10.0.0.1
|17:10||Faith has left IRC (Faith!~paty_@unaffiliated/faith, Quit: Leaving)|
Aison0: ok, it's the correct gateway, the problem isn't there; can you `cat /etc/network/interfaces` at that point?
Does it have the correct values there?
Also, you didn't answer about netplan / systemd-networkd, are you using these?
alkisg, netplan is not installed
alkisg, systemd-networkd was enabled, yes
Maybe that's what's interfering
I could take a quick look with your vbox client if you want
(via reverse vnc)
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
thx ;) maybe we can do it tomorrow? because I have to switch to my workstation, currently i'm online with me notebook with bad connection.
or another day of course
|19:08||Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399, Ping timeout: 260 seconds)|
|19:26||Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399)|
can I continue booting from debug shell?
|19:57||RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Excess Flood)|
|19:58||RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)|
|21:21||RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)|