Originally Posted by
hansoffate
My client machine is 192.168.1.109. There is nothing written in /etc/exports or /etc/exportfs. Should there be?
On the server (192.168.1.115) you should install...
Code:
sudo aptitude install nfs-kernel-server nfs-common portmap
The etc/exports file should contain the following line if you want just one client to have access to the share...
Code:
/share/Musik 192.168.1.109(rw,async,no_subtree_check)
OR if you want all clients to have access to the share...
Code:
/share/Musik 192.168.1.0/24(rw,async,no_subtree_check)
Then restart the server with...
Code:
sudo /etc/init.d/nfs-kernel-server restart
On the client (192.168.1.109) you should be able to mount the share with...
Code:
sudo mount 192.168.1.115:/share/Musik /share/Musik
Edit: Instead of using IP addresses you can use host names. If the server host name is server1 and the client host name is client1 then you should be able to use server1.local and client1.local instead of IP addresses.
Bookmarks