New web inferface (Webif) for SamyGO

Here are software that related with Samsung D series TVs.
Please don't create any new topic here unless you have software to post/release.

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

AW: New web inferface (Webif) for SamyGO

Post by DEUS » Fri Apr 13, 2012 2:24 pm

Oh sorry wrong name, need to fix instructions. Address is HTTP://IP/cgi-bin/Modules.cgi then.
Also test.CGI should work anyway, comes with samygo.

NeoMoucha
SamyGO Project Donor
Posts: 86
Joined: Sat Dec 10, 2011 9:18 pm

Re: New web inferface (Webif) for SamyGO

Post by NeoMoucha » Fri Apr 13, 2012 2:47 pm

alright! now it works! thanks!!!
I love SamyGO :)

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO

Post by Spoza » Fri Apr 13, 2012 8:18 pm

Hmmm, as usually, it doesn't work for me... only empty page is rendered from Modules.cgi (tested in IE9/Win7 and old SeaMonkey 1.19/WinXP).
Source of the resulting page:

Code: Select all

<head><title>Modules</title></head>
<body>
How can I debug what's going on there?
(the test.cgi is working fine of course, as is the phpsysinfo and the webshell...)
PS59D6900 T-MST5DEUC-1023.0

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS » Fri Apr 13, 2012 10:42 pm

for debug you can run the script directly or take a look into apache error log file in /dtv/apache.error.log, i just tried Firefox yet

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO

Post by Spoza » Fri Apr 13, 2012 11:40 pm

Heh, guys, I probably don't get the whole idea... :-O
After I switched the TV off and on again, the script is gone... all deleted...
Don't tell me that users are supposed to download (wget) and install (untar) the script after every TV boot... :-O

As for the Apache error log, nothing suspicious there, just info about missing favicon.ico. But apparently nothing about any eventual errors during execution of the CGI script...
PS59D6900 T-MST5DEUC-1023.0

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

AW: New web inferface (Webif) for SamyGO

Post by DEUS » Sat Apr 14, 2012 12:09 am

For install the webif it loads the file only to /dtv/cgi-bin/ then you go to the page in the first post and install it. After the install it is permanent, but according to your post you did not get far enough. Will try internet explorer later

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO

Post by Spoza » Sat Apr 14, 2012 2:09 am

The Modules.cgi simply does not produce any output here, even after installing the webif manually over ftp (so that I can see the left Navigation frame now, etc.).

Also, the Info.cgi script looks for some info which apparently does not exist on my TV, here is the output I get:

Code: Select all

Widget Server: 
Currently used MAC: 
DUID: 
CPU: MStar Chip 
1st Image version: 
2nd Image version: SWU_T-MST5DEUC_001018_I01_EK000_110928
Apache Log

otn stuff

networkinfo

nameserver 192.168.1.254
options timeout:3 attempts:1

Other info:

MStar Chip
rootfs / rootfs rw 0 0
/dev/root / squashfs ro,relatime 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /dtv tmpfs rw,relatime,size=30720k 0 0
tmpfs /tmp tmpfs rw,relatime,size=307200k 0 0
tmpfs /dsm tmpfs rw,relatime,size=12288k 0 0
tmpfs /core tmpfs rw,relatime,size=20480k 0 0
/dev/stl0/10 /mtd_rwarea rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl0/11 /mtd_exe squashfs ro,relatime 0 0
/dev/stl0/12 /mtd_rocommon squashfs ro,relatime 0 0
/dev/stl1/37 /mtd_rocommons squashfs ro,relatime 0 0
/dev/stl1/33 /mtd_swu rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl1/34 /mtd_contents rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl1/35 /mtd_rwcommon rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl1/36 /mtd_rwdata rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
/dev/sda1 /dtv/usb/sda1 vfat rw,sync,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed 0 0
/dev/sdb1 /dtv/usb/sdb1 vfat rw,sync,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed 0 0
/dev/sdc /dtv/usb/sdc xfs rw,relatime,nouuid,attr2,noquota 0 0
/dev/stl0/10 /etc/passwd rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl0/10 /etc/profile rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
//192.168.1.1/F /dtv/usb/sdm/192.168.1.1/F cifs rw,relatime,unc=\\192.168.1.1\F,username=SamyGO,addr=192.168.1.1,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.1/H /dtv/usb/sdm/192.168.1.1/H cifs rw,relatime,unc=\\192.168.1.1\H,username=SamyGO,addr=192.168.1.1,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.1/J /dtv/usb/sdm/192.168.1.1/J cifs rw,relatime,unc=\\192.168.1.1\J,username=SamyGO,addr=192.168.1.1,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.1/M /dtv/usb/sdm/192.168.1.1/M cifs rw,relatime,unc=\\192.168.1.1\M,username=SamyGO,addr=192.168.1.1,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.1/Users /dtv/usb/sdm/192.168.1.1/Users cifs rw,relatime,unc=\\192.168.1.1\Users,username=SamyGO,addr=192.168.1.1,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.1/X /dtv/usb/sdm/192.168.1.1/X cifs rw,relatime,unc=\\192.168.1.1\X,username=SamyGO,addr=192.168.1.1,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
As you see, lot of info is missing...
For example, I don't have any "common" directory in /mtd_rwcommon, so there is no info about the Widget Server and MAC address... there is no "otn" directory in /mtd_rwarea, so there is no info about DUID. In fact, I was not able to find this info anywhere in the TV so far...

To be honest, this is so frustrating... f*ck you Samsung, I'm going to get some DVB-C tuners from Digital Devices for my HTPC as soon as my budget allows me and then BYE-BYE, stupid Samsung's built-in "functionality"! :-(
PS59D6900 T-MST5DEUC-1023.0

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS » Sat Apr 14, 2012 8:51 am

@Spoza thank you for the input and testing, even if you are not happy at all you helped to fix things, the problem was that the $TMPDIR was not there (/mtd_rwcommon/temp)
i am not familiar with MStar yet because i only have an Arm based, maybe i should ask for a dump (later not now)

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO

Post by Spoza » Sat Apr 14, 2012 2:21 pm

Okay, after manually creating temp dir in /mtd_rwcommon it works...
I tried to install the movie manager and it displays the extended characters incorrectly... I hope to add more details later...

Anyway, if you guys want some testers, you need to create CLEAR and COMPREHENSIVE(!) instructions how to make this whole thing working. And the instructions must be UP-TO-DATE, i.e. they are completely useless even if only one small thing is not correct or if they are not kept updated with latest development.
If you target USERS with your applications, you can't expect developer's knowledge, no DIY...

I mean, don't get me wrong, I'm glad to help (even if I may not sound like that ;-) ), but it seems that I'm pretty alone... most other users are just desperately trying to find some useful informations, but fail most of the time, because the bits and pieces of info are chaotically spread around the forum, wiki pages contain only basic info (and sometimes even outdated)...
That certainly won't encourage common people to start testing...
PS59D6900 T-MST5DEUC-1023.0

User avatar
brunogts77
Posts: 648
Joined: Sat Feb 18, 2012 8:34 pm

Re: New web inferface (Webif) for SamyGO

Post by brunogts77 » Sat Apr 14, 2012 3:25 pm

Hello people, since I can access my web tv but what shell is that it is possible to do? Below is what I see but do not know what to do?
UE46D5700ZF T-MST5DEUC-1025.0] [OTN=OFF] [OSCAM=ON]
UE32F5300 T-MST12DEUC_1119] [OTN=OFF]

Post Reply

Return to “[D] Software”