Mounting a lan drive with cifs

Put in the /etc/fstab file

//192.168.1.10/foldername /media/folder  cifs  guest,uid=1000,iocharset=utf8  0  0

in older versions of cifs

//192.168.1.10/foldername /media/foldername  cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0
more ...


Mounting ntfs units

First you have to findout the uuid of the units

ls /dev/disk/by-uuid -alh

And then add it to the /etc/fstab/ file

UUID=92A437F8A436DE03 /media/windows auto default,uid=1000,gid=1000,dmask=027
more ...