D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: mcduarte2000 on September 06, 2009, 09:38:30 AM

Title: DNS-323 Under Linux (mount the drive)
Post by: mcduarte2000 on September 06, 2009, 09:38:30 AM
After loosing a lot of time trying to mount a DNS-323 network drive under Linux Mint / Ubuntu, here is the procedure that worked with me:

1. Install the smbfs package;

2.1 If you want to have the drive mounted only once use the mount command:

Code: [Select]
sudo mount -t cifs //192.168.0.199/Pessoais /media/lua -o guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777
2.2 If you want to always have the drive mounted every time you boot, edit the /etc/fstab file:

Code: [Select]
//192.168.0.199/Pessoais /media/lua cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
Notes:

- You will have to adapt the above commands to your IP and folders;
- To edit the /etc/fstab just type on the Terminal "gksu gedit" and find/edit the file;
- I searched for an easier way to do this (like some application), but I couldn't find any that would make my life easier. If you have one, please suggest.
Title: Re: DNS-323 Under Linux (mount the drive)
Post by: muggins on October 28, 2009, 04:48:57 PM
Thanks for posting this!  i had trouble getting this to work in Pardus, until i figured out that the directory you are linking to must exist ahead of time.  :-\