I installed an SSD, 2GB of RAM and an upgraded battery on my Thinkpad T60. Â Rather than copy my old installations to the SSD, I installed Ubuntu 13.10 via USB drive. Â It went off without a hitch and, boy, is the SSD fast! Â The instructions in earlier posts cover everything I’ve done so far, but the old directions to connect to the NAS are kinda sketchy, so I’m updating them here.
Install support for CIFS. It’s in package cifs-utils
.
In my home directory:
$ mkdir ds411p2
As root, add this to the end of /etc/fstab
:
//ds411p2/home /home/me/ds411p2 cifs user,uid=me,gid=me,rw,suid,credentials=/home/me/.ds411p2pwd 0 0
Edit /home/me/.ds411p2pwd
to look like this:
username=my NAS username
password=my NAS password
$ chmod 0600 ~/.ds411p2pwd
As root:
# mount ~/ds411p2
In /home/me
, replace Documents, Lyrics, Music, Pictures, Videos and any other shared directories in home with soft links to the respective directory in ~/ds411p2
.
I have some shared directories on the NAS that can be accessed by anyone in the group ps411p2
. To mount them, edit /etc/fstab
as root and add:
//ds411p2/video /mnt/ds411p2-public-video cifs rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
//ds411p2/music /mnt/ds411p2-public-music cifs rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
//ds411p2/photo /mnt/ds411p2-public-photo cifs rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
Of course, add the group ds411p2
on the client and give it to the appropriate users. You can use gnome-system-tools
to do this. (It’s not installed by default.) Also as root, create the directories in /mnt
.
Edit /etc/ds411p2pwd
as root to look like this:
username=NAS guest username
password=NAS guest password
As root:
# chmod 0600 /etc/ds411p2pwd
# mount -a
Make sure you can see the files as you.