Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Automatically mount Samba shares on startup - Linux

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
465 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 13, 2011

This should work on most recentish Linux distro's. Simple stuff I know but when I've put a lot of people onto Linux, this was one of the simpler things they were unsure of.

Note: Replace the

Template:
//192.168.1.1/yoursharename /path/to/mount/directory cifs credentials=/path/to/credentials/file,uid=yourlinuxuid 0 0
Example:
//192.168.1.1/music /mnt/samba/music cifs credentials=/home/james/.cred/james.cred,uid=james 0 0

And if you don't want to worry about having a seperate credentials file, you can use this format

Template:
//192.168.1.1/yoursharename /path/to/mount/directory cifs username=yourusername,password=yourpassword,uid=yourlinuxuid 0 0
Example:
//192.168.1.1/music /mnt/samba/music cifs username=james,password=password123,uid=james 0 0

Further Reading:
http://www.samba.org/samba/docs/ - search for fstab unless you want some real in depth reading!

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more