[K12OSN] Network booting iMac clients

Chuck Liebow cliebow at ellsworthschools.org
Tue Nov 6 20:04:23 UTC 2007


a g4 ibook should boot just fine...you can rip this apart and use it if
you like...

this is the magic piece that got em going in the first place..
	option vendor-class-identifier "AAPLBSDPC";
option vendor-encapsulated-options 01:01:02:08:04:01:00:00:01:82:
         05:                                    # length
         69:6d:61:63:34;                           # hostname
##########################################3

authoritative;
option option-211 code 211=string;
option option-211 74:66:74:70;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.20 192.168.0.250;
  option domain-name "example.com";
  option domain-name-servers 192.168.0.1;
  option broadcast-address 192.168.0.255;
  option routers 192.168.0.254;
  option subnet-mask 255.255.255.0;
  if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
    filename "/ltsp/i386/pxelinux.0";
  }
elsif substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC" {
        filename "/yaboot";
	option vendor-class-identifier "AAPLBSDPC";
option vendor-encapsulated-options 01:01:02:08:04:01:00:00:01:82:
         05:                                    # length
         69:6d:61:63:34;                           # hostname
	 option root-path "/opt/ltsp/powerpc";
    }


  else{
 #filename "/ltsp/i386/nbi.img";
	filename "/ltsp/i386/i386.4.1/vmlinux-2.4.19-LTSP-IBMNC";
  }
if substring (option vendor-class-identifier, 0, 3) = "d-i" {
   option root-path "/opt/ltsp/powerpc";
}
else {
#  option root-path "/opt/ltsp/i386.4.1";
option root-path "/var/lib/tftpboot/ltsp/i386/i386.4.1";
 }

# option root-path "/opt/ltsp/powerpc";
host netvista1{
hardware ethernet 00:60:94:2a:89:fe;
fixed-address 192.168.0.19;
filename "/ltsp/i386/i386.4.1/vmlinux-2.4.19-LTSP-IBMNC";
option root-path "/var/lib/tftpboot/ltsp/i386/i386.4.1";

}

}




More information about the K12OSN mailing list