Mr Lazy

August 4, 2009

How to setup NFS shares on WD TV using haneWIN

Filed under: NFS,WD TV — Mr Lazy @ 13:16
Tags: , , , , , ,

Purpose: describe how to set up NFS shares on a Windows Vista PC using haneWIN NFS Server and mount them from your WD TV.  This how-to assumes you are already running one of the community firmwares, have a working USB LAN adaptor and have set up networking (ie. your WD TV has an IP address and you can see it from your PC).  I’ve only tested it with ext3-boot, but it should work with WDLXTV (plus the NFS app pack of course).

UPDATE 27Aug09: after having tried again with haneWIN, I have finally settled on TrueGrid.  The day after I started using haneWIN again, the NFS service would not start for no obvious reason, even after I’d deleted and re-created the exports file (something which had previously fixed this problem).  Another time, the service simply refused to stop.  I can’t recall ever having had problems with TrueGrid.  The way I see it, the only reason to use haneWIN over TrueGrid is if you have files larger than 2.2GB (I’ve yet to try Labtam ProNFS other than just a brief test).

Note: although the program states that there is a 30-day evaluation period, in my experience the program keeps on working.

1.  Download haneWIN NFS Server from

2.  install the software using the setup utility.  By default, the program installs into Program Files\nfsd, but I chose to install to Program Files\haneWIN, as it’s more meaningful

3.  this should also automatically install and start the two necessary services.  To check: Start > All Programs -> Administrative Tools -> Services

screenshot of nfs service hanewin

screenshot of sunrpc service hanewin

 4.   from either the Desktop or the Start menu, select the NFS Server program.  Note that this ‘control panel’ doesn’t have to be running for the NFS server to work (just the two Windows services above, which should start with Windows), it is only used to setup the server.  You can also start the program from the Windows Control Panel

screenshot of start menu hanewin

5.  select the Exports tab and select the ‘Edit exports file’ button.  The exports file is how you tell the NFS Server what shares you want to share with your WD TV.  An example exports file is included with haneWIN and this will have opened in Notepad when you selected this button

6.  modify the exports file according to your needs.  You need to insert the Windows path, followed by a space, followed by ‘-name:’ and then the name you want to call the share (this is how you will reference it from the WD TV).  Below is an example:

screenshot of exports hanewin

Note that the exports file has no extension – the filetype is just ‘File’, so don’t try and save it with a .txt extension because haneWIN won’t like it.

7.  select the ‘Restart Server’ button

NOTE: when you make changes in the future, I would advise you to stop the NFS Server service before editing the exports file.  Then, either restart it manually or select the Restart Server button.  This is because sometimes I found that the exports file would get corrupted if I tried to edit it whilst the server was still running and I had to delete and create a new exports file.

8.  the Exports tab should now auto-update.  This is what my Exports tab now looks like:

screenshot of exports tab hanewin

Notice that the Exports tab shows only the name I gave the share, not the full path.

That should be all we need to do on the PC side – you should be able to leave all the other haneWIN settings at default.  Before we set things up permanently on the WD TV we’ll first test to make sure we can see the NFS share from the WD TV.  [If you are not comfortable with using telnet/SSH and/or the command line, you don’t have to do this, but it’s a lot quicker because you don’t have to edit any files or reboot the WD TV etc.] 

10.  login to your WD TV, using a username of ‘root’ and a blank password (ie. press return)

11.  type the following:

xmount <IP address>:/DVDs DVDs nfs

where <IP address> is the IP address of your PC, for example xmount DVDs nfs.  If the command has been successful you will receive no messages (though just because you receive no message does not necessarily mean the share is mounted)

12.  type:

mount -t nfs

this will show you all the mounted NFS shares, if any.  If you don’t get anything back, it didn’t work.  You should see something like this: on /tmp/media/usb/USB1/DVDs type nfs (rw,v3,rsize=8192,wsize=8192,soft,intr,lock,proto=udp,addr= on /tmp/media/usb/DVDs type nfs (rw,v3,rsize=8192,wsize=8192,soft,intr,lock,proto=udp,addr= on /tmp/media/usb/USB1/8AA6-71D0/DVDs type nfs (rw,v3,rsize=8192,wsize=8192,soft,intr,lock,proto=udp,addr=

the pathnames may be slightly different with the WDLXTV custom firmware and the parameters at the end may be different (regardless of firmware), but don’t worry about this for the moment

13.  on the haneWIN control panel, select the Mounts tab.  It should now reflect the shares that the WD TV has mounted:

screenshot of mounts tab hanewin

14.  if all is well, you can now set things up on a permanent basis on the WD TV.  You need to edit the net.mounts file, either by copying it to your PC, editing it using your favourite text editor and writing it back to the USB stick (or hard drive in the case of WDLXTV) or, if you are feeling adventurous, use vi (or another text editor) directly on the WD TV.

Here’s the relevant line for my share:

xmount DVDs nfs udp,rsize=32768,wsize=32768

the UDP parameter forces haneWIN to use the UDP protocol as opposed to TCP – most people, including myself, have found UDP to be faster.   The rsize and wsize parameters tell NFS what transfer block size to use – because haneWIN supports NFS v3, it allows us a maximum of 32768 bytes.  However, you may have better results using a smaller size depending on your network etc.

15.  you will now need to reboot your WD TV.  Test that the share is visible by going in to the relevant folder from the GUI/OSD.  Make sure the share contains at least one file of the relevant type (ie. a video file if you are going via ‘Video’).

If you have any problems disable any firewall on your PC and try again.  If  problems persist I would recommend starting a new topic at



  1. Hi,

    This is a very good guide, easy to read and understand, however I am a bit puzzled with step 10: logging on to WD TV….

    I just bought wd tv today and i still need to upgrade the custom firmware, so I am just reading this at work 🙂 However I can´t quite see how I can log on the device.

    could you perhaps point me to the right direction? 🙂


    Comment by Óskar — August 5, 2009 @ 15:43

  2. Hi

    Many thanks. The simplest way is to use the telnet tool from the Windows command line. Obviously, you’ll need to have the custom firmware running and the WDTV must have an IP address. Once you’ve got things running a better tool is PuTTY (it is more compatible with the WDTV interface than telnet).

    Comment by Mr Lazy — August 5, 2009 @ 15:59

  3. Hello,

    Thank you for your quick reply 🙂
    Ah ok so I logon to WDTV from my computer, then I think I get it 🙂
    Yeah I think I will use Putty, I´m used to that tool.

    Thank you, gonna try it this evening 🙂

    Comment by Óskar — August 5, 2009 @ 16:04

  4. Hi,

    Been trying it a bit.
    bough a usb lan adapter and hooked it to WDtv device. but when I reboot it says IP: no ip
    Should I use a normal lan cable or a cross over cable.
    I´m wondering if there is something in the router that i should change? :/

    Comment by Óskar — August 5, 2009 @ 17:53

  5. Use a normal cable. However, most devices made in the last few years have auto-detect so it shouldn’t matter.

    Try using a static IP address.

    Comment by Mr Lazy — August 6, 2009 @ 12:45

  6. i seem can not get it to work, it keep showing these errors, any idea?

    xmount bbc nfs
    insmod: sunrpc.ko: module not found
    insmod: lockd.ko: module not found
    insmod: nfs.ko: module not found
    modprobe: failed to load module nfs

    Comment by bbc — August 11, 2009 @ 06:17

  7. You don’t say if you’re using ext3-boot or WDLXTV. If using WDLXTV, have you downloaded and installed the NFS app pack?

    Comment by Mr Lazy — August 11, 2009 @ 09:08

  8. Thanks for responding. im using WDLXTV Win 7, i have downloaded and copy the NFS app pack to the root of the hdd, do i need anything else? thanks again for helping

    Comment by bbc — August 11, 2009 @ 23:24

  9. I’m sorry I don’t use WDLXTV so I don’t know, though I wouldn’t have thought so – have a look at b-rad’s site. I’d also make sure it’s working on Vista before trying Win7, just in case (though your problem is on the WDTV side not PC side of course). You could always try ext3-boot.

    Comment by Mr Lazy — August 12, 2009 @ 08:54

  10. I’m using WDLXTV and i followed your directions (although the one i want to share is E:/folder). When i type the command “mount -t nfs”, nothing shows. what are the things i can check to know what’s wrong

    Comment by yojin — August 21, 2009 @ 02:59

  11. Great article. Probably can add a few pointers on how to configure Windows firewall settings to enable the NFS services.

    HaneWIN turns out to be much easier to set up than Microsoft SFU, plus it works on Vista.

    Comment by partake — August 24, 2009 @ 16:38

  12. Mr Lazy, I am getting a throughput of 550 kb/s with FTP. Do you think I could get better speed (enough for streaming) with NFS? Thanks, Hans.

    Comment by Hans — August 25, 2009 @ 16:47

  13. Hi yes I have obtained speeds in testing of 63 megabits per sec using NFS. The speeds you get will of course depend on several factors such as speed and setup of your network (including USB-Ethernet adapter), speed of your PC, NFS parameters used etc.

    Comment by Mr Lazy — August 26, 2009 @ 09:20

  14. YES, thanks, your guide works great! What now happens is when I stream a file the WDTV’s remote control is sluggish or does not work at all: the movie keeps on playing, I can not pause or stop it, it even plays on when I switch off the WDTV with the remote control. Would you have a clue what I can do / where to look? Thanks again, Hans.

    Comment by Hans — August 27, 2009 @ 20:31

  15. Works great for my setup: WDLXTV, TP-Link TL-WN322G, Win7 x64 share.

    Streaming of 1080i seamless. Thank you Mr. Lazy, I already gave up trying to combine these 3 as i found your tutorial. Excelent work dude!

    Comment by Mihai — September 2, 2009 @ 15:00

  16. Many thanks

    Comment by Mr Lazy — September 2, 2009 @ 15:23

  17. I shifted over to using Hanewin instead of Truegrid on Win XP machine.

    But again on doing xmount command, I get an error of nature
    mount: can’t find /tmp/media/usb/ in /etc/fstab/
    rmdir: ‘/tmp/media/usb/’: Directory not empty

    Any suggestion of what could be going wrong will be helpful

    Comment by Amitabh Bhargava — September 6, 2009 @ 13:02

  18. This is a problem on the WDTV side not NFS. You don’t say if you are using ext3-boot or WDLXTV. Make sure your WDTV has read-write access to /boot ie. if using ext3-boot make sure your USB stick is inserted all the time (I’ve heard of issues with WDLXTV presenting read-only fs). If this does not help then post a new topic on

    Comment by Mr Lazy — September 7, 2009 @ 10:17

  19. Thank you very much, this is an excellent tutorial.


    Comment by Gus — September 22, 2009 @ 06:54

  20. Many thanks.

    Comment by Mr Lazy — September 22, 2009 @ 09:06

  21. I’ve followed your tutorial and it seems that all can work. When i boot Wdtv i found my shared folder but when i try to go inside is say to me that the folder is empty, despite there are 2 video files inside. Are there any permission problems? Thanks

    Comment by Max — October 2, 2009 @ 23:48

  22. Are you sure the shares are mounted? Do ‘mount -f nfs’. Check your syntax for your xmount command and check syntax in your exports file. If all looks ok I suggest you start a new thread at

    Comment by Mr Lazy — October 5, 2009 @ 10:35

  23. Thank you very much for your guide.
    After a lot of puzzling to setup SFU and then further on the forum I got into a term I didn’t know. I’m a Windows user and know nothing about other laguages (well, DBase3+ ! LOL).
    Your guide was the final touch to get the adaptor working. I made net.mounts re your instruction and I can stream without a problem.
    What’s now the easiest way to move files from my PC to my attached USB HD over the network ?

    Keep up the good work !!

    kind regards,


    Comment by Aart — October 9, 2009 @ 15:53

  24. I have followed your instructions using ext3-boot 0.92.

    I see the mounts via the ‘mount -t nfs’ command, however where I go to the directory on the wdtv (via telnet) I can not list the movies with the ls command.

    Comment by Thomas — October 12, 2009 @ 22:19

  25. Thanks, this was very helpful in setting up my NFS share. I tried it with SFU3.5 and I think I could have gotten it working but this just seems simpler since you don’t have to mess with password and group files and all that jazz. You might want to mention about making sure your router and firewall have all the necessary ports open since I had a problem with that. Thanks again

    Comment by Leon — October 18, 2009 @ 21:58

  26. Thanks for this. I’m pretty lazy myself so I like to have things setup right!! jk Anyways, I can get my WDTV to have an IP (running WDLXTV), but I can’t telnet to it from either my Vista64 computer or XP 32-bit computer. I assume this is part of why I can’t get shares to work, either with NFS or with CIFS. Thoughts?

    Comment by AP — October 26, 2009 @ 21:52

  27. Can you ping it?

    Comment by Mr Lazy — October 27, 2009 @ 12:19

  28. I’ll try pinging later today when I get home. Interesting development last night. I’m more interested in sharing my Vista64 computer, so I edited out of my net.mounts file the lines that referred to my XP computer.

    I go and reboot the WDTV with this new net.mounts file and this time I can see….the movies folder I’m sharing from my XP computer!! wtf Note that on the XP computer, I still would have had Hanewin running, and my movies folder was shared through Windows. And my USB stick had both Samba and NFS.bin.

    But how is that possible, for the WDTV to mount the XP share if there was nothing in the net.mounts file?

    Also, my XP shared folder only had one AVI in it. I tried to play it, but I couldn’t FWD or REW or even STOP or PAUSE. Even the POWER button wasn’t working. I pressed POWER and after about a minute, the WDTV shut off.

    I turned the WDTV on again. This time I turned OFF media sharing on the WDTV. I could still see the same movies folder from my XP computer, but this time, when I played the movie, I could REW FWD, everything…and it was smooth as butter!! Should media sharing on the WDTV be on or off??

    Comment by AP — October 27, 2009 @ 12:54

  29. Just because the WDTV displays the movies folder, does not mean it has mounted the share.

    Comment by Mr Lazy — October 27, 2009 @ 13:25

  30. Hmm, but the AVI file I was watching was definitely the AVI file that was on my XP computer. When I went to the XP computer later, I could see the AVI was last accessed 20min earlier (ie. when I was streaming it). And my shared folder now had one of those wdtv folders in it. The kind that shows up on USB sticks after it’s mounted onto the WDTV. I’m really sorry for derailing your blog with noob talk.

    Comment by AP — October 27, 2009 @ 13:53

  31. Okay, latest is I am able to telnet into the WDTV. Not sure what changed. Also, I tried UPNP and TVersity and was able to play a file from my Vista computer, but it was stuttering.

    I’m now trying to get a simple NFS share working from my XP computer. I can telnet from this XP computer, so maybe that will help the process. I have Hanewin setup now. But when I try to xmount through telnet, I get the error..

    modprobe: module NFS not found
    modprobe: failed to load NFS module

    Hmm, maybe I need my USB stick in the WDTV while I try this out (I’m with WDLXTV).

    Comment by AP — October 28, 2009 @ 00:53

  32. No, you don’t.

    Have you installled the from b-rad website?

    Comment by Mr Lazy — October 28, 2009 @ 10:30

  33. The is on my USB stick. But I’m trying to go step by step now to see where things are going wrong. If I read your instructions correct, I shouldn’t need to have yet.

    At this point I can telnet to the WDTV, which means I have a working ethernet adapter and I loaded WDLXTV fine. If I had to guess, I could be doing something wrong on the Windows end, with respect to properly sharing my folders. Is there a way to test that out?

    Comment by AP — October 28, 2009 @ 11:30

  34. So I guess I’m up and running now. But now with NFS or CIFS. I just loaded the UPNP.bin app onto the USB stick and now I can see the files being shared by TVersity. I played them and all seems fine.

    Is there a way to test out my speed? FFWDing etc isn’t the fastest, but seems okay. But if it could be faster with NFS it’s worth pursuing.

    Comment by AP — October 28, 2009 @ 21:08

  35. NFS will be faster than both UPnP and CIFS. For speed testing see the wiki (see ‘Links’, top-right).

    Comment by Mr Lazy — October 28, 2009 @ 21:30

  36. Well Trugrid doesn’t seem to work under XP – keeps crashing

    Comment by Kermonk — October 29, 2009 @ 02:33

  37. I have the same problem as Hans.
    I can ping my WDTV, no problem.
    My shares are the complete d:\ drive on my PC.
    Called it sjers
    user : root
    xmount sjers nfs

    Result :
    modprobe : module nfs not found
    mod probe : failed to load module nfs is on my USB attached harddisc in the root.
    Restarted server , restarted WDTV….completely rebooted PC and rebooted WDTV, but nothing helped.
    How must I go on from here ??

    BTW as a complete dummy : should I use SFU before Hanewin ? (I did with my previous attempt > didn’t work.).

    Comment by Aart — October 30, 2009 @ 14:49

  38. Okay, update. I’m a dumb noob. I had accidentally switched my two wireless USB adapters (XP comp and Vista comp). So I was always trying to share an NFS foider on my XP comp instead of my Vista comp. Sounds stupid. It is. I am.

    Beautiful thing is how simple NFS sharing turned out to be!! Thanks Mr. Lazy!!

    BUT….I was watching my first movie last night. Streamed NFS to WDTV via Vista comp hooked to router via Wireless G, router hooked to WDTV via switches and ethernet cable and Trendnet 100/10 adapter. WDLXTV. Media sharing on WDTV turned off. All was smooth, then about halfway through movie (720p mkv Orphan), WDTV freezes. Picture and sound just freeze on tv.

    I hit the back button on WDTV remote and go back out to movie listings, then I hit back to go into Orphan, and it all works! I even get to restart from the time the movie left off. BUT, it happens again. Then again. More frequent. This is a two hour movie, and it happens about 3 times (seemingly quicker each time). Then about the 4th time, it freezes once and for all. I back out of the movie, but I can’t back in. Just see a black screen on tv when I try to go into the movie. I can back out to the directory and move around the WDTV GUI, but I can’t get any movies to start.

    I finally give up and go watch the remaining 20min of the movie on the other tv, which is hooked up to the Vista computer (no home theatre system).

    So, any thoughts? How can I check a log of what might have gone wrong? Either on the WDTV or on my Vista64 comp? Thanks.

    Comment by AP — October 31, 2009 @ 16:00

  39. Hey,

    i tried your How to. Many thanks for this. But when i try to mount the shares, and want to check it with xmount -t nfs, no response is coming.

    I check /boot/ and the wdtv creates the dir with share name. But nothing else is happening.


    Comment by Martin — November 1, 2009 @ 10:24

  40. my mistake in the first posting. tried mount -t nfs.

    i installed win7 now, but it is the same … i want to throw it away … :(((((

    Comment by Martin — November 1, 2009 @ 14:17

  41. I have WDLXTV and have NFS app on wdtv. When I telnet in and type the xmount movie nfs
    it just moves down to the next line waits for awhile and gives me “mount: RPC: timed out’
    If I type mount -t nfs, nothing happens.
    When I go on the box, it did create the movie folder, but it is empty.

    Any help you could give me would be great.


    Comment by Aaron — November 12, 2009 @ 04:41

  42. Disable your firewall on your PC and try again.

    Comment by Mr Lazy — November 12, 2009 @ 09:35

  43. OK, firewall disabled, tried xmount again. xmount Movie nfs. It goes down to the next line. when i type the mount -t nfs command, nothing happens. This time, there is no Movie folder created on the WDTV. When I look under “Mounts” on the haneWIN server, it shows a mount for Movies on the WDTV.

    Any thoughts?

    Comment by Aaron — November 12, 2009 @ 23:56

  44. If mount -t nfs shows nothing then it hasn’t mounted.

    Check your syntax – make sure you have the “:” in the xmount command

    Also, first time you wrote “movies” and now you write “Movies”. share names need to match EXACTLY between the exports file and the xmount command

    Comment by Mr Lazy — November 13, 2009 @ 12:35

  45. Thanks for responding Mr. Lazy. I did definitely have the : in the command, and I have found that the command is case sensitive as it gives me an error on the xmount command if I don’t have the correct case. The difference between the posts was that I went back and started from scratch and called it something different the second time.

    The other odd thing I have found is that with the windows xp firewall off, i get the time-out error, but it DOES create a named folder in the directory. When I have my firewall disabled, no timeout, but also NO folder creation. Obviously no sucessful mount either.

    Do you think this could be a network set up issue, or is it something I am doing wrong.

    I have the share currently set up in haneWIN under exports called /movie. I then type xmount movie nfs. (without the . of course) after it moves down to the command line # again, I type mount -t nfs. it then just moves down a line to another #, and gives no response. haneWIN displays /movie under the mount tab and says wdtv is the client. when i go into the wdtv, nothing.

    I posted a new thread on the wdtv forum here, explaining my problem also.

    Thanks so much for your help!

    Comment by aaron — November 13, 2009 @ 17:46

  46. Hello,

    I installed 1.02.11_B-RAD.CC_WDLXTV-0.5.7
    and I get the same error as in comment number 31.

    modprobe: module nfs not found
    modprobe: failed to load module nfs

    Is there any solution to this? 🙂

    Comment by Óskar Gunn — November 20, 2009 @ 23:38

  47. I found a solution I think. I downloaded the newest version and that seemed to do the trick.

    Comment by Óskar Gunn — November 21, 2009 @ 00:34

  48. yeah, I wish someone finally want to take the time to answer my post…… (# 37)…….

    Have this WDTV and USB network adaptor for 3 months now and without help I cannot get it to work……

    Comment by Aart — December 3, 2009 @ 10:09

  49. To #48, I think your xmount should be

    xmount sjers nfs

    EDIT: Mr Lazy>> I don’t think that will work if the share name is ‘sjers’, it won’t recognise the ‘d’ ie. the drive name is local to Windows. But you do have the ‘:’ which he didn’t have in his original post, so perhaps ‘xmount sjers nfs’ will work?

    Comment by AP — December 3, 2009 @ 12:23

  50. This is what I have in net.mounts :
    xmount sjers nfs
    So the “:” is now included.
    I can ping and telnet, but that’s all.
    It still says module nfs not found.
    The WDTV appears in My Network Places with as name “000000000000”.
    Properties :
    Device Adress :

    On the WD TV itself it says on the “about” screen :

    Pinging to doesn’t work, to .7 it does.
    Telnet : login with root

    My PC changed since the last time I tried from to …….
    (That’s why it’s now .6 in xmount)

    mount -t nfs doesn’t give back any messages. In Hanewin in mounts nothing appears.
    Typing xmount sjers nfs gives back the familiar : module nfs not found

    In other words….it still doesn’t work……

    Could it be the start of Hanewin ?
    The openings screen shows this :

    Mount Daemon Port : 1058
    NFS Server Port : 2049
    Number of threads : 4
    Maximum transfer size : 8192
    And everything else is selected…..

    On tab Server, only Convert Windows drive letters to lower case is selected.
    On tab Exports : /sjers
    on tab Mounts : empty
    Port Mapper :
    Program Version protocol Port
    10000 2 TCP 111
    10000 2 UDP 111
    10005 3 UDP 1058
    10005 2 UDP 1058
    10005 1 UDP 1058
    10005 3 TCP 1058
    10005 2 TCP 1058
    10005 1 TCP 1058
    10003 2 UDP 2049
    10003 3 UDP 2049
    10003 2 TCP 2049
    10003 3 TCP 2049

    Suggestions are still very welcome………

    Comment by Aart — December 16, 2009 @ 20:34

  51. Sounds like the nfs app bin is not being recognised. Perhaps you should try re-installing WDLXTV or troubleshooting the nfs app bin. I don’t know WDLXTV too well. Have you posted a topic on

    Comment by Mr Lazy — December 17, 2009 @ 12:31

  52. Good News !!

    Yesterday I did as you suggested and re-installed everything.
    New empty harddisc, new firmware re-installed, net.mounts and bins in the root and some content on the HD.
    And……. there it was for the first time : a folder called sjers on my WDTV.
    IP address was right too : and also showed on the openingsscreen.
    And …. streaming worked too !
    So finally it seems to be working, but……
    Put the WDTV off, connected another HD and the recognizing of the HD didn’t work.
    Pulled the HD and the WD from the mains and reconnected and started again.
    The USB drive was recognized (took 65 seconds) and started scanning , which ended after about 4 minutes.
    It all works……

    Now let’s have a look on the PC, while on the WDTV a movie is streaming :
    Mounts in Hanewin appears right now !
    Name of the WDTV in My Network Places is still 12 times 0 : “000000000000”

    So I finally became further than I ever was……..
    Thank you very much for all the help !!

    Drawback : remote is very slow responding when streaming. To stop the streaming with the remote took 3.5 minutes !
    But I guess that’s for the forum.

    kind regards,


    Comment by Aart — December 18, 2009 @ 09:13

  53. Glad you got it working.

    Re the name in Explorer – when I look at my WDTV the UUID contains 12 zeros so that’s almost certainly where it’s getting it from – check the services that are running Windows perhaps there is one that is disabled – anything related to NetBIOS, networking, name resolution etc.

    Comment by Mr Lazy — December 18, 2009 @ 13:49

  54. Mr Lazy, thanks so much for this tutorial. I was able to get HaneWIN set up on my XP box, and running 1.03.01_B-RAD.CC_WDLXTV- I can browse and stream just fine.

    I was wondering if you had any pointers for tweaking HaneWIN? I have tried 32768, 16384, 8192 and 1024 for the transfer size (and confirmed the change by power cycling the WD TV so it would remount and checking the output from “mount -t nfs”. Using FTP to check the throughput it averages about 310kB/s but it “pulses” up to 1.2MB/s. After bursting to 1.2MB/s, it’ll do nothing for the next second or two, then do another (slower) burst. If I let it go for a minute or so the average transfer rate is only 310kB/s, which is no way near enough for me to stream the 1.2MB/s sample file I’m using. (It’s a two hour movie that’s about 8.7 GB.)

    I wondered if it was my choice of USB->Ethernet adapters, so I tried a second one from the approved list from the wiki but am seeing the same speeds and “pulsing” of throughput.

    Some of the forums talk about how terrible NTFS is for streaming, so I even tried formating a secondary drive as EXT2 and using EXT2IFS to expose it to Windows, then using HaneWIN to export that. I’m seeing the same transfer speed and same “pulsing” of transfers.

    I’m guessing there might be some tweaking of HaneWIN I can do, but don’t know where to start. Any pointers or suggestions would be very much appreciated.

    BTW: I tried using Wireshark to see what was going on, but it didn’t capture any packets going to the IP for my WD TV. I’m guessing HaneWIN somehow hides it’s traffic from the Windows IP stack???

    Comment by Brian — January 2, 2010 @ 05:56

  55. @ Brian – I wouldn’t use ftp to do any testing. I would either use the ‘cat’ test method as described on the wiki or use iperf (I think I may have documented that on the wiki I don’t remember). NTFS only makes a difference when talking about drives local to the WDTV, it shouldn’t make a difference to NFS servers. I was using NTFS formatted disks with hanewin/truegrid without issues.

    A window size of either 32768 or 16384 should be optimum in most cases – it’s down to trial and error which one works best for you. There’s not really much other tweaking you can do, so long as you’re using NFS v3 rather than v2.

    The other thing you could do is try TrueGrid. It’s only NFS v2 but no big deal in most cases.

    Wireshark should be able to see the traffic so you’ve probably set it up incorrectly – AFAIK an app can’t hide it’s traffic from the Windows IP stack.

    Comment by Mr Lazy — January 4, 2010 @ 12:25

  56. @ Mr Lazy – Thanks much for your response. I would consider TrueGrid, however it doesn’t support my file sizes (>2GB). Tonight I uninstalled HaneWIN and installed Microsoft’s Services for Unix, and after some trials and tribulations with permissions I got it serving NFS.

    I didn’t mention this in my previous post, however I could never get the speed test via “time cat “filename” > /dev/nul” test to finish because the transfer would just stop. (I could monitor the network % utilization in Task Manager, it would bounce around 20-30% and then reduce to 1%.) The same thing would happen if trying to stream a video – it would reach a certain frame and stop playback, freezing the video on that one frame. I can’t explain why, but the transfer consistantly stops. I was able to successfully transfer a 58MB file, clocking 21Mb/s (it took about 19 seconds). Upping it to a larger file (700MB), it transfers about 78MB and then stops. I have to power cycle the WD TV to get it to respond.

    Using Services for Unix, though, Wireshark does capture the traffic I didn’t see when using HaneWIN (go figure). I’m able to see every fragmented UDP packet (IP protocol) from my Windows box to the WD TV, and every so often the WD TV sends back a “V3 READ CALL” (NFS protocol), which it appears is some sort of Remote Procedure Call. Normally the Windows box responds OK, however in reponse to the last “V3 READ CALL”, the Windows box responds with “V3 GETATTR Reply” and boom, that’s the last packet that gets transmitted.

    This problem is protocol specific, because doing a speed test with FTP I was able to get 4MB/s (32Mb/s) sustained… And since I observed the same problem with both HaneWIN and Microsoft’s Services for Unix NFS Server, my guess is the issue lies in the NFS client.

    So, my quest continues! But this has obviously moved out of the HaneWIN topic, so if I can’t figure it out on my own I’ll post it to one of the forums.

    Unless you have a thought?

    Thanks for your help and tutorial, either way. It was most helpful.

    Comment by Brian — January 5, 2010 @ 08:38

  57. Hi,

    I recently experienced the same behaviour of failing to start haneWIN server on my Windows 7 x64 installation. I tried deactivating Windows Defender real-time protection.

    After that restarting haneWIN worked and now it is running as before.

    Comment by droopy — March 13, 2010 @ 20:02

  58. I’ve installed Hanewin NFS on Windows 7 x64. It’s running great however it is preventing my computer from going into S3 sleep. Any ideas on how I can get around this?

    Comment by Tim — May 18, 2010 @ 07:04

  59. Sorry Tim but no idea. My PC (also running Win7 x64) won’t go to sleep and it’s not even running hanewin any more. I’m surprised that software is preventing sleep, normally you would expect hardware.

    Comment by Mr Lazy — May 18, 2010 @ 08:38

  60. Hi Mr Lazy,
    Please can you help me with using NFS with WDLive and Synology 110j NAS?

    Comment by kiccolsd — June 19, 2010 @ 14:47

  61. Thank you this was helpful.. I’d like to suggest adding something about Windows firewall, as after XP it blocks NFS.. Any one having problems might try turning off windows firewall.

    I have added,
    nfs port 2049 tcp
    nfsd 2049 udp
    sunrpc 111 udp
    sunrpc TCP 111 tcp

    to exceptions, but windows fire wall still blocks if any one knows how to set this so windows clears nfs let me know so I can turn my firewall back on 😉

    Comment by Greenbug — August 2, 2010 @ 13:25

  62. file inodes.nfs can be corrupted and cause nfsd failed to start. Just delete the file inodes.nfs and nfsd will start as normal.

    Comment by james — August 31, 2010 @ 20:21

  63. I am tring to set this up and not getting very far. I edit and save the export file then i click restart server but i never get anything to show up in the exports tab.

    d:\movies -name:Movies

    Comment by David — November 19, 2010 @ 03:15

  64. David, try playing with the upper and lower cases. ie make sure your shared directory is lower cased “movies” and then do “d:\movies -name:movies” without the quotes.

    Comment by AP — November 19, 2010 @ 15:03

  65. Well i did get it working some what, i have found that haneWIN is getting screwed up. It takes severl reboots to get the exports to show. Then if i restart my computer it dosent work again and nfsd.exe seems to get stuck sucking up 25% of my cpu and never goes away.

    Comment by David — November 26, 2010 @ 20:52

  66. I have the same issue where m Hanewin server does not restart itself when my computer reboots. Windows 7 Ultimate 64. I end up having to go thru Hanewin to restart server. NFSServer.exe the service is set to start “automatic”. Not sure what else to do.

    Comment by AP — November 26, 2010 @ 21:22

  67. I have started using ProNFS and it seems to be working fine. Computer has been rebooted several time and i have rebooted the wd-live several time as well. It picks up everytime so far.

    Comment by David — December 5, 2010 @ 00:12

  68. How does Pro NFS work as shareware? With Hanewin, you never actually have to pay.

    Comment by AP — December 5, 2010 @ 02:29

  69. @Brian & Mr Lazy, I’ve go the same issue where my streaming is ‘pulsing’. I’ve done the speed test as described above, and noticed on my 100Mb/s network it goes to about 47% and averaging at around 30%, however it stops for a second or every 5 seconds.

    Brian have you gotten any further with this?

    Comment by Henno — December 26, 2010 @ 11:47

  70. @Henno – to be honest, I gave up. I tried a few tricks but couldn’t come up with anything that worked. It works OK for transfering files, though, so that’s what I do… just FTP the file from my PC to the local USB HD connected to the WDTV. But I would still rather be streaming if someone smarter than me is able to solve the mystery.

    Comment by Brian — December 31, 2010 @ 06:35

  71. Im using ESET as my firewall and cant seem to figure out what to do to allow hanewin to work. It stops the nsfd.exe as soon as i turn i back on. i have the application in the rules list as allow. ANy ideas ?

    Comment by wheels — January 2, 2011 @ 19:13

  72. Dear Mr lazy…….. ur giude is grat and i could setup my wdyv live following it,,,,,,,,, many tks!!!

    but i still have a problem, following i give more details, maybe u can help me, Im getting crazy …… really

    here it is the problem: everytime i switch off the laptop and\or the wdtv live is rebooted i have to mount again the external drives and telnet the xmount command into the wdtv live ….

    it means that almost everytime i want to watch a movie I have to retype the command line (xmount……..etc etc) into the telnet utility otherwise I have no nfs connection……….

    ………. This is getting really annoying, so is time to find a solution

    Lets describe the process I follow:

    Step A)
    I have a laptop with 4 external drives (L,M,N,O)
    All movie are stored in the directory Library (Library1, Library2, Library3, Library4) one for each drive……..very simple
    I run the hanewin nfs software and go to exports tab and edit it
    So I type the windows path (oneline for each drive) in this way

    L:\Library1 –name:Library1
    M:\Library1 –name:Library1
    N:\Library1 –name:Library1
    N:\Library1 –name:Library1

    I restart server and close hanewin nfs

    Step B)
    Then I open my browser and connect to wdtx live with ID and password etc etc
    I click on telnet and digit root then I type in the command line (one each drive)

    xmount Library1 nfs
    xmount Library2 nfs
    xmount Library3 nfs
    xmount Library4 nfs

    Step C)
    I copy the netmount file in one usb flash memory
    I edit in this way (again one line for each drive)

    xmount Library1 nfs
    xmount Library2 nfs
    xmount Library3 nfs
    xmount Library4 nfs

    i tried both / and \………. just to be sure

    Step D)
    I plug the usb flash memory in the wdtv live
    I switch on and perfectly works……….
    But if I reboot the tv live of switch off the laptop the nfs share is lost……… and I should repeat the step B (fortunately only step B)

    Which miserable mistake I make?………….. i also founf the way to creat a net.mounts file in the /conf folder….. but no results……
    firmware installed brad -

    tks alot for ur help…….

    Comment by andrea — January 26, 2011 @ 22:17

  73. I bet your laptop is disconnecting network connections when it goes into a sleep mode or a suspend mode.

    Comment by AP — January 26, 2011 @ 22:27

  74. mainly my laptop is losing network connection when is switched off….. and then on again……….. no more sleep\suspended mode possible, i disabled them……

    Comment by andrea — January 27, 2011 @ 07:23

  75. What OS are you running on your laptop? Go to the task manager and look under Processes (or Services if Windows 7) and look for NFSD.exe. That should be running. If that’s running, everything will be fine.

    When you reboot your computer, that service must be stopping and not starting automatically. I think you’re having the same problem I have with my desktop computer. But I don’t reboot my desktop very often.

    We need to figure out a way to make sure the NFSD.exe service starts up every time the computer starts.

    Comment by AP — January 27, 2011 @ 12:19

  76. yes i guess maybe u r right……. but in the services i activated the following as suggested in the chapter 3) of the guide from mrlazy:

    nfs server implement a NFS Version of 2/3 server
    sunRPC Portmap Daemon implements SunRPC Portmapper for NFS…..etc etc

    so how to make NFSD.exe service starts automatically at every reboot?

    Comment by andrea — January 27, 2011 @ 13:00

  77. What operating system are you using? Try this suggestion..,64.msg660.html#msg660

    “Also, I had a problem with win7 where every time the pc was restarted haneWin would get corrupted and you had to uninstall and re-install to get it working again. I seem to have overcome this by changing the startup option for it to automatic(delayed) as follows:
    right click on my computer and select manage
    click on services and applications
    click on services
    right click on nfs server and select properties
    under startup type select automatic(delayed)”

    Comment by AP — January 27, 2011 @ 14:08

  78. yes i also had the same problem: every time the pc was restarted haneWin would get corrupted and you had to uninstall and re-install to get it working again.
    I solved upgrading to brad firmware……. now hanewin does not crash anymore (fortunately)

    …i will try to select automatic(delayed)and come back to you…… tks alot


    Comment by andrea — January 27, 2011 @ 16:16

  79. Hello….. i have spent sometime trying to solve the issue…… but no results….

    i checked the web frontend config, and i can see the netmount file located on the usb flashmemory connected to the sda port1 of my wdtv livw … plus the same netmount file is located into the wdtv live (conf) as i copied it …… so theoretically i should not even need the flashmemory connected to the wdtv live to automount the external drives…… but when i reboot the laptop i loose the mount of all the drives… way …

    so i think that the problem is in the hanewin nfs server software…… even if i selected the automatic startup as suggested in Mr Lazy guide…for some reason it does not mount the 4 external drives at startup and i should everytime re-type the command lines and telnet into the wdlx tv……

    dont know….. i almost tried everything and dont know what else to do….

    i also wrote to the hanewin support team but they replied that from the nfs server software everythink is ok…… they wrote that xmount is not part of nfs server but it is part of my nfs client software…. and now im lost as im not an expert and i dont know who is my nfs client software… maybe win xp home edition which is installed in my laptop?

    maybe somebody has a clue….

    tks alot


    Comment by andrea — February 7, 2011 @ 09:40

  80. Your NFS Client is your WDTV (Live). I don’t have a Live, but WDLXTV-Live will provide the NFS Client and the xmount command (just like the custom firmware on the Gen1).

    I think this is a similar problem to what I had when I was still using NFS, when my NAS was turned off the connectivity to the shares would be lost even though they were still shown as mounted. I gave up and moved to SMB/CIFS. I actually think it was more to do with the WDTV side than the server side.

    Comment by Mr Lazy — February 7, 2011 @ 11:14

  81. mmmmmm….. i have some doubt:

    if the issue is related to the wdlx tv, what to do more?
    i mean that i have copied the net.mount file into the /conf folder of my wdtv live and moreover i have permanetly connected the usb-flash memory (with netmount file) into the usb port 1 of the wdtv live….

    in this way i should be sure that everytime i reboot the wdtv live it looks for the mounted external drives… and it perfectly works like this …but only if the laptop is switched on (of course) and if previously i did telnet the command (xmount Library1 nfs) in the wdtv live (one command line for each xternal drive)

    if i reboot the laptop i receive the message when the wdtv live reads the usb flash: no media in the current folder…
    so this means that the wdtv live surely reads the netmount file in the usb flash but no mounted drives to read…. maybe….i dont know

    maybe i should telnet also the drive letter like this:
    xmount Library1 nfs
    xmount Library2 nfs
    xmount Library3 nfs
    xmount Library4 nfs

    and in the usb-flash connected to the wdtv live i should write also

    xmount Library1 nfs
    xmount Library2 nfs
    xmount Library3 nfs
    xmount Library4 nfs

    dont know…….

    Comment by andrea — February 7, 2011 @ 12:05

  82. aurgolo is an unknown quantity at this point


    I just want add one more info

    yesterday i tried the following:

    reboot the laptop
    after reboot instead of re-telnet the xmount command in the wdtv live as usual i just opened the nfs server software
    then in the edit tab i clicked on “restart server”
    in this way the wdtv live works properly and can read the external drives

    so basically, maybe, to be sure that all drives are mounted after laptop re-boot i have to restart the nfs server manually…….. maybe

    then i tried to unplug the wdtv live……and in this case the connection is lost even if i restart the nfs server and need to telnet again the xmount command line…… this i can partially understand even if the netmount file is located into the /conf folder of the wdtv live and also in the usb-memory stick permanently connected to the wdtv live

    but this is better than nothing….

    what do u think? tks alot


    Comment by andrea — February 8, 2011 @ 09:33

  83. Yes, what you are doing there is what I have to do every time my computer reboots. Go into Hanewin and RESTART SERVER. Then unplug and plug back in the WDTV. I tried the “delayed start” for NFSD.exe, but it does not work all the time.

    Comment by AP — February 8, 2011 @ 12:23

  84. there is no solution for it? i mean some automatic start of the nfs server?
    i copied into the /conf folder of the wdtv live the netmount file with xmount command lines …. it should read it everytime i switch it on including also after plugging-unplugging….

    Comment by andrea — February 8, 2011 @ 13:49

  85. The WDTV will only “read” the shares if your PC is sharing them. The only way your PC will “share” anything is if the Hanewin NFS Server is up and running. The problem with Hanewin is that everytime you reboot your PC, is stops sharing, and you have to restart server.

    If you can get Hanewin to share all the time, the WDTV will be fine. My PC has Windows 7 right now, and I am not able to get Hanewin to always start sharing upon reboot. There is a process called NFSD.exe (under task manager, processes). We need someone who understand Windows to explain how we can always make sure NFSD.exe starts properly when the computer is rebooted.

    Comment by A P — February 8, 2011 @ 14:24

  86. yes i understand…….. im trying to surf on the net and find some clue….. surely should be a way…

    lets keep in touch and update each other

    Comment by andrea — February 8, 2011 @ 14:37

  87. You also have Windows 7? I have Windows 7 64 Ultimate.

    Comment by A P — February 8, 2011 @ 15:04

  88. i have xp home edition on my laptop and i have 4 external lacie (2 tb each) hard drives with my movies

    Comment by andrea — February 8, 2011 @ 16:41

  89. I had the problems with Hanwin not restarting as everyone is talking about. I think that is was the firewall. Even though i had a rule to let it run. If i disabled the firewall and reset it would work everytime. and now for whatever reason it works with the firewall on. i all but gave up but for whatever reason it now works fine.

    Comment by wheels — February 9, 2011 @ 01:22

  90. this is what i received from hanewin support team:

    If you do a telnet to this device, you log in on it and execute commands on this device.
    The device is your client and Windows your server.
    You can set up a NFS connection only from client to server.

    i guess it means that hanewin just mounts the external drives of my\our laptop\computer (server) then the wdtv live (client) should initiate the NFS connection and here is the problem….our wdtv live when switched of does not start any NFS connection….. what do u think?

    Comment by andrea — February 9, 2011 @ 09:14

  91. It’s true the client (WDTV) is initiating the NFS connection with the server (Windows). However, Windows (Hanewin) needs to be serving something in the first place. Otherwise there is nothing to connect to.

    The WDTV is not our issue right now. We need to know how to make sure Hanewin (process NFSD.exe) starts every time Windows is rebooted.

    Comment by AP — February 9, 2011 @ 11:35

  92. i also received this from hanewin support…….. maybe it also can help:

    there are two ways to setup an automatic nfs connection:

    Check if the wdtv live offers a way to execute an xmount command on power up.

    Or you should search for a windows telnet software that offers scripting capabilities.
    With such a telnet you should be able to automate the login and xmount steps.
    I remember that the DOS serial port/telnet software “kermit” offered such features.

    Comment by andrea — February 9, 2011 @ 12:27

  93. Yeah these Hanewin people are misunderstanding you. They think we have having trouble with our WDTV, which is what runs the “xmount” commands. We don’t have a problem with the WDTV. Everytime your WDTV is plugged in, it will run the xmount commands you have set up.

    Our issue is with Hanewin, which doesn’t always start the NFS Server when your computer is rebooted. The best way to talk to Hanewin is to not even mention the WDTV (your client). Our only issue is with Hanewin.

    Q: Sometimes when I reboot my computer, Hanewin does not automatically start the NFS Server. I have to manually open Hanewin and click “Restart Server”. I am running the latest version of Hanewin with Windows. Any thoughts? Thanks.

    Comment by A P — February 9, 2011 @ 14:34

  94. Ok now i will write back t hanewin support team

    referring to ur question:
    i noticed that sometimes when i switch on the laptop and open hanewin software if i go into the edit tab and click on “restart server” there is no need to telnet the xmount to the player……… but this happens sometimes not as a rule, yesterday for example no way even clicking several times on “restart server” and i had to telnet again the xmount command into the wdtv live……..

    if i unplug the wdtv live also no way …. i have to telnet again or it will never work even if the laptop is on and never switched off

    this is very strange as i have permanently connected to the wdtv live a usb-memory with a netmount file in…… plus i copied the same netmount file in the /conf folder of the media player (in this case the usb memory should not be needed as the player reads the netmount file at startup)…….. but if i unplug the nfs connection is lost

    so maybe there are problems on both sides: hanewin software and wdtv live……. or maybe we miss something but i dont understand what

    Comment by andrea — February 9, 2011 @ 15:52

  95. I don’t have the same problem as you. Generally, my WDTV stays “mounted” all the time, because even if you turn the WDTV “off”, the network connection is still on. So if I reboot my PC, and start the Hanewin server, my WDTV will still be connected fine. At least that’s how I’ve noticed it. And even if the WDTV does somehow disconnect, I don’t mind as much because I can unplug and plug it back in, to remount. In that case, I’m in my basement ready to watch a movie. What I don’t like is heading to the basement to watch a movie with the WDTV, then realizing nothing is working and I have to go back upstairs to restart Hanewin on my PC.

    If you do want to ensure your WDTV is remounting everytime your PC starts, it looks like Mr Lazy has some advice here.

    Btw Mr Lazy, sorry if we hijacked your site. Thanks a lot for your help. I’m curious though, it sounds like you gave up using your WDTV and Hanewin. Are you still using a WDTV? With SAMBA/Cifs? If you have a “guide” we’d appreciate it very much. If don’t mind trying SAMBA if it works. Isn’t that ALL we ever want….something that WORKS! lol

    Comment by A P — February 9, 2011 @ 16:00

  96. ooops…… it is geting a bit complicated:

    1) in the putty web site there are different file to download…. which one is for me (putty.exe, puttytel.exe, pscp.exe, psftp.exe, plink.exe, pageant.exe, puttygen.exe)?

    2) then i should create a text file containing all my xmount commands and call wdtv_commands.txt and save it in the PuTTY directory (ok not difficult)

    3) then create a Windows Command Script (.cmd) file on the desktop containing two lines:

    cd C:\Program Files (x86)\PuTTY
    plink.exe wdtv-ssh -pw “” -batch -m wdtv_commands.txt

    ok medium difficult (how to create a .cmd file? with wordpad? or copy and then edit another cmd file?)

    4) then i set up a task in Task Scheduler to run the command script at Windows Startup better if delayed by one minute to be safe
    ok medium difficult (i just need to find task scheduler in windows) or if i dont find i run (just click) manually the .cmd file after laptop boot…right?

    is it like this? ciao tks alot

    Comment by andrea — February 9, 2011 @ 16:19

  97. No problem, you’re not hijacking the site at all – anything that helps other users is welcome. I’m glad people are still finding the site useful. I must admit I haven’t read every word of your comments I don’t get much free time these days 🙂 Yes I gave up on NFS, probably due to similar issues you are having. Still using WDTV gen1 and still using CIFS. Strange thing is when I first tried CIFS it didn’t seem to be able to cope with the bitrate so I tried NFS which is a much more efficient network protocol. Now, I don’t have any trouble with CIFS, weird. I don’t have any Blu Ray rips mind, but I do have home videos at 1928x1080i/17Mbps bitrate and they play just fine. CIFS really is a piece of cake to set up there is nothing to do (though easier on a NAS than a Windows PC) – it’s just a case of getting the syntax of the xmount command right and, if using Windows, setting the correct permissions on the shares. Plenty of info out there (including WDTV specific stuff).

    Comment by Mr Lazy — February 9, 2011 @ 16:23

  98. Great……. maybe i will find a solution

    could u please post a link to some guide for CIFS connections? I dont even know what CIFS is……. sorry… -(((

    Comment by andrea — February 9, 2011 @ 16:39

  99. I’m no expert, so my explanations are not the best. But NFS is like you’re serving things in a UNIX format. CIFS is where you serve things in a standard Windows format. CIFS is essentially just when you right-click a folder in Windows and select to share the folder.

    Everyone was using NFS because it’s supposed to be faster/more efficient than CIFS. Looks like even Mr Lazy gave up on NFS and is happy with CIFS. So it’s probably time to at least try CIFS.

    I think Andrea you have a WDTV Live. I have a WDTV Gen1. So our instructions might be different. Here’s somewhere you can start to look.

    Otherwise search CIFS, SAMBA, WDLXTV. The only thing I am not totally sure about is that the way to “share” a directory is to just right-click and choose “share folder”. Is that all you do on the PC side?

    And my PC is not setup with a password. So do I just leave the username and password blank?

    If I get mine up and running, I’ll let you know.

    Comment by A P — February 9, 2011 @ 17:04

  100. Well so far no luck. I shared my folders on my Win 7 PC with “Everyone”. I set the security for those folders to “Everyone”. My Win 7 PC does not have a password.

    On the WDTV Gen1 USB stick, I copied In net mounts, I tried two different mounting lines…

    xmount // VIDEOS cifs user=,pass=

    xmount // VIDEOS cifs

    I deleted the WDTV folder from my USB key. I plugged in the WDTV. With NFS, I have the Media Library set to off. I can see a folder called “VIDEOS”, but when I click into it, I just see Folder Empty. I tried with Media Library on, and I went to view videos “By Folders”…..nothing.

    Funny, most people say NFS is the way to go because it’s faster than CIFS. Truth is, I only ever started with NFS because I found beautiful instructions here on Mr Lazy’s site. Hanewin might not work perfect, but at least I know how to get it to work.

    Mr Lazy, if you see anything wrong in my steps above, let me know. I tried googling around, but people only talk about how they setup their net.mounts file. No one clarifies what to do on the PC side so I can be sure.

    Comment by AP — February 9, 2011 @ 22:48

  101. Been trying things all night, with no luck. I even tried a tiny program called FreeNFS

    Anyways, my latest is I am playing with the Hanewin service, NFSD.exe. Here’s something to try Andrea…

    Right click MY COMPUTER and select MANAGE. Go to Services and Applications and Services on the left side. Got to the service called NFS Server, and double click it.

    This is where we already tried changing the startup option to Automatic Delayed. That’s not necessarily working for me. Next, click the tab at the top that says Recovery. You have three options of what to do if the service fails. For all three, I chose to “restart service”. My hope is that if it doesn’t get rolling right away when you boot up your computer, it might get going the next time it tries. I think the default is to try again in 1 minute.

    Anyways, I can’t confirm now if this will help, but I will change the setting and give it a shot.

    Comment by AP — February 10, 2011 @ 01:05

  102. Dear all,
    tks alot for suggestions…….. i will try to follow as much as possible

    the only thing i can add maybe is the following:
    the easiest way to share the folders in windows is of course via windows file sharing but i read that it is slower than nfs and movie sheets does not work (there is a well known bug in the wdtv live firmware and the device shows the movie and the jpg image) this is why i opted for NFS…. but unfortunately i found other problems to solve as you know…

    please give a look to the following guide is also very interesting and complete:

    currently i have 2 problems to solve:

    1) automount of external drives at startup.
    as u know i have 4 external hard drives connected to my laptop (server) with all movies and movie sheets stored
    the laptop in connected via local wifi to the wdtv live
    i cannot find the way to automount them at startup so maybe i will switch from nfs to cifs….is is enough fast and not affected by the bug which duplicates iso image and jpg files

    2) i also have stored mkv files and bluray images
    the wifi domestic network is not enough fast as it does not support 30\40 mb bitrate per second necessary for bluray….. so i guess i will connect the wdtv live with the laptop via network cable, but i should find in any case a fast connection….. will cifs be able to manage such a high bitrate necessary for bluray movies?

    Comment by andrea — February 10, 2011 @ 07:55

  103. Okay so the instructions in Item 101 above seem to work, for ensuring Hanewin starts the NFS server every time my PC is rebooted. So far anyways, with plenty of reboots.

    But now I can see the problem I have is my WDTV loses it’s connection with my PC when the PC is rebooted. And funny enough, if I telnet into the WDTV, it shows everything xmounted properly. But still I get the empty folders.

    The only way for me to get it running again is to reboot the WDTV. Either unplug and plug it back in. Or telnet into it and type in “reboot” to reboot it.

    What are other telnet commands I can use, to sort of “unmount all” before remounting. Or even better a “refresh” or “remount”.

    Comment by AP — February 11, 2011 @ 23:41

  104. Is that normal the thumbnails doesnt show up?

    Comment by Paum — February 16, 2011 @ 02:06

  105. If you don’t see a thumbnail at first, just try playing the file and it might show up. Once a thumbnail shows up the first time, I believe it gets cached, so it will definitely show up every time afterwards.

    Comment by AP — February 16, 2011 @ 02:28

  106. No that’s not normal. But sometimes I get this now even using CIFS/SMB. I think the WDTV just does not handle thumbnails very well, and it’s not expecting them to come from a network (ie. they take longer etc.). To fix, I usually just power cycle. But try deleting the .wdtv folder and then power cycle.

    Comment by Mr Lazy — February 16, 2011 @ 13:29

  107. Thanks friends, I’m gonna try this. 🙂

    Comment by Paum — February 17, 2011 @ 01:42

  108. Well I had everything working, but then I decided to upgrade my network to gigabit. I replaced my Linksys WRT54GL with a TPLINK WR-1043ND gigabit router. Seems my gigabit network is running fine with whatever old cable I had. But of all things, my WDTV is back to screwing up.

    Seems as though this TPLINK router can’t handle my Hanewin settings, which were

    “Number of UDP NFS Server Threads” = 32,
    “Maximum NFS transfer size” = 32768

    With 32768, my WDTV won’t play anything. With 16384, the video plays, but is choppy. With 8192, the video plays, but takes a long time to start up. And eventually gets choppy.

    Do these settings matter? What does lowering UDP NFS Server threads from 32 do?

    Comment by AP — February 26, 2011 @ 21:40

  109. I hate when new problems get created, but luckily I think I figured out the “problem”. If you have the WDTV connected to a gigabit network, you have to enable “Flow Control” on the NIC of your server PC. So go into Device Manager on the computer with Hanewin, and go into the properties of your network device, then under Advanced, you should see Flow Control and you can disable it.

    Another thing I noticed. When you have a gigabit setup, it’s nice to be able to enable Jumbo Frames, but Jumbo Frames has to be disabled for the WDTV to work. So same thing…..go to the Properties of your network device on the Hanewin PC, and look for Jumbo Frames and disable it.

    So with my system setup as good as can be, I can watch everything I want. Only outstanding issue is subtitles with mkv’s. Subtitles (srt files) must be embedded into the mkv using the mkvmerge program. If you use an external srt subtitles file, the mkv will start and play, but it will eventually get all choppy.

    I wonder if the Asus O!Play has these foibles.

    Comment by AP — February 27, 2011 @ 17:52

  110. Dear all im back to the forum after some time spent to configure my wdtv live.

    Currently i have a laptop (asus eeepc 1000H) and 4 external drives connected to the laptop with all my movies stored in.
    I installed in the laptop the hanewin software for NFS connection and i share the drives in wifi through the domestic network
    Everything is fine……. i watch movies (DVD.iso files) with moviesheets, etc etc

    But…… when i try to watch .MKV files or bluray.iso files the movie start flickering (lets say that up to 15mb\sec bitrate the movie is ok, if the bitrate gets over the movie starts flickering…… for example some MKV files go over 20mb\sec and bluray.iso normally run at 30\32 mb\sec)

    In order to speed up my domestic network i tried the following:

    1) setup a dedicated router (dlink dir-615) only for wifi tranfer from laptop to wdtv live
    2) disabled the built-in wifi card in the laptop and installed a usb adapter asus USB-N11
    3) connected the wdtv live to the domestic wifi through a lynksis WUSB600N adapter

    i also tried to manage the adapter asus usb-n11 in the laptop in 2 ways: using the windows zero configuration wifi service or using the asus utility software hoping to increase the wifi speed….. no way….

    the connection icon tells me that the wifi connection speed is 150 mb and signal power excellent…….

    what to do more? how is possible that there is no way to get MKV files and blurays working properly?

    Comment by andrea — February 28, 2011 @ 08:31

  111. How are you able to check the speed of the video while you’re watching? You say at 15mbps the movie is fine, but when it goes up to 20mbps the movie gets choppy?

    Also, just to be sure, are you using external srt subtitles files? If so, try turning off subtitles while watching.

    Comment by AP — February 28, 2011 @ 12:48

  112. Ciao AP,

    to check the movie bitrate while wdtv live is playing just press the ok button on the remote control and the movie info will appear on screen including bitrate, file size, etc…

    no external subtitles, just the .iso files (dvd or bluray) or .MKV files which already include subtitles

    Comment by andrea — February 28, 2011 @ 13:30

  113. Andrea, I forgot you have a WDTV Live, and I have an older WDTV Gen1. The info button does not tell me the streaking bitrate.

    I see you tried a bunch of options so far. You need to isolate your bottleneck.

    1. Try connecting your laptop to your router with a cable, and I assume your WDTV Live is connected to your router with a cable. Does that still give you problems?

    2. Your movies are on external USB drives connected to your laptop. Try streaming a movie that’s saved to your laptop hard drive. Maybe the USB connections are holding things up.

    I just setup a gigabit lan in my house, and afterwards I learned that gigabit speeds and wirless N (300mbps) are all overstated. Best transfer I can get over my LAN from PC to PC is about 35MB/s (280mbps). Best transfer from Wirless N laptop to PC is about 10MB/s (80mbps). Now obviously those speeds are good enough for streaming blurays. But apparently the reason it’s so slow is because there are other bottlenecks, like hard drive speeds, and maybe poor USB connections or USB hubs.

    Comment by AP — February 28, 2011 @ 15:03

  114. HEllo

    i can try to connect the router to the wdtv live with a cable ……. why not, or maybe if possible connect directly the laptop to the wdtv live… but i dont know how to do it….

    the strange thing is that the wifi connection sometimes worked fine also with bluray iso files (up to a birate of 30-32 mb\sec) but most of the times is flickering ……. so i dont understand why this strange behaviour, maybe some settings

    about the external drives, i have 4 lacie and i also installed the lacie usb boost software ……. the usb-hub is a powered-belkin 7 ports high speed… but no results…
    …of course i can try to play a movie directly from the internal drive of my laptop…. but even if it works i have to manage 8 terabyte of movies….. impossible to copy all of them into the internal drive…

    dont know what else try…..

    Comment by andrea — February 28, 2011 @ 15:41

  115. Hello AP,

    i tried to stream a movie copied in the C: hard drive…….. no way also shuttering high bitrates movies like with external drives…

    maybe the only way is NFS sharing through cable connection laptop-wdtv live……… ?

    Comment by andrea — March 2, 2011 @ 11:12

  116. Yes, try an ethernet cable from the laptop to your router. This should be the last thing to try.

    Comment by AP — March 2, 2011 @ 12:36

  117. There is now a 64 bit version of hanewin NFS server.
    I just installed it and it seems to be working fine, I had to recreate the firewall settings as the default directory has changed but no big deal.
    I have rebooted both my players and they both mounted the shares fine. (I kept the ‘exports’ file from the previous installation)

    great tutorial!

    Comment by DG — May 5, 2012 @ 14:40

  118. Awesome, thanks for letting us know about the 64bit version. I will try it out. Does anyone know if using the 64bit version will have any practical improvement?

    Comment by AP — May 5, 2012 @ 14:54

  119. The fuck, am I the only one that doesn’t understand this shit? Where the fuck is net.mounts, why can’t anyone in the wdtv community use realistic step by step instructions for anything.

    Comment by dafuq — January 5, 2014 @ 22:54

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: