LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   WD live streaming + slackware + ntfs partition + nfs (https://www.linuxquestions.org/questions/slackware-14/wd-live-streaming-slackware-ntfs-partition-nfs-940695/)

mpregos 04-19-2012 01:21 PM

WD live streaming + slackware + ntfs partition + nfs
 
Hi Everybody.

i bought the following media player --> WD live streaming.
This model have integrated WiFi . That means that i could create a link with my desktop which is a slack 13.37.

After a lot of hours , i realized that the connection between them should be NFS oriented(i confused from manual, that refer to samba share)

So, i configured a simple nfs server with the following configuration /etc/exports
Code:

/home/srx/NFS 192.168.1.0/24(rw,no_root_squash,no_subtree_check,async)
NFS folder contains a link to my storage place
Code:

srx@homePC:~/NFS$ pwd
/home/srx/NFS
srx@homePC:~/NFS$ ls
2TBShare2@
srx@homePC:~/NFS$

which is a ntfs partition and loaded in boot from fstab as follows:
Code:

/dev/sdc2        swap            swap        defaults        0  0
/dev/sdc1        /                ext4        defaults        1  1
/dev/sdc3        /home            ext4        defaults        1  2
/dev/sda1        /media/2TBShare2 ntfs-3g    fmask=111,dmask=000 1  0

the request point is the /media/2TBShare2

has read/write permissions for user.

From WD i am able to see the nfs folder and the link but not the files that are in 2TBShare2.

Hint. If i copy files in /home/srx/NFS i am able to see it through WD. So, the problem looks that is permission .

Any ideas????

kingbeowulf 04-19-2012 08:50 PM

What you describe doesn't make sense. Are you trying to set up your Slackware box as a NFS server to send files to the WD TV box over the network? On what system is that fstab file located? To mount an NFS share you use something like
Code:

server:/share /local/mnt/point nfs defaults  0  0
You not only need to set up "exports" but also "hosts.allow" and "hosts.deny" on the NFS server Then to access the slackware NFS share, you need to either modify the fstab on the WD TV, or use the menu to enter the IP address of the slackware box. If the user ID on the WD box is not a user ID on the Slackware box, then you need to do a chmod 666 on the files and/or 755 on the directories (I think) on the NFS directory in order to allow any random user to access.

Unfortunately, I do not know how to have the NFS server broadcast its name (Like SAMBA), if that is possible.

mpregos 04-20-2012 02:29 AM

Quote:

Originally Posted by kingbeowulf (Post 4657925)
What you describe doesn't make sense. Are you trying to set up your Slackware box as a NFS server to send files to the WD TV box over the network? On what system is that fstab file located? To mount an NFS share you use something like
Code:

server:/share /local/mnt/point nfs defaults  0  0
You not only need to set up "exports" but also "hosts.allow" and "hosts.deny" on the NFS server Then to access the slackware NFS share, you need to either modify the fstab on the WD TV, or use the menu to enter the IP address of the slackware box. If the user ID on the WD box is not a user ID on the Slackware box, then you need to do a chmod 666 on the files and/or 755 on the directories (I think) on the NFS directory in order to allow any random user to access.

Unfortunately, I do not know how to have the NFS server broadcast its name (Like SAMBA), if that is possible.

Hello beowulf,

Yes,i'm trying to set up my slack PC as NFS server in order to serve my media file to WD Live.
In my case , slack is the server and WD is the client.
I'll configure hosts.allow / hosts.deny later today and i'll post the result


All times are GMT -5. The time now is 04:02 PM.