On Thursday 31 October 2024 09:52:23 GMT Michael wrote:
> On Wednesday 30 October 2024 23:24:19 GMT Peter Humphrey wrote:
> > On Thursday 17 October 2024 16:00:36 GMT I wrote:
> > 
> > --->8
> > 
> > Well, it looks as though I have it working, over an Ethernet link anyway.
> > There's now no /mnt/nfs with fsid=0, with the portage tree and the
> > packages directory mounted below it. This is /etc/exports on the i5:
> > 
> > /var/db/repos/gentoo
> > wstn.prhnet(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=25
> > 0 ,anongid=250)
> > /var/cache/packages
> > wstn.prhnet(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=25
> > 0 ,anongid=250)
> > 
> > Those are just two long lines. Breaking them seemed to cause problems. You
> > see that there's no intermediate mount point.
> 
> Yes, the /etc/exports syntax is sensitive to breaks or spaces.  There should
> be a single space between the exported directory and the client's hostname
> or IP address and no more.

I can only say that a backslash used to work, but now it doesn't.

> > The last two weeks' work has left me unsure of the integrity of the i5, so
> > I'm going to install a fresh new system and save it before tackling the
> > wireless link. Then I may be able to coil up that great long Ethernet
> > cable and stow it.
> 
> Hmm ... if your NFS configuration works over wired Ethernet, but not over
> wireless, this could point to a lower network level problem.

I remember you said something about problems with some DSL routers. Let's wait 
and see though. I won't be ready to try it today.

> I tend to use static IP addresses on both endpoints to simplify checks and
> configuration, but if you use hostnames check reverse name resolution is
> correct and adjust your /etc/hosts on both ends, check the DNS configuration
> on your LAN and check the client/server IP allocations are as they should
> be.

I've always used static addresses. The exception is the wireless network, on 
which things come and go. I'm confident in dnsmasq on the wired LAN - it's been 
running for years.

> Temporarily disable firewalls on both ends and check connectivity and access
> to NFS ports 111,2049 on the server.

The firewalls are fine. They're the first thing I check in a case like this.

> Check firewall logs/rules on the wireless router and configure accordingly
> if they are blocking.

The shorewall NFS macro allows TCP ports 111, 2049 and 20048; that last one is 
for mountd. The router is a Fritz!Box, and it's a bit of a beast to 
understand. (Is there a characteristic German approach to user interface 
design? I begin to wonder, what with this and my boiler...)

> Finally, make sure hostnames/IP addresses are correctly reflected on NFS
> configuration at both ends.

Of course.

-- 
Regards,
Peter.




Reply via email to