AW: ltsp-update-image

Anton Kaser antonkaser at gmx.net
Wed Jan 30 10:12:57 GMT 2008


Hi again,

I made all the stepps I got so far:

-Changed /opt/ltsp/i386/usr/share/initramfs-tools/scripts/ltsp-nbd

-sudo chroot /opt/ltsp/i386 update-initramfs -u

-sudo ltsp-update-kernels

No success. Then even:  ltsp-update-image

And checked the datestamp changed with  ls -l  in /opt/ltsp/images/

So I put my Questions in an other direction:

I can run the DHCP server on alternate Port 1067.
The Clients get a boot floppy from rom-o-matic with alternate DHCP and start
to boot on Port 1067. all perfect.

But when eth0 asks for an IP adress for the 2nd time, nothing happens.
WHERE do I put in the option for this???
Under feisty it I had to put the "-p 1068" into the nfs script.
So I try the same in the ltsp-nbd script:
# For DHCP
	modprobe -q af_packet

	case ${IPOPTS} in
		none|off)
			# Do nothing
			;;
		""|on|any)
			# Bring up device
			ipconfig -p 1068 ${DEVICE}
			;;
		dhcp|bootp|rarp|both)
			ipconfig -p 1068 -c ${IPOPTS} -d ${DEVICE}
			;;
		*)
			ipconfig -p 1068 -d $IPOPTS

			# grab device entry from ip option
			NEW_DEVICE=${IPOPTS#*:*:*:*:*:*}

Could anybody do this successfully an tell me how it works??

chears


-----Ursprüngliche Nachricht-----
Von: edubuntu-users-bounces at lists.ubuntu.com
[mailto:edubuntu-users-bounces at lists.ubuntu.com] Im Auftrag von Gavin
McCullagh
Gesendet: Sonntag, 27. Januar 2008 20:25
An: edubuntu-users at lists.ubuntu.com
Betreff: Re: ltsp-update-image

Hi,

On Sun, 27 Jan 2008, Anton Kaser wrote:

> I don't get it working. Ltsp-nbd is still absolutely ignored.

Have you tried setting the password on the chroot, rebuilding the image,
rebooting a thin client and logging in?

If you can do that, then you know the image is updating and the problem is
elsewhere.  

If not, does the size and/or datestamp on the image change when you run
ltsp-update-image?

gavinmc at balti:~$ ls -l /opt/ltsp/images/
total 143208
-rwxr--r-- 1 root root 146497536 2007-12-04 19:11 i386.img

Gavin




More information about the edubuntu-users mailing list