From owner-freebsd-hackers Wed Oct 31 3:49:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from web12905.mail.yahoo.com (web12905.mail.yahoo.com [216.136.174.72]) by hub.freebsd.org (Postfix) with SMTP id 8893537B409 for ; Wed, 31 Oct 2001 03:49:17 -0800 (PST) Message-ID: <20011031114917.88920.qmail@web12905.mail.yahoo.com> Received: from [203.61.155.10] by web12905.mail.yahoo.com via HTTP; Wed, 31 Oct 2001 22:49:17 EST Date: Wed, 31 Oct 2001 22:49:17 +1100 (EST) From: =?iso-8859-1?q?Paul=20Jansen?= Subject: Re: pxe booting problem To: Henri Michelon Cc: hackers@FreeBSD.ORG, questions@FreeBSD.ORG In-Reply-To: <200110301619.RAA78796@mail.iiriam.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Henri, FYI - this is my dhcpd.conf. I didn't have to enable a lot of the options you had in yours: " # dhcpd.conf # define new options option nfs-swap code 128 = string; option swap-size code 129 = integer 32; # option definitions common to all supported networks... option domain-name "jansen.org"; option domain-name-servers 203.57.68.5, 203.57.68.5; ddns-update-style ad-hoc; default-lease-time 600; max-lease-time 7200; authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.13 192.168.0.20; use-host-decl-names on; option routers 192.168.0.8; option broadcast-address 192.168.0.255; if substring (option vendor-class-identifier,0,9) = "PXEClient" { filename "pxeboot" } option root-path "192.168.0.1:/diskless"; option nfs-swap "192.168.0.1:/nfs-swap"; option swap-size 10240; } host host12 { hardware ethernet 00:02:55:70:86:e8; fixed-address host12.jansen.org; } " I found pxeboot in /boot on my 4.4r system and after the config file for ISC DHCPDv3 is in place and DHCPD is started things work great. I needed to make sure the /tftpboot/boot/loader.rc existed and that I copied my diskless kernel to /tftpboot/kernel. Thanks for your suggestions. Paul --- Henri Michelon wrote: > Le Mardi 30 Octobre 2001 14:30, vous avez écrit : > > I posted some of this info last friday but haven't > had > > any responses. I'm hoping someone out there knows > > what the problem is. Here's the details: > > > > I saw Alfred Perlsteins page on how to setup > > FreeBSD installs unsing PXE. > > The problem I'm having now is when I follow > Alfred's > > directions to create the PXE loader (using 4.4R) > It > > bombs out. It's my understanding the I just need > to > > stick 'pxeldr' into the root of the TFTP server > > directory and tell the machine to execute this by > > specifying it as the boot file in the DHCP > > configuration. I also understand that I have to > > create a subdirectory called 'boot' under the TFTP > > root directory with the file 'loader.rc' in it. > Can > > someone verify if this is the case? > > Alfred's instructions can be found here: > > http://people.freebsd.org/~alfred/pxe/ > > > > This is the console output that insues when I try > and > > build pxeldr as per Alfred's instructions: > > > > > You can find pxeboot (instead of pxeldr) if /boot. > Just copy it into /tftpboot, and add the following > in the dhcpd config file > (for isc-dhcp version 3): > > option space PXE; > option PXE.mtftp-ip code 1 = ip-address; > option PXE.mtftp-cport code 2 = unsigned integer 16; > option PXE.mtftp-sport code 3 = unsigned integer 16; > option PXE.mtftp-tmout code 4 = unsigned integer 8; > option PXE.mtftp-delay code 5 = unsigned integer 8; > > class "pxeclients" { > match if substring (option > vendor-class-identifier, 0, 9) = > "PXEClient"; > option vendor-class-identifier "PXEClient"; > option PXE.mtftp-ip 0.0.0.0; > vendor-option-space PXE; > next-server X.X.X.X; > server-name "X.X.X.X"; > server-identifier X.X.X.X; > > option root-path "/path/to/FreeBSD/CDROM"; > > filename "pxeboot"; > } > > where X.X.X.X is the IP address of the tftp boot > server. > > Henri. http://briefcase.yahoo.com.au - Yahoo! Briefcase - Manage your files online. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message