ptodic Wrote:Can you please give me some examples how to do it. I think it would help quite a few people. (I guess I have to edit sources.xml and some linux startup file)
I have tried this:
root@XBMCLive:~# mount -t cifs //asusg1s/c /mnt/asusc -o username="James Bond",password=Agent007,iocharset=utf8,file_mode=0777,dir_mode=0777
mount: wrong fs type, bad option, bad superblock on //asusg1s/c,
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
and it does not work.
Thank you.
Hi,
1st, you need to be sure you have all packages needed to mount windows sharres:
Code:
sudo aptitude update
sudo aptitude install smbfs smbclient libsmbclient -y
Second, you must create local mount point:
Code:
sudo mkdir /mnt/asusc
Then, try to lose the file and dir mode, just to test:
Code:
sudo mount.cifs //asusg1s/c /mnt/asusc -o username="James Bond",password=Agent007,iocharset=utf8
Of course, you need to have a share called "c" @ asusg1s, accessable by James Bond.
After test it, you can add the proper line to fstab to mount the share every boot.
To replicate the above command, you must insert to /etc/fstab something like (preferably, as the last line):
Code:
//asusg1s/c /mnt/asusc smbfs defaults,username="James Bond",password=Agent007,iocharset=utf8 0 0
Cheers.