futeko.com FORUM

Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: kodiloaded on June 20, 2019, 02:27:43 PM

Title: How to add NFS Server capabilities to Windows ( FREE )
Post by: kodiloaded on June 20, 2019, 02:27:43 PM
Since SMB transfer from a Windows based PC is so slow I went looking online for an NFS
Based alternative, I found this post in another forum and thought I would share it with the Futeko Community, I used a Dell latitude on Wireless N for testing and was getting around 20MB per second transfers to the Q10 Pro, Not to shabby for WIFI
I prefer NFS, but it's not supported natively on most versions of win.
Here's a way to add NFS service capabilities on win using the FOSS WinNFSd.

1. Download WinNFSd.exe latest version from https://github.com/winnfsd/winnfsd/releases (https://github.com/winnfsd/winnfsd/releases) (2.4.0 as of now)

2. Place it in a new folder. I'm gonna use C:\winnfsd for this guide.

3. Inside that folder create a text document, name it exports.txt, open it and paste inside the paths you'd like to share (eg F:\Videos). One path per line, and start from the second line - leave first line blank! (I don't know why but in my case the path I put in the first line didn't get shared).

4. Create another text document in the same folder, name it nfsservice.bat, and paste in it: winnfsd.exe -id 0 0 -log off -pathFile "C:\winnfsd\exports.txt" and save it.

5. Right-click on that file, Send to -> Desktop (create shortcut).

6. Move shortcut to windows's startup folder (C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)

That's it, run nfsservice.bat or restart (the service will start on every boot).

Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: DMD on August 17, 2021, 01:32:59 PM
Good morning
I read this old thread as I want to modify the Himedia network protocol> Home PC (with HDD box) from SMB to NFS.
In versions of Windows 10, I ask if it is enough to activate only the "Services for NFS" functionality
https://lab.techteam.it/connettere-un-client-windows-nfs/
Or you need the "WinNFSd.exe" tool.

Thank you
Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: lesandra on April 27, 2022, 10:40:19 AM
Is your Windows also free? :)
Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: jasminuk on April 27, 2022, 10:41:25 AM
Thanks to that man who came up with the idea to provide multi-protocol access to the same shared folder via SMB and NFS protocols. SMB is really slow, but I prefer to leave myself the choice so that I can use both SMB and NFS. I like how the NFS functionality is evolving. I experimented a lot on pirated windows :) Thank you for your instruction. A few years ago I would have been very interested in it, but now I prefer to work with a license. Especially when there is a great discount for licensed products.
Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: fredphoesh on August 31, 2022, 07:24:17 PM
That's it, run nfsservice.bat or restart (the service will start on every boot).

This works great, thanks... but one problem...

every time I start my PC I get this nfsservice.bat popup which I have to close every time. This is a new behaviour since updating my PC (I'm on beta Insider build of Win11)

Do you know how to disable the popup from showing every time? The big window in the screenshot is the popup one...

Thanks,
Mark.
Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: pcristi on August 31, 2022, 08:06:54 PM
Try create a scheduled task, trigger At Startup or At log on, with check Hidden box for run nfsservice.bat file inside of make shortcut on Startup folder.
Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: fredphoesh on September 01, 2022, 10:23:17 AM
Try create a scheduled task, trigger At Startup or At log on, with check Hidden box for run nfsservice.bat file inside of make shortcut on Startup folder.

Hi,
Thanks, I am not sure what you mean by "inside of make shortcut on startup folder". I did instruct the scheduled task to open the exe file in the installation folder, and used the OPEN IN field to past the path to the place where the shortcut is... but should I delete the actual shortcut? The shortcut is still there and when I restart the popup still happens as usual...

EDIT:
I removed the shortcut from the start-up folder and hey presto, no popup... but I don't see nfsservice or winnfsd in Task Manager Processes or Services... how do I know if it's running? I do see NfsClnt "client for nfs" running as a service...

Thanks for the help.
Mark.
Title: Re: How to add NFS Server capabilities to Windows ( FREE )
Post by: Mount81 on September 07, 2022, 07:26:00 AM
Is there a way in this to set up the shared folders for "read-only"? And also to allow the share access only to a specific ip address?

For example in haneWin NFS Server (https://www.hanewin.net/nfs-e.htm) you can edit the exports file this way to do that:

i:\MyFiles\Movies -readonly -name:NFS-Movies-I 194.165.1.189