Hey,
I use aserver computer to share a usb drive and printer so that me and my mother can both use them.
It was running xp, but in the interest of stablity, I decided to switch it to linux.
The problem is this:
When I share the drive with samba, it works fine and all, but when I reboot, the share is lost.
I had this problem in xp, but I solved it by mounting the drive to a folder on my system drive.
However, I am noob @ linux, so I don't know how to overcome this issue in a foreign os.
Tyvm, wheybags
P.S: Running ubuntu.
you can place commands that you want run on every boot in /etc/rc.d/rc.local
take a look at that file and add a line to setup your share in there
cheers
anyweb
Quote:you can place commands that you want run on every boot in /etc/rc.d/rc.local
take a look at that file and add a line to setup your share in there
cheers
anyweb
What is the command for sharing, and where in the file should I put it?
EDIT: Also, I have rc0.d - rc6.d, which one do I go to?
How are you sharing the drive out with samba?
If you are editing your smb.conf file, then it should persist after a reboot.
I think your issue may be to do with the fact the USB drive isn't being remounted after a reboot, so samba shares out an empty directory, rather than the mounted drive. Is the USB drive mentioned in /etc/fstab at all?