I did this:

First, let's create the mount folder. You will need a separate folder
for each mount.

sudo mkdir /media/mountname

Then edit your /etc/fstab file (you need root privileges) to add this
line:

//servername/sharename  /media/mountname  cifs 
guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

Where

*
guest indicates you don't need a password to access the share,
*

uid=1000 makes the Linux-user with specified uid or username
owner of the mounted share, thereby allowing that user to rename
files,
*

the combination iocharset=utf8,codepage=unicode,unicode allows
access to files with names in non-English languages. This doesn't work
with shares of devices like the Buffalo Tera Station, or Windows
machines that export their shares using ISO8895-15. With these the
codepage argument has to be codepage=cp850, otherwise characters like
the German 'Umlaute' are displayed as garbage. 

After you added the entry to /etc/fstab type:

sudo mount -a

I got this:

jos...@dell-desktop:~$ sudo mount -a
mount: wrong fs type, bad option, bad superblock on
//192.168.1.250/Disk1,
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


Specific instructions for the freenas would be most appreciated.

thx.


-- 
jbraveman
------------------------------------------------------------------------
jbraveman's Profile: http://forums.slimdevices.com/member.php?userid=16943
View this thread: http://forums.slimdevices.com/showthread.php?t=57502

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to