Difference between revisions of "Sharing from Debian"

From WikiDLXTV
Jump to: navigation, search
(Created page with 'Server NFS (IP:192.168.2.4) : Notebook with Debian ( Ubuntu 10.10 tested) Client NFS (IP:192.168.2.3) : WDTV Server NFS: <code> sudo apt-get install nfs-kernel-server nfs…')
(No difference)

Revision as of 15:19, 10 January 2011

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

Client NFS (IP:192.168.2.3) : WDTV


Server NFS:

 sudo apt-get install nfs-kernel-server nfs-common portmap
 sudo vi /etc/exports
 /home/asdf  192.168.2.4/24(rw,no_root_squash,async)
 sudo /etc/init.d/nfs-kernel-server restart
 sudo exportfs


Client NFS:

 mkdir /tmp/notebook
 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