Page 18 of 28

Re: New web inferface (Webif) for SamyGO

Posted: Wed May 30, 2012 5:55 pm
by DEUS
@arris69 just one file from installer, this needs to be copied to /dtv/cgi-bin/ then, but i dont think you should do this yet
@tao13 did you installed the main module?
@brunogts77 you have shell access? can you run some commands on it? can we do a troubleshooting session on this? when you have 1 hour to spent.

Re: New web inferface (Webif) for SamyGO

Posted: Wed May 30, 2012 10:01 pm
by brunogts77
DEUS wrote:@brunogts77 you have shell access? can you run some commands on it? can we do a troubleshooting session on this? when you have 1 hour to spent.
brunogts77 wrote:Hi "Deus".Yes i have shell access!I have installed the web interface (Webif) like described earlier on this post! If you tell me what commands to use, I think there will be no problems!

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 8:06 am
by tao13
Hello DEUS and many thanks for your answer and time.
I made this stepts:
1.i open my virtual machine with ubuntu
2.i open a shell for my tv samsung ue46d5500
3.i run this command from your first post
. /dtv/SGO.env; wget "download/file.php?mode=view&id=1175" -O /dtv/install.tar; tar -mvxf /dtv/install.tar -C /

and i recived this message on the pc :
. /dtv/SGO.env; wget "download/file.php?mode=view&id=1136" -O /dtv/install.tar; tar -mvxf /dtv/install.tar -C /
--00:51:11-- download/file.php?mode=view&id=1136
=> `/dtv/install.tar'
Resolving forum.samygo.tv... 46.4.199.222
Connecting to forum.samygo.tv[46.4.199.222]:80... failed: Address family not supported by protocol.
Connecting to forum.samygo.tv[46.4.199.222]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,240 [application/octet-stream]

0K .......... 100% 532.68 KB/s

4.i verified in the "dtv/cgi-bin/" directory, there are only two files (checked through ftp):
Modules.cgi
test.cgi
when I try the link "http://192.168.0.11/dtv/cgi-bin/install.cgi" in the browser, i get "404 not found" error
where 192.168.0.11 is my tv ip address.

5.i opened this link from a browser http://192.168.0.11/cgi-bin/Modules.cgi where 192.168.0.11 is my tv ip address
and in my explorer open this:
aaa.gif
After this i tried to input in link and name yours link from first post , but nothing happend.I think i input a wrong values.
In this
After this i don't know what can i do.For your question "@tao13 did you installed the main module?" i think is doens't install this module.After i reboot my tv , all disappears and i must all steps from the begin.

Many thanks to all for your help.

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 3:02 pm
by hazara
DEUS wrote: How to install: Open a shell on your TV and enter the following line (it is the latest installer (because i forgot an symlink its not and you need to "mkdir /dtv_rwcommon/temp"))

Code: Select all

. /dtv/SGO.env; wget "http://forum.samygo.tv/download/file.php?mode=view&id=1175" -O /dtv/install.tar; tar -mvxf /dtv/install.tar -C /
Can it be installed manually over ftp? If yes, which files/folders goes where? (i.e. /cgi/ or ...)
Wanted to test on ue32d5700. I am using windows, and have not shell access.

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 3:06 pm
by DEUS
@tao13 click online and then select "#BUILD=2012-05-13 Main WebIF Module " if you get something there
@brunogts77 can you post output of:
busybox
/bin/busybox
curl -V
sed

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 3:09 pm
by DEUS
@hazara no webshell? yes can be, copy Modules.cgi to /dtv/cgi-bin/ and make it executable

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 3:40 pm
by hazara
DEUS wrote:@hazara no webshell? yes can be, copy Modules.cgi to /dtv/cgi-bin/ and make it executable
executing "chmod 777 Modules.cgi" via ftp result in "invalid command" error. How to make it executable? I am using commander ftp for transferring files and the windows built ftp for executing command line commands.

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 4:46 pm
by tempinbox
@DEUS
this is my situation: tv samsung ue32c6600 hacked over hotel mode through hotelmode hack disk image:
i have telnet, ftp, ssh access to my tv
I have samygoextension v.3.15 on my usb
if i put this address

Code: Select all

http://192.168.x.xxx:81/phpsysinfo/
in my web browser i get
this Image
if i put this address

Code: Select all

http://192.168.x.xxx:81/cgi-bin/test.cgi
in my web browser i get
this Image
if i put this address

Code: Select all

http://192.168.x.xxx:81
in my web browser i get
this Image
Then I run one shell from putty
As you wrote on first post I run the command

Code: Select all

. /dtv/SGO.env; wget "http://forum.samygo.tv/download/file.php?mode=view&id=1175" -O /dtv/install.tar; tar -mvxf /dtv/install.tar -C /
And i obtain this output
Image
then I verified in the "dtv/cgi-bin/" directory, there are only two files (checked through ftp):
Modules.cgi
test.cgi
when I try the link "http://192.168.x.xxx/dtv/cgi-bin/install.cgi" in the browser, i get "404 not found" error
where 192.168.x.xxx is my tv ip address.
then I opened this link from a browser http://192.168.x.xxx/cgi-bin/Modules.cgi where 192.168.x.xxx is my tv ip address and i get "404 not found" error too.
how to fix this please help me.
I also try to make Modules.cgi executable by this command

Code: Select all

dtv/
dtv/cgi-bin/
dtv/cgi-bin/Modules.cgi
/ # chmod +x dtv/cgi-bin/Modules.cgi
/ # cd dtv/cgi-bin/
/dtv/cgi-bin # chmod +x Modules.cgi

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 7:31 pm
by DEUS
@tempinbox this is outdated (and wrong) "http://192.168.x.xxx/dtv/cgi-bin/install.cgi" is this still written somewhere?
because your webserver is on port 81 you should use 81 then "http://192.168.x.xxx:81/cgi-bin/Modules.cgi"
file should be already executable
@hazara use webshell for setting the rights, may not possible via ftp client

Re: New web inferface (Webif) for SamyGO

Posted: Thu May 31, 2012 10:16 pm
by brunogts77
DEUS wrote:@brunogts77 can you post output of:
busybox
/bin/busybox
curl -V
sed
Hi Deus! WHERE CAN I FIND THAT INFORMATION? Over FTP?