Patch to add support for netbooting NewWorld PowerMacs

Ted Lemon Ted.Lemon at nominum.com
Wed Oct 5 06:31:06 UTC 2005


On Oct 4, 2005, at 9:52 PM, Andrew Pollock wrote:
> Could someone in the know please cast their eye over it and let me  
> know if
> it's something that is likely to be incorporated in a future feature
> release?

Here's some mail I wrote about this last year which I think addresses  
the issue.   Executive summary: you don't need to hack source to do  
that - just hack the dhcpd.conf file.   I'd appreciate it if you  
could add this to the bug and then close it so that this doesn't get  
asked again.   Extra credit: put it in a HOWTO (this is extra credit  
because you need more information than just how to configure the DHCP  
server, and I don't know that information, so can't provide it to you).

BTW, the bug that might stop you (which is alluded to below) is that  
it may be the case that the DHCP server doesn't correctly decode  
incoming options.   If that's the case, you'd have to write the if  
statement a little differently - if (option-221 == ...) { ... }  
instead of what's written below.

  From:    Ted.Lemon at nominum.com
  Subject:  Netbooting Macintoshes...
  Date:  July 7, 2004 9:45:00 AM MST
  To:    dhcp-server at isc.org
  Reply-To:    dhcp-server at isc.org

    *** From dhcp-server -- To unsubscribe, see the end of this  
message. ***

I noticed a thread about netbooting Macs, and thought I would forward
some mail I sent to the NetBSD/macppc mailing list a little while ago
on the topic.   There's a fellow who's done some patches to make the
server support Mac-specific options.   These patches aren't necessary,
but you might find it instructive to look at his web page anyway.
I've written up a set of config file directives that accomplish the
same purpose as his patches, which you can use instead of the patches.
   I have not actually used or verified these directives, so you might
have to tweak them to get them working, but I think they are
substantially correct.

Begin forwarded message:


> From: Ted Lemon <mellon at fugue.com>
> Date: June 7, 2004 3:06:26 PM MST
> To: Michael Wolfson <michael at nosflow.com>
> Cc: manu at netbsd.org (Emmanuel Dreyfus), port-macppc at netbsd.org
> Subject: Re: iBook G4 trouble
>
> On May 29, 2004, at 2:26 PM, Michael Wolfson wrote:
>
>> jtl at bothan.net pointed me to
>> http://staff.harrisonburg.k12.va.us/%7Erlineweaver/macnb/ which I
>> haven't gotten around to playing with.
>>
>
> There's actually no need to patch the server like that.   You can just
> define those options in the dhcpd.conf file.   Since the options are
> in violation of the DHCP standard, it would actually be inappropriate
> to patch the server like that.   But it's easy to make it work in the
> config file:
>
> option mac-nc-client-unknown code 220 = string;
> option mac-nc-client-id code 221 = string;
> option mac-version code 230 = string;
> option mac-user-name code 232 = string;
> option mac-password code 233 = string;
> option mac-nb-image code 234 = string;
> option mac-apps-image code 235 = string;
> option mac-machine-name code 237 = string;
> option mac-client-nb-image code 238 = string;
>
> if (option mac-nc-client-id = "Apple MacNC") {
>   option dhcp-max-message-size 576;
>   option dhcp-parameter-request-list 1, 3, 230, 232, 237, 233, 234,
> 235, 238;
> }
>
> I am not _absolutely_ positive this will work, because it's a BOOTP
> client and not a DHCP client, but it should work, and if it doesn't, I
> can suggest patches to make it work that would be preferable to the
> patches provided at the Mac site.
>
>


-----------------------------------------------------------------------
List Archives : http://www.isc.org/ops/lists/
Unsubscribe   : http://www.isc.org/sw/dhcp/dhcp-lists.php
-or-          : mailto:dhcp-server-request at isc.org?Subject=unsubscribe
-----------------------------------------------------------------------



More information about the dhcp-hackers mailing list