Originally Posted by richard_g_uk:
“A further update - when the box comes out of standby to perform a recording, twonky starts almost immediately (30 seconds max).
So it appears it is just when I power the box on manually that Twonky is failing to start. Any ideas?”
The auto-start scripts for twonky and mediatomb must wait for the box to dynamically create a hosts file containing the IP address acquired by the udhcpc daemon from your router before starting the application. This hosts file can be found in the
/tmp directory.
Once a valid hosts file exists, a flag file
/tmp/if-up is created, and it is the existence of this flag file that the server scripts wait for. (In case your wondering, the
/tmp directory is part of the temporary file system and so gets created afresh at each boot). So next time you boot the HDR check to see if the
hosts and
if-up files exist. Also you can list the contents of the hosts file to ensure its valid by entering
cat /tmp/hosts.