Sharing from Debian

From WikiDLXTV
Jump to: navigation, search

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

Client NFS (IP: : 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:


Export the path

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

Allow Clients

sudo nano /etc/hosts.allow

And put this


Client NFS Side ( WDTV )

Create a temporary directory

 mkdir /tmp/notebook

Mount it

 mount /tmp/notebook

Verify if it is mounted

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

If it is ok, go there:

 cd /tmp/notebook

Automatic Client NFS Side ( WDTV )

Enter to the Web Frontend

Go to your browser(firefox, chrome or opera) and type the IP of your wdtv for this example: if you have the defaults values:


Then go to WDLXTV Config>Main and go to File Sharing: Network mounts

You can choose between :

  • Create a new net.mounts and stored in the USB(maybe you have one in there already)
  • In Net_Mounts_/conf put your configuration

Well in both cases you have this kind of configuration: xmount "IP:Shared_Folder" DisplayName nfs

IP: ip of the server.
Shared_Folder: the shared folder in the server.
DisplayName: this name appears in the wdtv.

In this example: xmount "" MyNotebookFolder nfs

Now press Save in the bottom of the screen


  • You must have at least one pendrive or HD connected to the wdtv if you want to see the folder in the TV(go to Video>Local drives>USB1 and select the Shared folder)
  • Keep an eye on the shared folder permission that maybe create troubles.
  • For testing you can enter through SSH and do the command xmount "" MyNotebookFolder nfs to be sure it work and the problem is from the Web Frontend