Etsitkö asiaa kotimaan kielellä kotiautomaatiosta (X10, 1-wire) tai talonrakennukseen liittyvistä asioista? Ne löytyvät nykyään täältä toiselta osastolta.
Blog previously known as 'Home Theatre PC'
« Ubuntu 10.04 Lucid Lynx - PXE bootable installation without any bootable media to begin withiTunes fails to connect to iTunes Store »

Samba (smb,cifs) share from Mac OSX Snow Leopard to Linux

Permalink 09/08/10 20:15, by Esa Viitala, Categories: Software

If you are trying to mount a directory from OSX with 'Windows sharing' enabled and you have problems with characters not showing properly then your linux system has something else than utf8 in nls_default.

To make it work, simply put something like


//10.10.10.10/music /mnt/music cifs rw,credentials=/etc/credentials,iocharset=utf8 0 0

into your /etc/fstab (the important bit being iocharset=utf8). To avoid having to type plaintext passwords in world readable file (/etc/fstab) you can specify credentials file, which can be readable by only root. Credentials file needs to have two lines in it

username=zzzz
password=yyyy

All you need to do now is

umount /mnt/music & mount /mnt/music

Feedback awaiting moderation

This post has 52 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

Contents

Search

free blog software

©2013 by admin

Contact | Help | Blog theme by Asevo | multiple blogs | webhosting