FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

LinkBack Thread Tools
Old 02-07-2008, 06:33 PM
"Anton Kaser"
Default AW: ltsp-update-image -> 2nd dhcp

Hi Steve,


thanks for the info, but
I have no idea what you are talking about J


I don’t think that
Gutsy has anything complicated like this included. Everything else got easier.
So I think there must be another solution.


But waiting for 2 Month
for a solution is quite frustrating…




aearenda@gmail.com [mailto:aearenda@gmail.com] Im Auftrag von Steve Jackson

Gesendet: Montag, 4. Februar 2008

An: Anton Kaser

Cc: Oliver Grawert;

Betreff: Re: ltsp-update-image
-> 2nd dhcp


I might be completely
wrong, but it seems to me that the second DHCP call will take place
automatically as ifup is called as a result of the udev rules in
/opt/ltsp/i386/etc/udev/rules.d/85-ifupdown.rules. You may be able to modify
the rule concerned to call a script that does the same job as ifup, by manually
calling ifconfig and the dhclient with the port number set. This is pure
speculation on my part, I haven't tried this!


On 04/02/2008, Anton
Kaser <antonkaser@gmx.net>


on Wednesday, den 30.01.2008, 11:59 +0100 wrote Oliver Grawert:

> hi,

> On Mi, 2008-01-30 at 11:12 +0100, Anton Kaser wrote:

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

> did you update teh kernel package in the chroot at some point ? could


> be that update-initramfs updates teh wrong version ?

> you can try to force the version with -k for that command, chek teh

> version matches whats linked to as vmlinuz in the tftp dir ...


I checked that. 2.6.22-14 is in tftp and is created.

vmlinuz is this version but the date is from October.

initrd.img is todays date

> also are you sure it fails at the first dhcp call and not at the


> (which happens after / was mounted and isnt related to initramfs but

> dhclient)

You are absolutely right with the 2nd dhcp - thats where i am stuck for


Where can I change the dhclient behaviour?

Under Feisty it was the -p 1068 Option in the nfs-script. Then I had to

run mkelf-linux and created

nbi.img-2.6.22-14-386, vmlinuz-2.6.22-14-386 and

initrd.img-2.6.22-14-386 ( with Feisty kernel numbers)

Now it seems only initrd.img-2.6.22-14-386 is changed:

root@edubuntu:/var/lib/tftpboot/ltsp/i386# ls -l

-rw-r--r-- 1 root root¬*¬* 75391 2007-10-15 03:35 config-2.6.22-14-386

lrwxrwxrwx 1 root root¬*¬*¬*¬*¬*¬*24 2008-01-30 16:06
initrd.img ->


-rw-r--r-- 1 root root 4420981 2008-01-30 16:05 initrd.img-2.6.22-14-386

lrwxrwxrwx 1 root root¬*¬*¬*¬*¬*¬*21 2008-01-30 16:06
nbi.img ->


-r--r--r-- 1 root root 6114946 2007-12-12 22:06 nbi.img-2.6.22-14-386

-rw-r--r-- 1 root root¬*¬* 13552 2007-12-21 14:05 pxelinux.0

drwxr-xr-x 2 root root¬*¬*¬*¬*4096 2007-12-12 22:06

lrwxrwxrwx 1 root root¬*¬*¬*¬*¬*¬*21 2008-01-30 16:06
vmlinuz ->


-rw-r--r-- 1 root root 1696312 2007-10-15 03:35 vmlinuz-2.6.22-14-386

Booting up to the second dhcp-request works fine.

How does the client get a ip at the 2nd step????????

thanks toni


a part of the dhcp.conf. - maybe this gives any clou:

option option-128 code 128 = string;

option option-129 code 129 = text;

subnet netmask {


¬*¬*option domain-name "kaser.local";

¬*¬*option domain-name-servers;

¬*¬*option broadcast-address;

¬*¬*option routers;

¬*¬*option subnet-mask;

¬*¬*option option-128 e4:45:74:68:00:00;

¬*¬*option option-129 "DPORT=1067";


¬*¬*if substring( option vendor-class-identifier, 0, 9 ) =
"PXEClient" {

¬*¬*¬*¬*filename "/ltsp/i386/pxelinux.0";



¬*¬*¬*¬*filename "/ltsp/i386/nbi.img";


¬*¬*option root-path "";


edubuntu-users mailing list


Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


edubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Thread Tools

All times are GMT. The time now is 05:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org