Subject: Re: update(2): Re: netboot on 5000/240 probs
To: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
From: Michael Bartosh <bartosh@apple.tamu.edu>
List: port-pmax
Date: 10/25/1999 22:21:21
>On Mon, 25 Oct 1999, Michael Bartosh wrote:
>
> > OK think I found a problem-
> >
> > /etc/tftpboot says:
> > >pmax240a.mydom.com:\
> > >      :ht=ethernet:ha=08002B33E107:\
> > >      :ip=192.168.1.5:sm=255.255.255.0:\
> > >      :sa=192.168.1.1:bf=install:
> >
> > however the logs say:
> > >Oct 25 20:05:22 heretic dhcpd: BOOTREQUEST from 08:00:2b:33:e1:07 via eth0
> > >Oct 25 20:05:22 heretic dhcpd: BOOTREPLY for 192.168.1.5 to pmax240a
> > >(08:00:2b:33:e1:07) via eth0
> > >Oct 25 20:05:23 heretic tftpd[8368]: tftpd: trying to get file: /install
>
>  This looks like either your dhcp server is treating the boot file as
>being in the root directory (or else the DECstation is doing this - I
>haven't done a netboot for a while and don't remember what it looked
>like).  I presume you are not running the tftpd server chrooted to the
>/tftoboot directory?  [The default NetBSD configuration for tftpd is to
>chroot to /tftpboot.]

I have not changed the defaults at all, nonetheless I'm guessing it's 
not chrooted chrooted. From the third host:
 
>tftp> get /tftpboot/install
>Received 3594604 bytes in 33.2 seconds

And in heretic's logs:
>Oct 25 21:18:15 heretic tftpd[8496]: tftpd: trying to get file: 
>/tftpboot/install

Yet when bootptab asks for /tftpboot/install:
>pmax240a.mydom.com:\
>      :ht=ethernet:ha=08002B33E107:\
>      :ip=192.168.1.5:sm=255.255.255.0:\
>      :sa=192.168.1.1:td=/tftpboot:bf="/tftpboot/install":

The logs say
>Oct 25 21:19:09 heretic dhcpd: BOOTREQUEST from 08:00:2b:33:e1:07 via eth0
>Oct 25 21:19:09 heretic dhcpd: BOOTREPLY for 192.168.1.5 to pmax240a 
>(08:00:2b:33:e1:07) via eth0
>Oct 25 21:19:09 heretic tftpd[8499]: tftpd: trying to get file: 
>/tftpboot/install

Should work! Worked for septilum. But console says:

-tftp load
?IO 3/tftp a.out (-2)

Ideas???? So close... Thanks,
-mab


>
> > So it appears when I specify "install" the bootp client interprets it
> > as "/install".
>
>Michael
>--
>Michael L. Hitch			mhitch@montana.edu
>Computer Consultant
>Information Technology Center
>Montana State University	Bozeman, MT	USA