On Oct 26, 2007, at 4:20 AM, Steve Kemp wrote:
On Fri Oct 26, 2007 at 13:01:39 +0200, Bruno Boettcher wrote:so i added the following line to the /etc/exports /home/bboett/mp3/ 192.168.0.*(ro,insecure,root_squash,subtree_check)I do this just fine with: /mnt/mp3 192.168.1.0/255.255.255.0 (rw,sync,no_root_squash)
The original example doesn't work because wildcards are only valid for hostnames, not for IP addresses. The tricky thing is they can *appear* to work with IP addresses under certain circumstances. Sometimes they will appear to work at first and then fail later when you change the DNS configuration -- this can be pretty puzzling!
The correct way to do it is with a netmask, as Steve shows, or with CIDR notation.