In Runlevels make sure autofs and smbfs is working after boot.
Make directory on local machine with name mountFOLDET
mkdir /mountFOLDER
Give permission for this folder
chmod 777 -R /mountFOLDER
Edit /etc/fstab
vi /etc/fstab
And add this
//serverIPorNAME/shareFOLDERonSERVER /mountFOLDER cifs rw,auto,username=userNAMEonSERVER,password=passwordONserver,_netdev,nodev,uid=localNAME,gid=users,file_mode=0777,dir_mode=0777 0 0
At the next reboot the share folder will be mounted.






Recent Comments