Subject: RE: boot over network
To: Claude Foley <Claude.Foley@cns.eds.com>
From: Nathan Gelbard <gelbard@ENGR.ORST.EDU>
List: netbsd-help
Date: 06/08/1998 14:17:14
> I'm in the process of using two SUN 3/60 one as an NFS server and the
> other one as a client.

> If the file /tftpboot/C0A80102 is created as this: ln -s
> /usr/mdec/netboot C0A80102,
> tftp give an error 'file not found' when I try: get C0A80102.
> so I used cp /usr/mdec/netboot /tftpboot/C0A80102 and it works,

Use tcpdump, and watch for the net for TFTP traffic. You'll probably
see it requesting a file like 'C0A80102.SUN4C' (I dont know what the
arch # is for Sun 3 - I'm netbooting an ELC). I dont think that tftp
can follow symbolic links...
 
> and I had to do the same for /export/terre/root/netbsd( links does not
> work ).
> But I guess that for the kernel I have to copy the file.
> 
> I also had a problem in the file /etc/exports
> the line with "/export/terre ...=root -alldirs terre" give me an error,
> I replace it by
>                        "/export ...=root -alldirs terre"  ( I used '...'
> because I forgot what it was )
> Does this will give me headache later.

Heres what my exports lines look like:

/usr    -alldirs -maproot=root -noresvport ashpool tessier 3jane 
/mnt    -alldirs -maproot=root -noresvport ashpool tessier 3jane


> I found out the tftpd could not access file when they are link.
> I read the man page about tftpd and there is nothing about link.
> 
> Am'I doing something wrong or there is a bug in tftpd. This does bother
> me because
> I was following the guide religiously.

I have found that tftp doesnt like the requests from my ELC - it loops and
fails. mountd (at least on my config) needs to be hupped every time before 
I netboot, or it loops and spawns like 20 if itself. I do believe there are
some bugs here :0

good luck,
        nathan