Good to hear its working well :) Credit should also go to xyz321, who I believe got samba / cifs / nfs working in the first place. My script is only a helper for that stuff...
I've not tried any scientific tests, but file transfers felt a lot quicker for me when I switched from samba to nfs. This was with a mac though, so the bottleneck could have potentially been with Samba in Snow leopard. In Osx Lion,
We could maybe get some better performance if we could get the...
Patience ;)
I can't test this as I don't have 2 boxes, but from what I can see in the samba configuration file (/mod/etc/smb.conf), it looks like workgroup=WORKGROUP, folder=media, and hopefully the others shouldn't matter.
Worth I think just clarifying the expected behaviour of the Wake up on LAN feature. It doesn't actually wake up the host when a video is accessed. I suspect what ntm1275 is seeing here is a "light sleep" mode on the NAS, where the network connection is maintained (so its still "pingable" by the...
The settings are actually stored in /mod/settings, and [Modsettings] is just a mountpoint to there. If you delete it when the mount is not set up (eg after uninstalling and rebooting) then mod/settings will not be disturbed. I did it that way to allow [Modsettings] be put in different places on...
It can certainly make it hang for long periods if the device goes offline when its mounted. The new version should be better and quicker at detecting this and unmounting the share.
I've personally not seen any random reboots, and I've been using this script (though not the most recent...
Put up version 1.3 late last night - made unmounting of dropped hosts more robust (hopefully fixes problems with prolonged unresponsiveness after host goes offline).
Made mounting of share in "My Videos" optional for each mount (defaults to off), and added 1st pass support for wake up-on-lan...
Unfortunately I don't think this is feasible as it links to DLNA, rather than mapping to anywhere on the filesystem. More likely to be able to fool it into putting up the USB media list without something plugged in.
I'll make it optional in the next build, based on a setting in the [ModSettings] folder. I also personally don't like it as it also provides a route to accidental deletion (hence my warning in the directory name!)
It would be ideal if it could appear in USB media list without having to plug...
You could be on to something there Black Hole :) - ntm1275, do you have any of these installed? Sounds pretty clear that mounting in My Videos is causing the problem. If you want to make it behave like the previous version in that respect, you could open the scanmounts script in /mod/sbin, and...
"Disk Utility", then "File", "NFS mounts" is where it is meant to be done, however I couldn't get this to work (didn't try very long though). I just run a little shell script on the desktop when I want access. The contents are:
#!/bin/sh
mkdir /Volumes/Humax
mount -o soft -t nfs...
It may take a reboot to sort itself out, especially if you have some shares mounted. Its probably best to uninstall the old one, reboot, then install, but it should work itself out if not...
New version uploaded (1.2) - fixed bug with retrying failed mount, added "[Shares]" directory in "My Videos" on HDR (with "don't delete" warning!), changed "*Modsettings" to "[ModSettings]" as requested, and merged domain and workgroup settings. Hopefully no new bugs...
Just tried to delete a test share from webif, and it did what I hoped it would which was fail
"/media/compaq"...Directory...Runtime Error: delete.jim:56: error renaming "/media/compaq" to "/media/compaq_": Device or resource busy at file "delete.jim", line 56
It did then look like the...
Yikes - sorry about that! My fault - I think I told you to use rm -rf as I'm so used to doing that (-rf means recurse and force!) rmdir is what I should have said as that will not delete a non-empty directory. I'll edit my post to remove it!
[Edit] Nope, maybe I imagined it - how were you...
For smb, the folder should just be the "folder=share" - the \\LS-xxabc\ part is the machine name, which is covered by the IP address instead. (if your local dns is working ok I think you could even put in "ip=LS-xxabc" but personally I've never managed to get local name resolution working on my...
Strange - the extra commas don't seem to cause a problem for me - I set up a simple share with no workgroup or domain last night and it worked fine, as it seems to for aber1 too. Maybe its an HD/HDR difference somehow. I'll try and play some more this evening...
Good to hear its working well :) Credit should also go to xyz321, who I believe got samba / cifs / nfs working in the first place. My script is only a helper for that stuff...
I've not tried any scientific tests, but file transfers felt a lot quicker for me when I switched from samba to nfs. This was with a mac though, so the bottleneck could have potentially been with Samba in Snow leopard. In Osx Lion,
We could maybe get some better performance if we could get the...
Patience ;)
I can't test this as I don't have 2 boxes, but from what I can see in the samba configuration file (/mod/etc/smb.conf), it looks like workgroup=WORKGROUP, folder=media, and hopefully the others shouldn't matter.
Worth I think just clarifying the expected behaviour of the Wake up on LAN feature. It doesn't actually wake up the host when a video is accessed. I suspect what ntm1275 is seeing here is a "light sleep" mode on the NAS, where the network connection is maintained (so its still "pingable" by the...
The settings are actually stored in /mod/settings, and [Modsettings] is just a mountpoint to there. If you delete it when the mount is not set up (eg after uninstalling and rebooting) then mod/settings will not be disturbed. I did it that way to allow [Modsettings] be put in different places on...
It can certainly make it hang for long periods if the device goes offline when its mounted. The new version should be better and quicker at detecting this and unmounting the share.
I've personally not seen any random reboots, and I've been using this script (though not the most recent...
Put up version 1.3 late last night - made unmounting of dropped hosts more robust (hopefully fixes problems with prolonged unresponsiveness after host goes offline).
Made mounting of share in "My Videos" optional for each mount (defaults to off), and added 1st pass support for wake up-on-lan...
Unfortunately I don't think this is feasible as it links to DLNA, rather than mapping to anywhere on the filesystem. More likely to be able to fool it into putting up the USB media list without something plugged in.
I'll make it optional in the next build, based on a setting in the [ModSettings] folder. I also personally don't like it as it also provides a route to accidental deletion (hence my warning in the directory name!)
It would be ideal if it could appear in USB media list without having to plug...
You could be on to something there Black Hole :) - ntm1275, do you have any of these installed? Sounds pretty clear that mounting in My Videos is causing the problem. If you want to make it behave like the previous version in that respect, you could open the scanmounts script in /mod/sbin, and...
"Disk Utility", then "File", "NFS mounts" is where it is meant to be done, however I couldn't get this to work (didn't try very long though). I just run a little shell script on the desktop when I want access. The contents are:
#!/bin/sh
mkdir /Volumes/Humax
mount -o soft -t nfs...
It may take a reboot to sort itself out, especially if you have some shares mounted. Its probably best to uninstall the old one, reboot, then install, but it should work itself out if not...
New version uploaded (1.2) - fixed bug with retrying failed mount, added "[Shares]" directory in "My Videos" on HDR (with "don't delete" warning!), changed "*Modsettings" to "[ModSettings]" as requested, and merged domain and workgroup settings. Hopefully no new bugs...
Just tried to delete a test share from webif, and it did what I hoped it would which was fail
"/media/compaq"...Directory...Runtime Error: delete.jim:56: error renaming "/media/compaq" to "/media/compaq_": Device or resource busy at file "delete.jim", line 56
It did then look like the...
Yikes - sorry about that! My fault - I think I told you to use rm -rf as I'm so used to doing that (-rf means recurse and force!) rmdir is what I should have said as that will not delete a non-empty directory. I'll edit my post to remove it!
[Edit] Nope, maybe I imagined it - how were you...
For smb, the folder should just be the "folder=share" - the \\LS-xxabc\ part is the machine name, which is covered by the IP address instead. (if your local dns is working ok I think you could even put in "ip=LS-xxabc" but personally I've never managed to get local name resolution working on my...
Strange - the extra commas don't seem to cause a problem for me - I set up a simple share with no workgroup or domain last night and it worked fine, as it seems to for aber1 too. Maybe its an HD/HDR difference somehow. I'll try and play some more this evening...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.