If you use AF123's modifications, you would (I think) be able to set up a network share via Telnet, but I don't think that would help you get the images onto the screen unless you use it to copy them to the Humax internal drive (or a USB drive).
... I've written a little script to poll for a a networked drive (so it can be detected if not plugged in at bootup without haviong to telnet in)....
Steve
MacMini://10.0.1.2/TV Shows:user=steve,password=xxxx
#!/bin/sh
smbmount=$(cat /mod/smbmount) #get mount details ([mountpoint]:[smbshare location]:[options])
mountpoint=${smbmount%%:*}
share=${smbmount#$mountpoint:}
sharepath=${share%%:*}
options=${share##*:}
case "$1" in
start)
/mod/sbin/mountnetwork "$mountpoint" "$sharepath" "$options" &
;;
stop)
umount "/media/$mountpoint"
rmdir "/media/$mountpoint"
killall mountnetwork
;;
*)
exit 1
;;
esac
exit 0
# arg 1 is mount point, arg2 share path, arg 3 options (eg user, pword)
mkdir -p "/media/$1"
while [ "$(ls "/media/$1")" == "" ]; do
mount -t cifs "$2" "/media/$1" -o $3
sleep 10
done
I presume it invalidates the warranty if you do so?
This is what I meant. As long as no seals are broken and it's in a state indistinguishable from "normal service", who's to tell?However, it is easy enough to revert to the official firmware should you have a problem, or need to have a hardware fault fixed under warranty.
Its a bit work in progress, but here is what I have - Fairly new to shell scripts so there are probably better ways of doing stuff, but it seems to work![]()
Its a bit work in progress, but here is what I have - Fairly new to shell scripts so there are probably better ways of doing stuff, but it seems to work![]()
They don't have any file extensions but after creating the files make sure they are executable using the following:I'd like to have a go at setting this up, but have one question. What file extensions do I need to give to the 3 files?
chmod a+x /mod/sbin/mountnetwork /mod/etc/init.d/S02CifsMount
Thanks, that's solved the problem. Ran from terminal, no error but drive didn't mount, rebooted the box, drive mounted!You may be able to get it gioing by adding a space between ')' and '#' on line 3.