Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2000 15:57:07 +0400
From:      sourire@bigfoot.com
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Netboot problem
Message-ID:  <20000926155707.A4615@linux.rainbow>

next in thread | raw e-mail | index | archive | help

Hello, 
This is both test mail and real question.

I'm trying to setup network booted workstation. 
Problem description:
When I use nbfxp.com to boot my workstation, all goes semi-Ok :-)
tftp loads kernel, then it start booting, but after boot it gives:

bootpc hw address is _addr_here_
BOOTP timeout for server 0xffffffff
(forever)

Kernel is already loaded.
demon# !?tcpdump
tcpdump -i xl0 port tftp or port bootps
tcpdump: listening on xl0
15:53:33.600456 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 secs:115 flags:0x8000 [|bootp]
15:53:38.600206 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 secs:120 flags:0x8000 [|bootp]
(forever)

Part of kernel config:
options         INET                    #Internet communications protocols
pseudo-device   ether                   #Generic Ethernet
pseudo-device   loop                    #Network loopback device
pseudo-device   bpf                     #Berkeley packet filter
pseudo-device   ppp     2               #Point-to-point protocol
options         PPP_BSDCOMP             #PPP BSD-compress support
options         PPP_DEFLATE             #PPP zlib/deflate/gzip support
options         PPP_FILTER              #enable bpf filtering (needs bpf)
options         IPFIREWALL              #firewall
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT                #divert sockets
options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging
options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN
options         TCP_RESTRICT_RST        #restrict emission of TCP RST
options         ICMP_BANDLIM
options         DUMMYNET
options         NFS                     #Network File System
options         NFS_ROOT                #NFS usable as root device
device          pci
device          fxp
options         BOOTP           # Use BOOTP to obtain IP address/hostname
options         BOOTP_NFSROOT   # NFS mount root filesystem using BOOTP info
options         BOOTP_NFSV3     # Use NFS v3 to NFS mount root
options         BOOTP_COMPAT    # Workaround for broken bootp daemons.
options         BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP

My /etc/bootptab:
dialin: \
  :ht=ether:\
  :ha=00a0c9426a8b:\
  :sm=255.255.255.0:\
  :hn:\
  :ds=192.168.4.1:\
  :ip=192.168.4.2:\
  :gw=192.168.4.1:\
  :rp="192.168.4.11:/usr/local/Diskless/rootfs/dialin":\ # Have tried w/o this
  :vm=rfc1048:

my /tftpboot:
ls /tftpboot/
freebsd.192.168.4.2
cat /tftpboot/freebsd.192.168.4.2 
rootfs 192.168.4.11:/usr/local/Diskless/rootfs/dialin
hostname dialin.rainbow

my /usr/local/Diskless/rootfs/dialin:
ls /usr/local/Diskless/rootfs/dialin/
bin     dev     etc     kernel  sbin    usr

my /etc/exports:
cat /etc/exports
/usr/ports/distfiles -ro -network 192.168.0.0 -mask 255.255.0.0
/usr/local/Diskless/rootfs/dialin -ro -maproot 0:0 192.168.4.2
/usr -ro -network 192.168.0.0 -mask 255.255.0.0



-- 
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", 
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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