On my home LAN I have a mixed cadre of systems with XP running alongside Ubuntu, and I have movies, financial documents, printers, photos, MP3s, etc that need to be available to multiple users on both Ubuntu and Windows. Many people will say "Use SAMBA!" or "Use both!" for sharing, but I like NFS because I had many issues with SAMBA I wasn't able to resolve. So, I went to NFS. That was easy enough on the Ubuntu machines, but the XP machines were a different story. Out of the box, Microsoft's Windows XP doesn't come equipped to talk to NFS servers, which was a minor problem, but one easily fixed by downloading and installing Windows Services For Unix. For the most part, I was able to follow the guide here with regard to setting up and configuring WSFU:
http://ubuntuforums.org/showthread.php?t=310168
It's a well written guide, and everything ran exactly as expected until I was trying to mount the Ubuntu shares on my one XP machine, failing with the error "Cannot find network" or "No network found". Naturally, I did all the standard XP Network troubleshooting steps first (check the firewall settings, etc), all of which failed to resolve the issue. Finally, I managed to resolve this by following the information below, which I discovered after exhaustive Googling:
http://blogs.msdn.com/sfu/archive/20...own-error.aspx
Specifically, I changed the registry setting to use reserved ports and suddenly I was able to connect successfully:
- Open regedit
- Navigate to HKLM\Software\Microsoft\Client for NFS\CurrentVersion\Default
- Add UseReservedPorts as a DWORD and set it's value to 1
Alternatively, if you don't want to dig through the registry, you can copy the text below, save it as a .REG file and doubleclick in Windows:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Client for NFS\CurrentVersion\Default]
"UseReservedPorts"=dword:00000001
After I restarted the Client for NFS service (to allow the change to take effect), I went back to Explorer, opened the "Map Network Drive" dialogue and put in the address of one of the Ubuntu shares (192.168.2.5:/export/mp3s - formatted exactly like mounting them on another Ubuntu machine), Windows asked me to confirm my credentials, and I was able to mount the shares (FINALLY!), and copy files back and forth with ease. Obviously, your shares probably won't look the same, and you may not even have the same trouble. As far as I know, this should work on any non-server version of Windows from 2000 Pro up to Windows 8, but I have only tested on Windows XP.
Bookmarks