hvacr
May 20th, 2008, 06:50 PM
I am trying to mount my Nas drive, so Amarok will see it. I followed the directions posted by user User #45536,here http://forums.whirlpool.net.au/forum-replies-archive.cfm/971027.html
which is
Just open a terminal and create the mount point:
sudo mkdir /mnt/NAS
Then set correct read/write permissions so mount point is accessible:
sudo chmod 777 /mnt/NAS
Then test that you can mount the NAS drive (Buffalo NAS HDD):
sudo mount -t cifs //192.168.0.103 /mnt/NAS -o rw,username=NASUSER,password=NASUS* ERPASSWORD
NOTE - NASUSER and NASUSERPASSWORD is a user added to your Buffalo NAS and it's password (if it has user management).
If that works, then unmount the NAS drive and edit your fstab so it mounts automatically at boot:
sudo nano /etc/fstab
Then add the lines:
# Add Buffalo NAS HDD mount
//192.168.0.103 /mnt/NAS cifs username=NASUSER,password=NASUSERP* ASSWORD,rw 0 0
Once you have added those lines, press the Ctrl + X buttons simultaneously and when prompted type y to accept the changes and write them.
Now to mount using your fstab settings, type:
mount -a
Hopefully it all mounts withou problems. If not, change all instances of cifs to smbfs and try again.
I followed this to a T, but cannot get it to work on my laptop, the desktop system works fine. I have the same stuff installed on both systems.
I get this error is I do a sudo mount -a
wrong fs type, bad option, bad superblock on \\192.168.1.104,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
I have no idea why this will not work on the laptop. I can access the nas drives by connecting to server, but not this way.
which is
Just open a terminal and create the mount point:
sudo mkdir /mnt/NAS
Then set correct read/write permissions so mount point is accessible:
sudo chmod 777 /mnt/NAS
Then test that you can mount the NAS drive (Buffalo NAS HDD):
sudo mount -t cifs //192.168.0.103 /mnt/NAS -o rw,username=NASUSER,password=NASUS* ERPASSWORD
NOTE - NASUSER and NASUSERPASSWORD is a user added to your Buffalo NAS and it's password (if it has user management).
If that works, then unmount the NAS drive and edit your fstab so it mounts automatically at boot:
sudo nano /etc/fstab
Then add the lines:
# Add Buffalo NAS HDD mount
//192.168.0.103 /mnt/NAS cifs username=NASUSER,password=NASUSERP* ASSWORD,rw 0 0
Once you have added those lines, press the Ctrl + X buttons simultaneously and when prompted type y to accept the changes and write them.
Now to mount using your fstab settings, type:
mount -a
Hopefully it all mounts withou problems. If not, change all instances of cifs to smbfs and try again.
I followed this to a T, but cannot get it to work on my laptop, the desktop system works fine. I have the same stuff installed on both systems.
I get this error is I do a sudo mount -a
wrong fs type, bad option, bad superblock on \\192.168.1.104,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
I have no idea why this will not work on the laptop. I can access the nas drives by connecting to server, but not this way.