Mounting over Samba (SMBFS)
No Comments Yet so far
Leave a comment
February 24, 2008, 1:24 pm
Filed under: Tools, Ubuntu | Tags: note to self sharing files mount smbfs
Filed under: Tools, Ubuntu | Tags: note to self sharing files mount smbfs
If you want to get one Ubuntu box talking to another and have the shares mounted, then this is what you do.
Say that Box1 has a Downloads folder that you’d like to have available on Box2. Follow these steps:
- On Box2, apt-get install smbfs
- On Box2, create a mount point (e.g. /media/Downloads) and edit
/etc/fstab. - Add the line
//Box1/Downloads /media/Downloads smbfs credentials=/etc/samba/.cred-file,gid=users,dmask=775,uid=USERNAME 0 0 - Create
/etc/samba/.cred-fileand add the lines:username=USERNAME
password=PASSWORDobviously replacing with the correct values.
sudo mount -a
You should be sorted.
Leave a Comment
No Comments Yet so far
Leave a comment
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>