From owner-freebsd-hackers@FreeBSD.ORG Mon May 28 07:17:05 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFBB11065674 for ; Mon, 28 May 2012 07:17:05 +0000 (UTC) (envelope-from pacija@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6ADCB8FC12 for ; Mon, 28 May 2012 07:17:05 +0000 (UTC) Received: by bkvi18 with SMTP id i18so2622686bkv.13 for ; Mon, 28 May 2012 00:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:reply-to:to:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=Cv/d38eeygxzNfoBX7/BvFKiFHf7tXUJi/43lIU2jFg=; b=ko2PUbcMnz6jBEVdfyDSqJlEUPwxeqqSezcrO6vUxn0HfMxDq2lxofp6Z6ZFdGJ25g tcfHFLgKrak3Yywq1A6MiauFwKcQi40NX4LSxtA7aBZYh2tMbEaybHFzwQziAu8SZls7 Dc1H7tG7PInsdbJqbqyG1devC/ZM6+8s3YUys6HgiLaOOBBT4H6c5sdjiws0IJYBlVZD EjSSrB5Xr4UT5jp5zadU7m1gZXdO/yw6Sak03F8aB6CaT+kBml/B4NGURDNySvU2lSxS +oTCLrk90pzXmuzX6/b3baLy0gdco0iTOZMjP4CP8ONTlA06XWwjMQ766qRutKtBOtU3 JA2A== Received: by 10.204.154.142 with SMTP id o14mr2713681bkw.116.1338189424141; Mon, 28 May 2012 00:17:04 -0700 (PDT) Received: from [10.0.2.15] ([193.53.106.40]) by mx.google.com with ESMTPS id fw10sm12912844bkc.11.2012.05.28.00.17.02 (version=SSLv3 cipher=OTHER); Mon, 28 May 2012 00:17:03 -0700 (PDT) From: pacija To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="us-ascii" Organization: underbottom Date: Mon, 28 May 2012 09:17:01 +0200 Message-ID: <1338189421.1320.11.camel@vault.mimar.rs> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 28 May 2012 11:36:11 +0000 Subject: pxe + nfs + microsoft dhcp X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pacija@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 07:17:06 -0000 Dear list readers, I am having a problem with pxe loader on FreeBSD 9.0 i386 release. No matter what value I put for DHCP option 017 (Root Path) in Microsoft DHCP server, pxe always sets root path: pxe_open: server path: / I've read src/sys/boot/i386/libi386/pxe.c as instructed in handbook, and i learned there that root path is a failover value which gets set if no valid value is supplied by DHCP server. At first i thought that Microsoft DHCP does not send it but i confirmed with windump it does: -- 15:46:49.505748 IP (tos 0x0, ttl 128, id 6066, offset 0, flags [none], proto: UDP (17), length: 392) dhcp.domain.tld.67 > 255.255.255.255.68: [bad udp cksum 4537!] BOOTP/DHCP, Reply, length 364, xid 0xdcdb5309, Flags [ none ] (0x0000) Your-IP 192.168.218.32 Server-IP dhcp.domain.tld Client-Ethernet-Address 00:19:db:db:53:09 (oui Unknown) file "FreeBSD/install/boot/pxeboot" Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Subnet-Mask Option 1, length 4: 255.255.255.0 RN Option 58, length 4: 345600 RB Option 59, length 4: 604800 Lease-Time Option 51, length 4: 691200 Server-ID Option 54, length 4: dhcp.domain.tld Default-Gateway Option 3, length 4: gate.domain.tld Domain-Name-Server Option 6, length 4: dhcp.domain.tld Domain-Name Option 15, length 1: "^@" RP Option 17, length 42: "192.168.218.32:/b/tftpboot/FreeBSD/install/^@" BF Option 67, length 29: "FreeBSD/install/boot/pxeboot^@" -- I do not understand code well enough to fix it, or at least send pxeloader static value of /b/tftpboot/FreeBSD/install/, so if someone would instruct me how to do it i would be very grateful. Thank you in advance for your help.