Sharing from Debian

From WikiDLXTV
Revision as of 07:11, 11 January 2011 by Rkpisanu (Talk | contribs)

Jump to: navigation, search

Server NFS (IP:192.168.2.4) : Notebook with Debian ( Ubuntu 10.10 tested)

Client NFS (IP:192.168.2.3) : WDTV


Server NFS Side

Install nfsd deamon

 sudo apt-get install nfs-kernel-server nfs-common portmap

Insert path to export in /etc/exports file config

 sudo vi /etc/exports

Insert the following line changing your own path to export:

 /home/asdf  192.168.2.4/24(rw,no_root_squash,async)

Export the path

 sudo /etc/init.d/nfs-kernel-server restart
 sudo exportfs


Client NFS Side ( WDTV )

Create a temporary directory

 mkdir /tmp/notebook

Mount it

 mount 192.168.2.4:/home/asdf /tmp/notebook


Verify if it is mounted

mount | grep notebook 192.168.2.4:/home/asdf on /tmp/notebook type nfs (rw,vers=3,rsize=32768,wsize=32768,hard,proto=udp,timeo=7,retrans=3,sec=sys,addr=192.168.2.4)


If it is ok, go there:

 cd /tmp/notebook