Thank you Oron,
 I roughly knew the idea but I deeded the details.
 My problems is with the DHCPD part - I am not the sys admin and
it is not a good idea to create my own, just because I can. Maybe
creating 'weakend' version that reply late and only for a single
computer at a time (I can have couple of reserved IP's for this).


>> -----Original Message-----
>> From: Oron Peled [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, March 01, 2004 11:28 PM
>> To: Iftach Hyams; linux ILUG
>> Subject: Re: Making ISO available for browsing
>> 
>> 
>> On Monday 01 March 2004 15:26, Iftach Hyams wrote:
>> > Question 2 :
>> > ---------------
>> > How can I configure a (bootp ?) server so people can install over 
>> > network without boot diskette/CD ?
>> 
>> Client side:
>>      1. PXE (if your card support it -- all Intels, 3com, ...).
>>      2. Etherboot -- otherwise.
>> 
>> Server side:
>>      1. dhcpd + tftp for the boot stage.
>>      2. Normal network install (ftp, nfs) afterwards.
>> 
>> Following is a sanitized example from my /etc/dhcpd.conf (I 
>> hope I didn't change it too much -- let me know if you have 
>> problems). A very helpfull tool during debugging is of 
>> course etherboot(1) -- it helped me many times to diagnose 
>> wrong paths on the server etc.
>> 
>> # A short /etc/dhcpd.conf example
>> 
>> # This is for ISC dhcpd >= 3.0
>> option space pxelinux;
>> option pxelinux.magic                code 208 = string;
>> option pxelinux.configfile   code 209 = text;
>> option pxelinux.pathprefix   code 210 = text;
>> option pxelinux.reboottime   code 211 = unsigned integer 32;
>> 
>> # Some defaults for our network
>> subnet 192.168.1.0 netmask 255.255.255.0 {
>>      option routers                  192.168.1.1;
>>      option subnet-mask              255.255.255.0;
>>      use-host-decl-names             on;
>> 
>>      option nis-domain               "somenisdomain";
>>      option domain-name              "somednsdomain";
>>      option domain-name-servers      192.168.1.2;
>> 
>>      option tftp-server-name         "foobar";
>>      option time-offset              2;      # Israel
>>      option ntp-servers              192.168.1.2;
>>      option lpr-servers              192.168.1.2;
>> #    option log-servers              192.168.1.2;
>>      option netbios-name-servers     192.168.1.2;
>> 
>>      # Give leaches some (small) space to live :-)
>>      range dynamic-bootp 192.168.1.100 192.168.1.110;
>>      default-lease-time 21600;
>>      max-lease-time 43200;
>> 
>> }
>> 
>> ######################################### PXE
>> group "PXE" {
>>      next-server mytftpserver;
>>      if substring(option vendor-class-identifier, 0, 9) = 
>> "PXEClient" {
>>              site-option-space "pxelinux";
>>              option pxelinux.magic f1:00:74:7e;
>>              if exists dhcp-parameter-request-list {
>>                      # Always send the PXELINUX options
>>                      append dhcp-parameter-request-list 208, 
>> 209, 210, 211;
>>              }
>>      }
>>      allow duplicates;
>>      option pxelinux.reboottime = 30;
>>      option pxelinux.pathprefix = "pxelinux/";
>>      option pxelinux.configfile = concat("pxelinux/pxelinux.cfg/",
>>              binary-to-ascii(16, 8, ":", hardware));
>> 
>>      # The boot loader
>>      filename "pxelinux/pxelinux.0";
>> 
>>      group "RedHat-Installs" {
>>              allow booting;
>> 
>>              # Can override some defaults
>>              option pxelinux.reboottime = 30;
>>              option pxelinux.pathprefix = "RedHat_Install/";
>>              option pxelinux.configfile = "pxelinux/config";
>>              filename "RedHat_Install/pxelinux/pxelinux.0";
>> 
>>              # The installed victims...
>>              host host1 { hardware ethernet 
>> 12:34:56:78:9A:BC; fixed-address host1; }
>>              host host2 { hardware ethernet 
>> CB:A9:87:65:43:21; fixed-address host2; }
>>      }
>> 
>>      # Other groups
>>      group "someother" {
>>              # ...
>>      }
>> }
>> 

This e-mail message has been sent by Elbit Systems Ltd.
and is for the use of the intended recipients only.
The message may contain privileged or confidential information .
If you are not the intended recipient you are hereby notified that any use,
distribution or copying of this communication is strictly prohibited,
and you are requested to delete the e-mail and any attachments
and notify the sender immediately.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to