Auto mounting for a network mount
#1
I am having problems making ubuntu auto mount a network drive.
I have added this to my fstab

\\192.168.1.2\root /media/data cifs user=doomstone,passwd=XXXXX,user 0 0

it workes fine, but i have to do a manual "mount /media/data", but as my MCE is a remote control only MCE, is the not good, i need to do do the mount automaic, but i just can't find a way to do it.
Reply
#2
use auto as option ;-)
Reply
#3
derechteversus Wrote:use auto as option ;-)

I tryed that, did not work Sad
Reply
#4
This is a general linux question, please ask in the appropriate linux distribution forums instead.

Cheers,
Tobias
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#5
how about using NFS instead of CIFS

http://www.debianhelp.co.uk/nfs.htm
::edit yes the guide is for debian but it works on ubuntu
Reply
#6
This is XBMC related, because if i boot into gnome dose it auto load it fine, but not when i load into xbmc dose it not.

My fstab looks like this.
Quote:# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=d7e01719-f690-493e-885b-abbafe0f0de5 none swap sw $
\\192.168.1.2\root /media/data cifs auto,user=doomstone,passwd=XXXXXXXX,user 0 0
\\192.168.1.2\xbmc /media/xbmc cifs auto,user=doomstone,passwd=XXXXXXXX,user 0 0
Reply

Logout Mark Read Team Forum Stats Members Help
Auto mounting for a network mount0