[K12OSN] Network booting iMac clients

Craig White craig at tobyhouse.com
Tue Nov 6 23:18:14 UTC 2007


On Tue, 2007-11-06 at 14:34 -0800, Bill Moseley wrote:
> On Tue, Nov 06, 2007 at 01:24:04PM -0700, Craig White wrote:
> 
> What version of dhcpd are you running?
----
I doubt it matters...
# rpm -q dhcp
dhcp-3.0.5-5.el5
----
> 
> 
> > mac kernel (as far as I can tell) must be in root directory of tftp
> > server. I have never gotten it to work anywhere else.
> 
> I'm not even at the point of the Mac client asking for the file yet,
> so it probably doesn't matter where it is.  But, just in case the path
> name is confusing the Mac I tried just "yaboot".  No luck.
----
I think that is what I have set 'filename' option to be...only yaboot
but that file and TFTP never worked for the Macs unless yaboot and
associated files were located in tftp root - nowhere else (I could be
wrong on this but that is what I found)
----
> > also my global section of dhcpd.conf includes...
> > 
> > option option-128 code 128 = string;
> > option option-129 code 129 = text;
> > option dhcp-parameter-request-list 1,3,6,15,17,43,44,46,60;
> 
> I had tried these before from your previous posting (and I just tried
> again).  Doesn't seem to make any difference.
----
never could get an iMac-G3 to work without them
----
> > group mac-clients {
> >         ddns-updates on;
> >         next-server 192.168.3.11;
> >         option root-path "192.168.3.11:/opt/ltsp/ppc";
> >         filename "yaboot";
> >         # install client
> >         host mac-linux-1 {
> >                 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 option-128  e4:45:74:68:00:00;
> >                 option option-129  "NIC=ne IO=0x300";
> > 
> >                 hardware ethernet 00:03:93:7f:5d:1a;
> >                 fixed-address 192.168.3.47;
> >                 option host-name "mac-linux-1";
> >                 ddns-hostname "mac-linux-1";
> >                 }
> > }
> 
> I also tried all these options, and I can see them get sent with
> Wireshark, but still the Mac will not initiate the TFPT request.  It
> just gets and IP from dhcpd and sits there.
> 
> Do you have notes what those options are suppose to do?  Are they
> suppose to fake what a OS X dhcpd server would send to trick the Mac
> into booting?
----
http://wiki.ltsp.org/twiki/bin/view/Ltsp/CpuArchitectures#LTSP_on_Latter_Day_Macintosh_G3
----
> 
> Only think slightly odd in Wireshark is in the DHCPD reply I see
> "Server host not not given", but other wise Next Server is set.
> 
> I see "root-path" set below, but even on the i386 boot I don't see it
> being used for anything.  Do you know its function?
> 
> 
> 
> This was my last attempt:
> 
> authoritative;
> 
> # Deal with broken mac clients.
> option option-128 code 128 = string;
> option option-129 code 129 = text;
> option dhcp-parameter-request-list 1,3,6,15,17,43,44,46,60;
> 
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
>     range 192.168.0.20 192.168.0.250;
>     option broadcast-address 192.168.0.255;
>     option subnet-mask 255.255.255.0;
> 
> 
>     # LAN config
>     option domain-name "hank.org";
>     option domain-name-servers 192.168.1.1;
>     option routers 192.168.0.254;
> 
>     option root-path "/opt/ltsp/i386";
>     if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
>         filename "/ltsp/i386/pxelinux.0";
>     } else {
>         filename "/ltsp/i386/nbi.img";
>     }
> }
> 
> group {
>     option root-path "192.168.0.254:/opt/ltsp/powerpc";
>     # filename "/ltsp/powerpc/yaboot";
>     filename "yaboot";
> 
> 
> 
>     host ibook {
>         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 option-128  e4:45:74:68:00:00;
>         option option-129  "NIC=ne IO=0x300";
> 
> 
> 
>         hardware ethernet 00:14:51:32:BA:44;
>         option host-name "ibooky";
>         fixed-address 192.168.0.222;
>     }
> 
>     host mac1 {
>         hardware ethernet 00:30:65:f3:50:58;
>     }
> }
----
where's 'next server' setting?

boot the iBook with <Apple><Option><O><F> and typing...(not that I'm
sure that this will make a difference).

boot enet:192.168.0.254

Craig




More information about the K12OSN mailing list