From owner-freebsd-net@FreeBSD.ORG Tue Dec 13 18:10:54 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 EBD1016A41F for ; Tue, 13 Dec 2005 18:10:54 +0000 (GMT) (envelope-from feenberg@nber.org) Received: from mail1.nber.org (mail1.nber.org [66.251.72.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2ED343D5A for ; Tue, 13 Dec 2005 18:10:49 +0000 (GMT) (envelope-from feenberg@nber.org) Received: from mail1 (root@localhost) by mail1.nber.org (8.12.8/8.12.8) with SMTP id jBDIAqfe016344 for ; Tue, 13 Dec 2005 13:10:52 -0500 Received: from nber1.nber.org (nber1.nber.org [66.251.72.71]) by mail1.nber.org (8.12.8/8.12.8) with ESMTP id jBDIA3wY016183; Tue, 13 Dec 2005 13:10:04 -0500 Date: Tue, 13 Dec 2005 13:09:54 -0500 (EST) From: Daniel Feenberg To: net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: dwhite@freebsd.org, brooks@freebsd.org, gwr@mc.com, ps@freebsd.org, jhb@freebsd.org Subject: 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 18:10:55 -0000 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. I can't tell what might be wrong, but if I look in /etc/rc.initdiskless it does echo the value of ${class}, which in my case is blank rather than the expected "client" supplied in dhcpd.conf. If I run "kenv" or "sysctl -a" and search the output for this variable, I don't see any names with "134", "cookie", or the value "client". My thought is that maybe the "t134" feature isn't supported in the 6.0 release kernel, in particular, perhaps pxeboot does not request that option, or it is supported only for bootp and not dhcp. There are some postings from users reporting success with this option, however all seem to be using bootp rather than dhcpd, and all seem to have older kernels. I am using an unmodified 6.0 #0 kernel, with the default options. It does serve to generate a system that boots and functions, except for this feature. Thanks for any insight. Daniel Feenberg feenberg isat nber dotte org