PDA

View Full Version : The latest "Web Interface PHP" by Kiovo



goran
08-01-2010, 09:13 PM
We better put it up, just in case we lost it in the move... ;)


* Latest version of PHP 0.80 Multilingual

Changelog:

- Version with multilingual support (Directory / long).
- Fixed display problem with Cyrillic characters iframes.
- Monkus tools integrated into version 1.5.
- This version has been completely transferred to / SMP.
- Monkus tools on the directories / MMP / httpd and / PLUGINS rebuilt.
- All the configs are now in / configs and can be kept for an update.
- Added more buttons in the telnet window.
- Languages English, German, Holländisch, Russian
- Firmware Download HDBox.info list.
- WI-plugin here (only for current firmware 0.9.3501 or later)

No info on how to install etc. I hate that... So, here is my old "how to"...

First for version 0.35 and then 0.40... Haven't tried the new one yet... But I bet you will succeed if you combine the two carefully...

===========VERSION 0.35===========

0) If you had installed an earlier version - delete it and reboot!!! If you have many plug-ins installed you will have to uninstall some stuff to make some space for httpd, as it is big and the space for EMUs [where httpd is going to] is rather limited!!!

1) Unpack httpd [right click on it -> 7-zip -> Extract here].

2) Start FileZilla -> create httpd sub-folder in EMU folder [right click on it -> Create Directory] and make sure it has "the rights" = CHMOD it to 755 if by a miracle it isn't already 755 [right click on it -> File Attributes -> 755 -> OK].

3) Drag & drop the whole content of httpd folder [you got by extracting it onto your HDD] into the newly created httpd folder in your AZbox HD.

4) This might not be needed for anything except the thttpd file but I did it anyway: CHMOD to every folder and file in httpd folder and also inside the azscripts sub-folder -> CHMOD to 755 all of them [until I learn better, hehe...]

5) In the folder include you will find the file -> ip.conf -> right click on it -> View/Edit [I connected it with UE32, you can choose another Unix editor, like Notepad++, NOT Notepad, WordPad or Word!!!] -> edit the IP address to put in AZbox HD IP address, like 192.168.x.xxx -> Save!

6) Do the same for telnet.conf file but don't Save yet!

7) If you have azbox as your password, then in the same file remove # in front of the following line, so it looks like this:
Script.script=login:|root|Passwor d:|azbox|MMP[~]$ |df -h

In that case, put the # sign in front of the following line, to look like this:
#Script.script=login:|root|MMP[~]$ |df -h

If you have no password - it's the other way round.

If you changed your password - edit the password itself.

Then -> Save!

8) I did the same thing in iperf.conf file [steps 5 & 7]!

9) Reboot!

10) Start PuTTy
-> write root for Login and hit Enter button on your keyboard, then
-> azbox for password [if you have it or whatever you may have changed it into] and Enter
-> then cd /EMU/httpd and Enter,then
-> ./httpd and Enter.

Here is the whole thing, to see what it looks like:


MMP login: root
Password:
MMP[~]$ cd /EMU/httpd
MMP[httpd]$ ./httpd
this will trigger the following:


kill AZBox webinterface
killall: thttpd: no process killed
killed
start AZBox webinterface
You can now close PuTTy.

11) Start Firefox and in the address box put in the AZbox HD address and hit Enter.

Like, http://192.168.x.xxx (http://www.sat-universe.com/redirector.php?url=http%3A%2F%2F1 92.168.x.xxx%2F) - where x = your AZbox HD IP address.

12) In your Firefox you will see AZbox Tools, on your left side, in the lower corner -> click on it -> if you want for the httpd plug-in to Auto-start -> click on Enable Webinterface Autostart! You will see this, then:


generate startscript

cp /EMU/httpd/S80httpd /DISK2/etc/start.d/
chmod 755 /DISK2/etc/start.d/S80httpd

AZBox Webinterface now start whenever the Box restarts!
There, have phun...:coolgleamA:

Btw, the Web Interface v. 0.3 has many options, more tools and toys, now!!! Screenshot capture works nicely, too...

GREAT DEVELOPMENT!!! :respect-046:

P.S. I can not stream any live TV to my PC yet. Screenshot capture doesn't work if you are watching something from your USB, for instance, etc. But it's getting better and better. You will eventually be able to programme your machine from work, for instance...

==============VERSION 0.40===============

Put USB Memory Stick into your AZbox HD, so you can save the images and pass them to your PC/laptop!

Unpack the file you downloaded to your PC!

You'll get 2 folders:

EMU -> I suppose the httpd folder goes to EMU folder in AZbox HD [I]via FTP, like FileZilla.

-give everything CHMOD to 755, just in case...

MMP -> to MMP folder, where you give it CHMOD to 755, I suppose...

But I had many failures... before I did it, after REBOOTING!

Then, start PuTTy, login and do this, as above:


MMP[~]$ cd /EMU/httpd
MMP[httpd]$ ./httpd
This triggers the following:


chmod: /EMU/httpd/thttpd: No such file or directory
kill AZBox webinterface
killall: thttpd: no process killed
killed
start AZBox webinterface
MMP[httpd]$
Stop PuTTy and start Firefox and write the AZbox HD address into the address bar, of course, as above...

It seems the author has listened and put the thttpd in another folder, so we have more space for EMUs/CS SW now - THANK YOU!!!!!:coolgleamA:

About 60% occupied in EMU, at my end now, says MaZ and about 74% in Flash part [FW]. Good! :)

Movies folder on my USB memory stick still cannot be browsed from the Web Interface. Otherwise it works well! I edited the movies.conf file in include folder to USB1, from USB2 and - it couldn't accessed directly!

If I went to HOME button in Web Interface and navigated to it, I could, of course, give a command to start playing the video. But it wasn't "streamed" to my laptop.

harrycoates6
19-05-2010, 02:10 PM
reading your initial comment's remind's me as a newbie on technomate problem's asking you to be more precise in your answers he.he.he how does it feel frustrating ?

harrycoates6
02-06-2010, 12:38 PM
Have you succeeded in loading & running .08 web interface yet goran .If you have i would appreciate your full install procedure.Itried it myself but was unable to make it work. I am missing out on something obviously. Many thanks for all your help in the past & also in the future

ian51
02-06-2010, 04:17 PM
Have you succeeded in loading & running .08 web interface yet goran .If you have i would appreciate your full install procedure.Itried it myself but was unable to make it work. I am missing out on something obviously. Many thanks for all your help in the past & also in the future

I don't think Goran is on this forum any more. He stopped posting sometime in March unless he is going by another name now.

hfmls
03-06-2010, 05:39 AM
banned

harrycoates6
03-06-2010, 01:28 PM
Hi Hfmls, do you mean Goran has been banned from satpimps? Hi Ian51, Have you any idea what site i can find him on. Failing that, can either of you help me with the problem i was asking Goran about the webinterface 08 installation.Any help would be appreciated thanks

hfmls
03-06-2010, 01:30 PM
yes, long time ago.

BIGIFA
10-09-2010, 01:47 PM
Hi ppl i am haveing a problem with this in telnet i get

/MMP/httpd/: No such file or directory
and so on for each of the files

g ali
10-09-2010, 04:25 PM
welcome |Goran (gorsky where have been i missed you & your detailed instruction
long time no see?:respect-047:

FoxDie
22-10-2010, 12:06 PM
Worked as charm. Thnx