Subject: Re: netbooting problems
To: None <port-sparc@netbsd.org>
From: jozzfest <jozzfest@gmail.com>
List: port-sparc
Date: 07/23/2004 13:30:10
What does your /etc/bootparams file say?  My contents look something like:

client root=3D192.168.1.2:/usr/export/somedir

Regarding the NFS config, the lines containing  -maproot=3Dnobody:nobody
 are the only questionable lines I can see.

I could be wrong, but this would essentially mean any file created in
/usr or /home by root on the client machine would then be owned
nobody:nobody on the NFS server.  I don't know if this is your desired
result, but if the bootparams file is okay I would consider mapping
root to root:wheel or remove the switch.  If it is the desired result,
making sure nobody:nobody can own files contained in your export dir I
believe would be the next logical step?



- Joe

On Fri, 23 Jul 2004 16:48:22 +0200, David Reichelt
<freud-schiller@gmx.net> wrote:
>=20
>=20
> ----- Original Message -----
> From: "David Reichelt" <Freud-Schiller@gmx.net
> <mailto:Freud-Schiller@gmx.net>>
> To: <port-sparc@netbsd.org <mailto:port-sparc@netbsd.org>>
> Sent: Wednesday, July 21, 2004 2:21 PM
> Subject: netbooting problems
> > hi everybody,
> > i build a small network so set up a netbooting client.
> >
> > the server is a ss20(netbsd 2.0 beta)
> > the client is a ipx
> >
> > i set up the tftp server ( /tftpboot) on the server, i put a
> boot.net(1.6.2)
> > in the /tftpboot an renamed it to C0A8010A because a set
> > in the /etc/ethers 08:00:20:0D:11:16 SUNIPX an in the /etc/hosts
> > 192.168.1.10 SUNIPX
> >
> > i think it=B4s right up to this point, yes?
> >
> > then i started the rarp server by "/usr/sbin/rarpd -a -d "
> >
> > after that i start the client and type in "boot net"
> >
> > the rarp debug says this:
> >
> > bash-2.05b# rarpd: le0: 8:0:20:74:22:d9
> > Jul 21 14:13:52 sunone rarpd[300]: le0: 8:0:20:74:22:d9
> > rarpd: received packet on le0
> > Jul 21 14:14:01 sunone rarpd[300]: received packet on le0
> > rarpd: 08:00:20:0d:11:16 asked; SUNIPX replied
> > Jul 21 14:14:01 sunone rarpd[300]: 08:00:20:0d:11:16 asked; SUNIPX repl=
ied
> >
> > i waited 30minutes without anything happen :-(
> >
> > during that time i run tcpdump and got a line i don=B4t understand:
> >
> > 14:16:05.324849 SUNIPX.22695 > 0.0.0.0.tftp: 23 RRQ "C0A8010A.SUN4C"
> >
> > i think the tftp client doesn=B4t know where the tftpserver is right?
> >
> > does someone knows how to fix this problem?
> >
> > thx a lot
> >
> > david
>=20
> ok now it does download the boot loader,
> there comes a "booting netbsd" :-))))
> then it prints
> bootp: no reply
> using bootparams protocol: ip 192.168.1.10bootparamd: 'whoiam' call faile=
d
> can=B4t open NFS network connection :-(
>=20
> my exports look as follows:
> /export/client/root -maproot=3Droot:wheel SUNIPX
> /export/client/swap -maproot=3Droot:wheel SUNIPX
> /export/client/usr -maproot=3Dnobody:nobody SUNIPX
> /export/client/home -maproot=3Dnobody:nobody SUNIPX
>=20
> if i try to start mountd it says
> Jul 23 16:38:15 sunone mountd[502]: "/export/client/usr -maproot", line 3=
:
> Can't change attributes for /export/client/usr to SUNIPX: Operation not
> permitted
> Jul 23 16:38:15 sunone mountd[502]: "/export/client/home -maproot", line =
4:
> Can't change attributes for /export/client/home to SUNIPX: Operation not
> permitted
> so i think the problem is the nfs server right?
>=20
> i killed lines 2-4 ;-) and started the mountd
>=20
> google says nothing about "bootparamd: whoiam call failed"
> the howto says:
> If the bootparams requests fail, the client will print:
> bootparamd: `whoami' call failed
> le(0,0,0,0): Unknown error: code 60
> boot: Unknown error: code 60
> but it does not says what i have to check :-(
> can somebody help me? thx a lot
> David
>=20
>