Hi,
I configured NFS on my arch on raspberry, and I'm trying to access it from a client machine. First of all, the client can see the remote machine:
$this->bbcode_second_pass_code('', '$ avahi-browse -at | grep Work
+ wlp1s0 IPv4 alarmpi [MAC:ADDRESS] Workstation local
+ wlp1s0 IPv4 arch-pc [MAC:ADDRESS] Workstation local')
The problem is the showmount command, that is not working when using server name:
$this->bbcode_second_pass_code('', '$ showmount -e alarmpi
clnt_create: RPC: Unknown host')
and runs fine when using server address:
$this->bbcode_second_pass_code('', 'showmount -e 192.168.1.95
Export list for 192.168.1.95:
/srv/nfs4/Music 192.168.1.1/24
/srv/nfs4/Videos 192.168.1.1/24
/srv/nfs4 192.168.1.1/24')
At the same time, I'm unable to mount the share using the server name:
$this->bbcode_second_pass_code('', '$ mount -t nfs alarmpi:/Videos ~/NFS_Videos
mount.nfs: Failed to resolve server alarmpi: Name or service not known')
but it is ok when using the ip address:
$this->bbcode_second_pass_code('', '$ mount -t nfs 192.168.1.95:/Videos ~/NFS_Videos')
Maybe I have to add the server name to some config file but I really dunno where. Any clues?
Thanks
