AW: ltsp-update-image

Anton Kaser antonkaser at gmx.net
Sun Jan 27 18:26:00 GMT 2008


It's me again...

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

I would like to run my clients with alternate DHCP 1067/1068.
It was easy under Feisty but I don’t get it working under 7.10!

The Clients get a IP-Adress and start to boot. But when it comes to the 2nd
IP-Request they stop and don’t know about 1067/1068 anymore.

Is there another place where I can enter the -p 1067 (or 1068) option??????

Thanks

PS:
The way so far:
Gedit /opt/ltsp/i386/usr/share/initramfs-tools/scripts/ltsp-nbd
Into:

# 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

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

-ltsp-update-kernels

A similar way works under Feisty.


-----Ursprüngliche Nachricht-----
Von: edubuntu-users-bounces at lists.ubuntu.com
[mailto:edubuntu-users-bounces at lists.ubuntu.com] Im Auftrag von Oliver
Grawert
Gesendet: Dienstag, 15. Januar 2008 11:58
An: edubuntu-users at lists.ubuntu.com
Betreff: Re: AW: ltsp-update-image

hi,
On Di, 2008-01-15 at 00:30 +0100, Anton Kaser wrote:
> But the changes in ltsp-nbd seemed to be ignored.
> How can I be sure, the ltsp-nbd Script is taken für the update??
you can boot with the kerneloption break= in your pxe config file 
where the values are either "top", "premount" or "bottom" for the
different breakpoints the initramfs offers. it will give you a busybox
shell to examine the system in the initramfs ....

(another way that requires good timing is to shut down inetd right after
the tftp image was recieved and before the nbd device gets mounted ...
and just wait until the mount fails (thats similar to break=bottom) ...)

ciao
	oli




More information about the edubuntu-users mailing list