Install software:

opkg update 
opkg install kmod-crypto-misc
opkg install kmod-nls-utf8 kmod-nls-base kmod-crypto-hmac kmod-crypto-md5 cifsmount
opkg install kmod-fs-cifs
mkdir -p /mnt/local
mount.cifs //192.168.0.20/Shares /mnt/local -o guest,sec=ntlm

Test new mount windows share directory:

root@Arduino:~# cd /mnt/local
root@Arduino:/mnt/local# touch test
root@Arduino:/mnt/local# ls
...
test
root@Arduino:/mnt/local# rm test

Make it mount at next reboot:

nano /etc/rc.local
...
#reset-mcu
mount.cifs //192.168.0.20/Shares /mnt/local -o guest,sec=ntlm
exit 0

Mount CIF drive for User:

mount.cifs  //192.168.0.20/Shares   /mnt/local  -o user=username,pass=password,sec=ntlm

 

Comments powered by CComment