Results 1 to 3 of 3

Thread: Mount network drive at startup

  1. #1
    Join Date
    Jun 2008
    Location
    Hampshire, UK
    Beans
    39
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Mount network drive at startup

    I'm using an Linksys NSLU2 device plus a USB drive to give me network storage on my home LAN. I've managed to configure SBACKUP to do full and incremental backups to the drive but I'd like to know how to mount it automatically at startup. I assume this is done by editing fstab but I don't know what to put in it.

    The drive is location is:

    smb://netstore/disk%201/ or smb://netstore/disk 1/ and the filesystem type is cifs.

    Help!

  2. #2
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount network drive at startup

    add this to /etc/fstab

    //netstore/disk1 /media/disk1 smbfs dmask=777,username=username,password=password 0 0

    if your netstore dont use password remove username=username and password=password

  3. #3
    Join Date
    Jun 2008
    Location
    Hampshire, UK
    Beans
    39
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount network drive at startup

    Thanks albandy, I'll give it a go.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •