On Wed, May 15, 2002 at 10:32:08PM +0200, Martin Herweg wrote:
> 
> Hi all!
> 
> I'm looking for LTSP without DHCP.
> 
> I do not want a DHCP Broadcast.
> I want to store the Information 
> about the clinet & server-IP
> on the client's
> Harddisk or Floppy.
> 
> did anyone try that?

I did for floppies. It is based on xterminals script, and also use Jim's
initrd kit. It worked with the 3.0.0 initrd kit, I didn't updated it. I attach
the script.
Maybe it could be updated.

> I had a look at "linuxrc" and "dhclinet-script"
> inside the initrd of the wireless-floppy
> but I cant find the point where I can prevent it form
> doing a  DHCP Broadcast. is the kernel itself doing it ?
> how can I switch it off ?

I just replace dhclient with a script:

echo "echo ROOTPATH=$rootpath > /etc/dhcpc/dhcpcd-eth0.info" >> 
/mnt/initrd/bin/dhclient
echo "hostname $hostname" >> /mnt/initrd/bin/dhclient

which sets the hostname and also put information aboot the nfs root 
in /etc/dhcpc/dhcpcd-eth0.info

Pat

Attachment: makeboot-initrd.sh
Description: Bourne shell script

Reply via email to