Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 96:27:40 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,426 |
8
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=250 ,anongid=250)
/var/cache/packages wstn.prhnet(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250 ,anongid=250)
Those are just two long lines. Breaking them seemed to cause problems. You see that there's no intermediate mount point.
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.
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.
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 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.
Temporarily disable firewalls on both ends and check connectivity and access to NFS ports 111,2049 on the server.
Check firewall logs/rules on the wireless router and configure accordingly
if they are blocking.
Finally, make sure hostnames/IP addresses are correctly reflected on NFS configuration at both ends.
On Thursday 31 October 2024 09:52:23 GMT Michael wrote:
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...)
On Thursday 31 October 2024 11:07:13 GMT Peter Humphrey wrote:
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.
Is dnsmasq also used by the wireless network successfully, or is the router running its own DHCP/DNS show?
8
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...)
Fritz!Box is one of the better provisioned domestic routers.
I've only used it once and mostly over wired Ethernet, but was impressed by its functions and features compared to other rubbish on the market. I can't recall its firewall options menu - I would think there would be no restrictions across LAN devices, bar Wireless Client Isolation. Different VLANs would either way isolate wireless devices to their own broadcast domain. For a quick test you can disable wireless client isolation and see
if things start working as expected.