From owner-freebsd-net@FreeBSD.ORG Tue Dec 13 20:00:48 2005 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3EEC16A41F; Tue, 13 Dec 2005 20:00:48 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D1A243D55; Tue, 13 Dec 2005 20:00:48 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 7A72272DDB; Tue, 13 Dec 2005 12:00:48 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 786EA72DD9; Tue, 13 Dec 2005 12:00:48 -0800 (PST) Date: Tue, 13 Dec 2005 12:00:48 -0800 (PST) From: Doug White To: Daniel Feenberg In-Reply-To: Message-ID: <20051213114709.D71016@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: brooks@freebsd.org, jhb@freebsd.org, gwr@mc.com, ps@freebsd.org, net@freebsd.org, dwhite@freebsd.org Subject: Re: Does pxeboot support option 134? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 20:00:49 -0000 Remove duplicate ps@. On Tue, 13 Dec 2005, Daniel Feenberg wrote: > > I am trying to do diskless booting. Right now I am trying to make the > /conf/${class}/ function provided in FreeBSD 6.0 work. I have had success > with /conf/${ip}/ but not with ${class}. > > I have > > option t134-cookie code 134=text > > at the beginning of my dhcpd.conf file, and > > option t134-cookie "client" > > with the other parameters for the diskless client. The dhcpd server is on > a FreeBSD 5.2.1 system (everything else is 6.0). I have the impression > that the dhcp server is ok with these settings, however, no mention of > T134 makes appears in the output of bootptest when run on the client. >From my reading of the source, vendor-option 134 is only parsed by the nfsclient bootp code which is activated with the BOOTP kernel option. If you want to use that feature via PXE then pxe_open() in src/sys/boot/i386/libi386/pxe.c needs modification, specifically to parse the array in bootplayer.d. pxeboot passes its information via kenv and would require a bit of code hidden somewhere to convert it into a sysctl to maintain compatibility with the BOOTP feature. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org