Please Note : the following requires SSH access and if followed, it will add a non standard module to your Vera. Therefore only do this with that clear in your mind.
[quote=“hek, post:13, topic:175444”]The NAS mount/logging has been working flawlessly for a month now! Seems to be a really good solution to all this data problems we’ve seen using USB.
Chris has been pretty busy@work lately and it would be good if he would add re-mount functionality before release (in case NAS goes offline for a long time and Vera unmounts the NAS).
Meanwhile you can install the CIFS packages:
cd /tmp/ opkg update wget http://download.mios.com/firmware/openwrt/ramips/packages/kmod-crypto-md5_126.96.36.199-1_ramips.ipk opkg install kmod-crypto-md5_188.8.131.52-1_ramips.ipk wget http://download.mios.com/firmware/openwrt/ramips/packages/kmod-crypto-hmac_184.108.40.206-1_ramips.ipk opkg install kmod-crypto-hmac_220.127.116.11-1_ramips.ipk wget http://download.mios.com/firmware/openwrt/ramips/packages/kmod-fs-cifs_18.104.22.168-1_ramips.ipk opkg install kmod-fs-cifs_22.214.171.124-1_ramips.ipk opkg install cifsmount rm kmod-crypto-md5_126.96.36.199-1_ramips.ipk kmod-fs-cifs_188.8.131.52-1_ramips.ipk kmod-crypto-hmac_184.108.40.206-1_ramips.ipk
To test mounting manually. Try this:
mkdir /nas mount -t cifs -o user=<username>,pass=<password> //<nas ip>/<share> /nas
Looks like fhis for me:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 4608 4608 0 100% /rom
tmpfs 63728 740 62988 1% /tmp
tmpfs 512 0 512 0% /dev
/dev/mtdblock7 11264 3452 7812 31% /overlay
overlayfs:/overlay 11264 3452 7812 31% /
/dev/sda1 518320 22448 469544 5% /tmp/log/cmh
/dev/mtdblock8 4480 4480 0 100% /mios
2879621632 1069356416 1810162816 37% /nas
[quote=“Chris, post:16, topic:175444”]I’ve been running this for a month or two now, and it’s worked fine… The latest version of dataMine has support for this.
Install CIFS as per the info earlier in this thread, and copy all the files from the /dataMine directory on your USB to your NAS. Set the variable SetMountOption to “-t cifs -o user=XXX,pass=YYY”, and SetMountPoint to the NAS share (eg “//192.168.2.10/share”).
dataMine should then mount the NAS on your next startup - in theory it should also unmount your USB - it worked for me, but you should double check this.
The current version won’t attempt to remount, so, if you have a power cut, then if Vera starts before your NAS, you may end up with the mounting failing. To resolve this you’d need to press the restart button in UI5. This will be addressed in the next version.
Once again keep in mind this is early adoption stuff, and I’m thinking @Chris is very busy with other things at the moment, so all we can do is support each other.
I have done the above myself and sadly I’m unable to get it to work successfully, but if you read the full thread where this all started you can see @Hek and others have got it working well. http://forum.micasaverde.com/index.php/topic,14910.0.html