[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] DHCP and different LTSP distros



"Terrell Prudé Jr." wrote:
>One thing you want to remember is to point not just your CentOS DHCP
scope to your TFTP server, but you also want to make sure that your
"option root-path" is pointing to where you will do your NFS pivot-root. 
Usually, both of these are your K12LTSP server, unless you've done some
custom tweaking.
>

Of course I made modifications according to server location. But nothing
happened.

Now I just made experiments and guess what! If I installed tftp-server to
the same server as DHCP, all working OK. I transferred /tftpboot files
also from CF5.

But funniest thing - I have "nextserver" that points to ANOTHER server.
Somehow DHCP or TFTP overrides this ang search TFTP files from same
server.


This is my config:

Centos DHCP server/NFS server 192.168.1.14
FC5 LTSP server 192.168.1.11
LTS Client (Compaq SFF) with Intel 100Mbit PXEboot LAN 192.168.1.219


dhcpd.conf:

==========

default-lease-time            21600;
max-lease-time                21600;
ddns-update-style none;
allow booting;
allow bootp;
authoritative;
next-server      192.168.1.11;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.1.255;
option routers                192.168.1.1;
option domain-name-servers    213.219.84.227;
option domain-name            "test.int";
option root-path              "192.168.1.11:/opt/ltsp/i386";
option netbios-name-servers     192.168.1.14;
option netbios-node-type 8;
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;

shared-network WORKSTATIONS {
  subnet 192.168.1.0 netmask 255.255.255.0 {
     range dynamic-bootp 192.168.1.50 192.168.1.149;
     use-host-decl-names       on;
     option log-servers        192.168.1.11;
     filename="pxelinux.0";
     # trick from Peter Rundle <peter rundle au interpath net>
     # newer Macs
     if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
     }
     # really old iMacs
     elsif substring (option option-221, 0, 5) = "Apple"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
     }
     # Intel PXE
     elsif substring (option vendor-class-identifier, 0, 9) = "PXEClient"
     {
        # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
       filename      "/lts/pxe/pxelinux.0";
     }
     # default to an i386 BOOTP image
     else
     {
        filename      "/lts/vmlinuz.ltsp";
     }

     if substring (option vendor-class-identifier, 20, 3) = "ppc" {
        option root-path "192.168.1.11:/opt/ltsp/ppc";
     } else {
        option root-path "192.168.1.11:/opt/ltsp/i386";
     }
  }
}


group   {
    use-host-decl-names       on;
    option log-servers        192.168.1.14;



    host ws219 {
        hardware ethernet     00:08:c7:ff:22:5d;
        fixed-address         192.168.1.219;
        next-server      192.168.1.11;
        option root-path              "192.168.1.11:/opt/ltsp/i386";
    }

}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]