Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 07:04:08 +0000
From:      "Sunil Sunder Raj" <unixtools@hotmail.com>
To:        anderson@centtech.com
Cc:        freebsd-isp@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Freebsd pxeboot problem
Message-ID:  <BAY21-F42D324865DD3F44541E8E0AE0D0@phx.gbl>
In-Reply-To: <42921DB4.3080607@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Below are all the details I can provide you.

dhcpd.conf
==========

ddns-update-style none;
option routers 10.0.0.1;

subnet 10.0.0.0 netmask 255.255.255.0 {
  range 10.0.0.22 10.0.0.24;
  option subnet-mask 255.255.255.0;
  option broadcast-address 10.0.0.255;
  option domain-name-servers 202.54.1.30, 202.54.1.18;
  option domain-name "xyz.com";
  default-lease-time 2592000;
  max-lease-time 2592000;
  next-server 10.0.0.10;
  server-name "xyz.com";
  server-identifier 10.0.0.10;
  option root-path "/usr/local/exports/freebsd5.4";
  filename "boot/pxeboot";
}



/etc/exports
============
/usr/local/exports/freebsd5.4 -ro


/etc/inetd.conf
===============
tftp    dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l 
/usr/local/exports/freebsd5.4



# strings /usr/local/exports/freebsd5.4/boot/pxeboot | grep "nfs"
boot.nfsroot.server
boot.nfsroot.path
boot.nfsroot.nfshandle
no rootpath, no nfs
/usr/src/lib/libstand/nfs.c
nfsread: short packet, %d < %ld




# ls -l /usr/local/exports/freebsd5.4
total 1292
-r--r--r--   1 root  wheel     801 May  8 07:05 .cshrc
-r--r--r--   1 root  wheel    1458 May  8 10:38 .profile
dr-xr-xr-x  18 root  wheel     512 May  8 10:38 5.4-RELEASE
-r--r--r--   1 root  wheel    6192 May  8 07:05 COPYRIGHT
-r--r--r--   1 root  wheel   18133 May  8 10:38 ERRATA.HTM
-r--r--r--   1 root  wheel   10109 May  8 10:38 ERRATA.TXT
-r--r--r--   1 root  wheel  125891 May  8 10:38 HARDWARE.HTM
-r--r--r--   1 root  wheel   74414 May  8 10:38 HARDWARE.TXT
-r--r--r--   1 root  wheel   76334 May  8 10:38 INSTALL.HTM
-r--r--r--   1 root  wheel   56771 May  8 10:38 INSTALL.TXT
-r--r--r--   1 root  wheel   46766 May  8 10:38 MIGRATE5.HTM
-r--r--r--   1 root  wheel   31732 May  8 10:38 MIGRATE5.TXT
-r--r--r--   1 root  wheel   20445 May  8 10:38 README.HTM
-r--r--r--   1 root  wheel   14798 May  8 10:38 README.TXT
-r--r--r--   1 root  wheel   47258 May  8 10:38 RELNOTES.HTM
-r--r--r--   1 root  wheel   24167 May  8 10:38 RELNOTES.TXT
dr-xr-xr-x   2 root  wheel    1024 May  8 07:01 bin
dr-xr-xr-x   5 root  wheel     512 May 23 01:02 boot
-r--r--r--   1 root  wheel    2048 May  8 10:47 boot.catalog
-r--r--r--   1 root  wheel      39 May  8 10:38 cdrom.inf
dr-xr-xr-x   2 root  wheel     512 May  8 07:00 dev
-r--r--r--   1 root  wheel    2971 May  8 10:38 docbook.css
dr-xr-xr-x  17 root  wheel    2048 May  8 07:05 etc
-r--r--r--   1 root  wheel  685246 May  8 10:44 filename.txt
dr-xr-xr-x   2 root  wheel     512 May  8 10:38 floppies
dr-xr-xr-x   3 root  wheel    1024 May  8 07:02 lib
dr-xr-xr-x   2 root  wheel     512 May  8 07:01 libexec
dr-xr-xr-x   2 root  wheel     512 May  8 07:00 mnt
dr-xr-xr-x  14 root  wheel     512 May  8 10:44 packages
dr-xr-xr-x   2 root  wheel     512 May  8 07:00 proc
dr-xr-xr-x   2 root  wheel    2560 May  8 07:02 rescue
dr-xr-xr-x   2 root  wheel     512 May  8 07:05 root
dr-xr-xr-x   2 root  wheel    2560 May  8 07:04 sbin
lrwxrwxrwx   1 root  wheel       7 May 22 19:03 stand -> /rescue
lrwxrwxrwx   1 root  wheel      11 May 22 19:03 sys -> usr/src/sys
dr-xr-xr-x   2 root  wheel     512 May  8 07:00 tmp
dr-xr-xr-x   5 root  wheel    1024 Jul 13  2003 tools
dr-xr-xr-x  13 root  wheel     512 May  8 10:26 usr
dr-xr-xr-x  20 root  wheel     512 May  8 10:26 var




# ls -l /usr/local/exports/freebsd5.4/boot
total 1668
-r--r--r--  1 root    wheel     7007 May  8 07:03 beastie.4th
-r--r--r--  1 root    wheel     8192 May  8 07:03 boot
-r--r--r--  1 root    wheel      512 May  8 07:03 boot0
-r--r--r--  1 root    wheel      512 May  8 07:03 boot0sio
-r--r--r--  1 root    wheel      512 May  8 07:03 boot1
-r--r--r--  1 root    wheel     7680 May  8 07:03 boot2
-r--r--r--  1 root    wheel     1184 May  8 07:03 cdboot
dr-xr-xr-x  2 root    wheel      512 May  8 07:03 defaults
-r--r--r--  1 root    wheel     1982 May  8 07:05 device.hints
-r--r--r--  1 root    wheel     2249 May  8 07:03 frames.4th
dr-xr-xr-x  2 root    wheel     8192 May  8 10:21 kernel
-r-xr-xr-x  1 manage  wheel   212992 May 23 23:23 loader
-r--r--r--  1 root    wheel     7772 May  8 07:03 loader.4th
-r--r--r--  1 root    wheel      107 May 22 19:29 loader.conf
-r--r--r--  1 root    wheel    13893 May  8 07:03 loader.help
-r--r--r--  1 root    wheel      370 May  8 07:03 loader.rc
-r--r--r--  1 root    wheel      512 May  8 07:03 mbr
-r--r--r--  1 root    wheel  1082571 May  8 10:38 mfsroot.gz
dr-xr-xr-x  2 root    wheel      512 May  8 07:00 modules
-rw-r--r--  1 manage  wheel   215040 May 23 23:23 pxeboot
-r--r--r--  1 root    wheel      692 May  8 07:03 screen.4th
-r--r--r--  1 root    wheel    36440 May  8 07:03 support.4th



# cat /usr/local/exports/freebsd5.4/boot/loader.conf
mfsroot_load="YES"
mfsroot_type="mfs_root"
mfsroot_name="/boot/mfsroot"
vfs.root.mountfrom="ufs:/dev/md0c"


Regards
Sunil Sunder Raj



>From: Eric Anderson <anderson@centtech.com>
>To: Sunil Sunder Raj <unixtools@hotmail.com>
>CC: freebsd-questions@freebsd.org, freebsd-isp@freebsd.org
>Subject: Re: Freebsd pxeboot problem
>Date: Mon, 23 May 2005 13:15:16 -0500
>
>Sunil Sunder Raj wrote:
>>Hi,
>>Was trying to install freebsd 5.3 via pxeboot. The Dhcp server leases the 
>>Ip address, the tftp server is located fine and the pxeboot file gets 
>>downloaded at the client end. But this pxeboot is not getting the proper 
>>server path and gateway ip.
>>
>>It is always falling to the default /pxeroot server path (as programmed in 
>>the pxe.c file) and don't know where it gets the gateway ip as 
>>192.168.102.1
>>
>>Display I get
>>========
>>pxe_open: server addr: "This is proper. The Dhcp/Tftp server ip"
>>pxe_open: server path: /pxeroot ----------------------- default server 
>>path. This is not what I defined in my dhcpd.conf
>>pxe_open: gateway ip: 192.168.102.1 --------------- Don't know where it 
>>got it from. This is not what I defined in my dhcpd.conf
>
>
>Can you send the relevant dhcp conf section?
>
>Eric
>
>
>--
>------------------------------------------------------------------------
>Eric Anderson        Sr. Systems Administrator        Centaur Technology
>A lost ounce of gold may be found, a lost moment of time never.
>------------------------------------------------------------------------





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY21-F42D324865DD3F44541E8E0AE0D0>