Subject: Re: Classic boot net-tpe help
To: None <port-sparc@netbsd.org>
From: Donald G. Knecht <msspal@gbso.net>
List: port-sparc
Date: 10/28/2000 19:53:10
Greg Earle wrote:
> 
> > Gerald Richter wrote:
> >>
> >> tcpdump... :o) Spits out a running log of what's goin' through the
> >> network..
> >
> > doh!
> > here's what i get:
> >
> > rarp who-is sparc.eischeid2.net tell sparc.eischeid2.net
> > rarp reply sparc.eischeid2.net at sparc.eischeid2.net
> > sparc.eischeid2.net.58487 > eischeid2.net.tftp : 23 RRQ "AC100007.SUN4M"
> > eischeid2.net.1092 > sparc.eischeid2.net.58487 : udp 21
> >
> > and then nothing until the sparc times out
> 
> What is "eischeid2.net"?  Is it a host or a broadcast address?
> 
> If it's a host, it doesn't sound like it's answering the TFTP boot request.

it is host machine (i386/SuSE 6.4)
if i telnet into the box from a windows machine and try to retrieve the
bootloader
i get "Access Error", however if i use the full path such as "get
/tftpboot/AC100007.SUN4M"
it succeeds.

others here have suggested that tftp is indeed ch'root and that i needed
to create a 
symlink to tftpboot. i have tried that with no luck :(



> 
> Did you make sure you have a line like
> 
> tftp            dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -s /tftpboot
> 
> in your /etc/inetd.conf file on "eischeid2.net" (if that's a host)?
> 
> (I don't know what type of machine "eischeid2.net" is, the above line is for
>  a NetBSD host.  Maybe yours is Linux.  Our Red Hat systems at work have
> 
> #tftp   dgram   udp     wait    root    /usr/sbin/tcpd  in.tftpd
> 
>  in /etc/inetd.conf.  Supposedly the directory will default to "/tftpboot" if
>  no directory is named in the above inetd.conf line, but the Linux "in.tftpd"
>  man page makes no mention of it doing a chroot(2).  I would try changing the
>  above line to
> 
> tftp    dgram   udp     wait    root    /usr/sbin/tcpd  in.tftpd /tftpboot


mine is exactly like this ^^^^^

> 
>  and then run "killall -HUP inetd" and see what happens.  Also, since the
>  Linux "in.tftpd" invocation above is TCP Wrapper'ed, make sure your
>  hosts.allow/hosts.deny permissions are set to allow "sparc.eischeid2.net"
>  access.)

it is...........tail -f /var/log/messages shows connection to tftp

> 
> Good luck,
> 
>         - Greg

sadly, i have success using a windows box to load the boatloader, but
haven't been able to get
a NFS server running on it to load the kernel..........BTW i have a hard
drive on the sparc and am only doing this to install system......


-- 
proud Linux user since kernel 1.1.54
icq#42235604