Code:#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. mount -a exit 0
I gave this another try, but can confirm it still causes the same problem, corrupt files are copied to the samba server.
So, I decided instead of killing myself from stress trying to get this working, I setup NFS for Ubuntu sharing and left Samba running for the Windows clients also. I'm sure it is totally insecure with completely open permissions etc, but I honestly don't care any more. This whole experience has been a massive stress and desperately needs integrating into Ubuntu.
Windows has one checkbox to do what fstab does for example. I do love Ubuntu, but this has put me of a little.
I currently run Ubuntu 9.10 and connect to a D-Link DNS-323.
Previously, I used the guide found here to connect.
What is the advantage to using the method listed in this guide?
More precisely, why mount my NAS drive under /media instead of /home ?
Also, what does adding the guest,rw do, exactly?
Does not hide his beans.
Is a proud supporter of nuclear energy.
Last edited by Sader; November 17th, 2009 at 05:47 AM.
You can find more information about all the cifs options by looking at the manual for mount.cifs:
Here's the reason for the guest option:Code:man mount.cifs
The major difference between the guide you followed is that my guide covers more material, and comes with my personal supportCode:password=arg specifies the CIFS password. If this option is not given then the environment variable PASSWD is used. If the password is not specified directly or indirectly via an argument to mount, mount.cifs will prompt for a password, unless the guest option is specified.