Accessing the QNAP from Ubuntu is fairly easy.
First install "smbfs": -
sudo apt-get install smbfs
Then it's just a matter of creating the relevant directories in /mnt
sudo mkdir /mnt/Qdownload
sudo mkdir /mnt/public
sudo mkdir /mnt/Qmultimedia
sudo mkdir /mnt/Qweb
...and then editing /etc/fstab
//192.168.0.2/Qdownload /mnt/Qdownload cifs credentials=/root/.credentials,directio,iocharset=utf8,noacl,noperm,nosetuids,rw
//192.168.0.2/Public /mnt/public cifs credentials=/root/.credentials,directio,iocharset=utf8,noacl,noperm,nosetuids,rw
//192.168.0.2/Qmultimedia /mnt/Qmultimedia cifs credentials=/root/.credentials,directio,iocharset=utf8,noacl,noperm,nosetuids,rw
//192.168.0.2/Qweb /mnt/Qweb cifs credentials=/root/.credentials,directio,iocharset=utf8,noacl,noperm,nosetuids,rw
You then need to create a file with your username and password in it: -
sudo vi /root/.credentials
and put the following in it: -
username=user
password=pass
A simple "sudo mount -a" will mount these filesystems ready for use.
Subscribe to:
Post Comments (Atom)
-
VirtualBox 3.2.10 gives me the following error message when booting Ubuntu 10.10:- piix4_smbus 0000.00.07.0: SMBus base address uninitializ...
-
This is what I have found to be the quickest way to wipe a hard drive under Linux (you can use an Ubuntu Live CD to do this). sudo shred -...
-
PSPad is a great editor for programmers. Instead of using a dedicated Python IDE, PSPad can be tweaked to compile and run scripts directl...
No comments:
Post a Comment