Just in case it would be somehow useful to others - my first steps/observations after installing hacked VAL6DEUC firmware, and installing SamyGO (as described by arris69 in first post of this topic, using files provided there).
First thing I wasn't 100% sure about: is FAT32 ok here? Or older FAT(16) is necessary? Decided to go with FAT32, because I was too curious to miss opportunity finding it out
Short version: yes, FAT32 works.
Second thing I wasn't 100% sure about: what exactly was meant by "replace all scripts in "init.d" with the new versions from "samygo-init.d.tar.gz". The question was, should files not currently existing in "init.d", but existing in archive, also be added to "init.d"? As it's not replacing. Also, what about files not in archive, but present in "init.d". Should I leave them there? Probably yes, as otherwise, previous step "delete init.d/01_05_framebuffer.init" would make no sense. So, I decided, that it's almost certainly this option: "just extract everything from archive to init.d, replacing when necessary". So I did exactly that.
So, USB flash drive prepared, inserted, TV booted up.Trying SSH to TV. Success! Ehmm... User ir probably "root", but what's the password?
First result in google indicated it's "SamyGO". Nice, it works! And it's fun
Played some time with the shell, started "top" to see what is CPU load when using media player, etc.
OK, let's add hosts entry "192.168.0.180 tv" in my PC, so i don't need to type IP address anymore
Looking back to this topic/thread. Found URL "cgi-bin/test.cgi" mentioned, tested if it works on my
TV. Yes, "TV/cgi-bin/test.cgi" is accessible using browser!
Got interested in "what would I see if I
remove filename and path, and leave just host name". So I tried "TV/" and was surprised to see
phpinfo() output! Wow, PHP already running on my TV
This is extra nice!
Especially since I enjoy developing web applications in PHP
Ok, let's look for a way to navigate TV filesystem more easily.
Trying to run Midnight Commander. Doesn't work. Segmentation fault.
Let's try WinSCP. It works, can browse filesystem using SCP
Although when connecting I get this error/warning message:
Code: Select all
failed with return code 127 and error message
-sh: groups: not found.
Going through folders i noticed folder /dtv
There I found /dtv/cgi-bin/test.cgi (hehe, it's sh script) and /dtv/www/index.php (php).
Added file /dtv/www/mytest.php with following php code:
Code: Select all
<?='Hello from SamyGo PHP on '.date('Y.m.d h:i:s')?>
Can access it using browser! Although for some reason date is not set (1970). Time is ticking, but not sure if it was reseted
after firmware update, or it's for some reason reset on each reboot. So, i'm rebooting TV, to check that.
Strange. Can not connect (ssh/scp/http) anymore. Ping works.
Ok, after scratching my head for approx 4 minutes, I noticed it's up and running again. Does it take 4 minutes to boot up SamyGO?
Or it gets started only after I do something? For example when I go to media player, etc.? Will have to find it out too..
One more thing I just noticed - the file I added to /dtv/www is gone. Is this folder deleted and re-created on SamyGO startup?
Hm, ok, in that case I will probably just have my php files in USB flash drive, and edit "init.d\06_05_apache.init", so that
browser requests to "TV/mystuff" would look for html/php files in USB folder "/www/mystuff/", or similar.
Also noticed folder "/dtv/www/phpsysinfo/"; looks like app for display system information, but accessing it from web browser fails:
Code: Select all
52 include(class..inc.php) specified sensor programm is not supported
Well, that's it for today.
In future will try to to play with samba shares:
1) access them from TV
2) setting up one on TV (so I can share USB HDD, that is attached to TV).
P.S. in case anyone thinks this kind of "information" is not needed here - let me know, will keep my thoughts/babbling to myself