Lastest Web Interface PHP by Kiovo

Status
Not open for further replies.

elgeneral

Well Known Member
Messages
7,811
Web Interface PHP by Kiovo v0.3

06.09.09

Code:
Lo que funciona: 


 

el control completo a través de la interfaz web AZBOX Monkus Tools 


 

Telnet a través de la interfaz Web de capturas de pantalla de televisión en directo 


 

AZBOX info (CPU, Linux, Meme, Montes, módulos, particiones)

 

 

 

Qué no funciona: 


 

el número "0" (en el problema de la interfaz web con td210_ip_remote) 


 

Live Streaming (TV en la interfaz web de AZBOX todavía no) 


 

Descargar películas (servidor Web todavía no)



 

 

Qué debe fucionar en proximas versiones: 


 

televisión en directo a través de la interfaz web 

 

 

 

 

Instalación:


 

Descomprimir en la carpeta "/EMU" del AZBOX HD. 


 

Atributos 755 en el archivo "httpd".


 

Uso de Herramientas de Monkus en AZBOX HD ajustar la configuración.


 

Cambiar en la carpeta: /EMU/httpd/include:


 

El archivo "ip.conf" Introduzca la dirección IP del deco


 

para usar telnet a través de la interfaz web cambiar la carpeta /EMU/httpd/include:


 

- En el archivo "telnet.conf" Introduzca la dirección IP del deco


 

- Por defecto, el registro activa por root sin contraseña asi que poner la contraseña que useis o quitar la almohadilla para contraseña comun azbox

 

 

 

 

Iniciar de la Interfaz Web: 



 

Opción 1- a través de telnet:


 

ruta: cd / EMU / httpd

 

Iniciar: . / httpd 

 

 

Opción 2- desde los plugins directamente con el mando en el AZBOX 

 

 

Opción 3 - automáticamente cuando inicie AZBOX


 

El inicio automático de la Interfaz Web pude activarse o desactivarse desde barra de herramientas del Interfaz WEB pero primero hay que instalar el Auto-Arranque.


 

Ahora vamos a instalar el Auto-Arranque, para que al reiniciar la AZ arranque automaticamente la webadmin.


 

en la carpeta httpd veras un fichero llamado: S80httpd

 

Lo envias a la carpeta: /DISK2/etc/start.d/


 

Entramos en: /DISK2/etc/start.d/

 

Atributos 755 al archivo: S80httpd 

 

Ya tenemos instalado el webadmin, puedes reinciar la AZ.

 

 

Última versión de PHP 0.3 cambios: 


 

- Live TV convertido al uso final 

 

- Película navegador con Live View, donde está instalado VLC (por favor, probar) 

 

- control remoto en la página de inicio 

 

- AZBOX Sysinfo 

 

- Monkus Tools para probar su versión revisada 

 

- Casi el modo Normal es almacenado 

 

- algunas correcciones pequeñas 

 

- iperf en Sysinfos (cliente es necesario, pero al mismo tiempo)
 
Last edited:

gorski

Well Known Member
Messages
1,553
Google Translation from Spanish:

What works:

full control via the web interface AZBOX Monkus Tools

Telnet through the Web interface screenshots of live TV

AZBOX info (CPU, Linux, Meme, Forestry, modules, partitions)


What does not work:

the number "0" (in the web interface problem with td210_ip_remote)

Live Streaming (TV AZBOX web interface yet)

Download Movies (Web server yet)


What should fuciona in future versions:

live TV via the web interface


Installation:

Unzip the folder "/ EMU" of AZBOX HD.

Attributes 755 in the file "httpd".

Using Tools HD Monkus in AZBOX adjust the settings.

Change in the folder: / EMU / httpd / include:

The file "ip.conf" Enter the IP address of deco

to use telnet via the web interface to change the folder / EMU / httpd / include:

- File "telnet.conf" Enter the IP address of deco

- By default, the active register by root with no password set the password so that useis or remove the pad to common password azbox


Web Interface Login:

Option 1 - via telnet:

path: cd / EMU / httpd

Start:. / Httpd

Option 2 - from the plugins directly to the command in the AZBOX

Option 3 - automatically when you start AZBOX


The automatic startup of the Web Interface could be activated or deactivated from toolbar web interface but first you have to install the Auto-Run.

Now we will install the Auto-Start, so that at boot automatically restart the webadmin AZ.

Really httpd folder a file called: S80httpd

Send it to the folder: / DISK2/etc/start.d /

We went in: / DISK2/etc/start.d /

755 attributes to the file: S80httpd

We have installed the webadmin, you can reboot the AZ.

Latest version of PHP 0.3 changes:

- Live TV become final use

- Movie browser with Live View, where you installed VLC (please try)

- Remote control home page

- AZBOX Sysinfo

- Tools to test Monkus revised

- Almost Normal mode is stored

- Some small fixes

- Iperf in sysinfo (customer is necessary, but at the same time)
 

juli13

Staff member
Administrator
Messages
10,198
AZBox web interface with PHP 035

* Current Version 0.35 PHP

Changelog:
- Various minor bugs fixed.
- Movie Browser Reviewed (Thanks again for OBI).
- Built-in backup scripts for web interface (Please the normal backup the directory / EMU / httpd) does not take pure.
- Sysinfos somewhat expanded.
- Select Fast Mode - Normal Mode is set and the renewed call to automatically dial
 

gorski

Well Known Member
Messages
1,553
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 [including the monkus sub-folder and its content] -> 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 remover # in front of the following line, so it looks like this:
Script.script=login:|root|Password:|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:

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

Code:
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 - 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:

Code:
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...:dog4:

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

GREAT DEVELOPMENT!!! :good: :Cool3:

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... :party: :Smile:
 

juli13

Staff member
Administrator
Messages
10,198
AZBox web interface with PHP v0.4

* Latest version of PHP 0.4

Changelog:

- A few bugs fixed.
- Httpd outsourced to / MMP
- Movie Browser revised baking, etc. (Thanks again for OBI).
- Movie Browser is now used for all the embedded media player VLC http://www.videolan.org/.
- The Backup can now back the entire folder EMU will be used (thttpd is now under / SMP)
- Iperf can be started on the AZBox as server or client (Settings in Web Interface Config).
 

gorski

Well Known Member
Messages
1,553
I hate it, when no info is included! I really do!!

Delete the old one, if you had i installed and REBOOT!!! This clears the memory!

Unpack the file you doneloaded!

You get 2 folders:

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

-give everything, more or less CHMOD to 755, just in case, as before...

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 and do this, as above:

Code:
MMP[~]$ cd /EMU/httpd
MMP[httpd]$ ./httpd

This triggers the following:

Code:
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 put in the AZbox HD address, 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!!!!!:thum:

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.

Let's see if I can paste the image which I got, as I gave the command [no go, sorry, attached normally now...]

We're rolling onwards and upwards!!!;) Well done developers!!!!:thum:
 

juli13

Staff member
Administrator
Messages
10,198
* Latest version of PHP 0.5

Changelog:
- A few bugs fixed.
- Movie Browser should now be revised to run bug-free.
- Movie Browser is now used for all the embedded media player VLC http://www.videolan.org/.
- Firmware ad on the home page including links to direct download the new firmware.
- Live TV completely (I hope that we will also prepare time soon).
- Toolbox for the configs from OpenXCAS expanded.
 

gorski

Well Known Member
Messages
1,553
Thanx to our colleague, Fundidun, who warns that this might block the C line, if you're using it and here is an example of the script:

<?php
$output = shell_exec ('/MMP/usr/bin/td210_ip_remote 127.0.0.1 S azscripts/_aux.scr sleep 1');
echo '<div align="center">';
echo '<div class="command">Send ' . $output . '</div>';
shell_exec ('/MMP/usr/bin/admin_control /EMU/httpd/screenshot/screenshot.png');
$screenshot = '<br><br><a href="../screenshot/screenshot.png" class=\"highslide\" onclick="return hs.expand(this)" target="_blank"><img src="../screenshot/screenshot.png" class="picture" border="1" alt="Screenshot"></img></a>';
echo $screenshot;
?>
 

juli13

Staff member
Administrator
Messages
10,198
AZBox web interface with PHP v0.55

12.09.2009

* Latest version 0.55 PHP

Changelog:
- AZBox Toolbox with Cron (for the doomed USB users) based on the Cron plugin from FUERTE.
- AZBox links with AccuWeather.
 

juli13

Staff member
Administrator
Messages
10,198
Lastest Web Interface PHP 0.6 by Kiovo

* Latest version of PHP 0.6

Changelog:
- Mini.php for use with mobile devices (thanks to the detailed Huje for iPhone beta testing)
- Monkus tools in version 1.3 integrates
- Swap Addon of Monkus in version 1.0 (100MB swapfile on a folder)
- Integrated password protection for the WI (. Htaccess adjustable via the WI)
 

juli13

Staff member
Administrator
Messages
10,198
Lastest Web Interface PHP 0.65 by Kiovo

* Latest version of PHP 0.65

Changelog:

- Automatic assembly of the recordings to a 3GB. Ts file (a very time-intensive).
- Ultramini.php for use with mobile devices without issue (thanks to the detailed Huje for iPhone beta testing)
- Monkus USB Copy incorporated in version 1.4
 

juli13

Staff member
Administrator
Messages
10,198
Web Interface PHP 0.65 hotfix

I'm still a small degree of monkus hotfix for USB Copy given script.

Simply unzip into the directory.

In the next version which is then of course with it.
So who is using the USB Copy Background should install the hotfix
 

elgeneral

Well Known Member
Messages
7,811
AZBox Webinterface PHP 0.7 Multilingual

AZBox Webinterface PHP 0.7 Multilingual

Changelog:

- Version mit mehrsprachiger Unterstützung (Verzeichnis /lang)
- paar kleine Bugs gefixt
- dezent einige Grafiken geändert

:thum:
 

juli13

Staff member
Administrator
Messages
10,198
Plugin: AZBox Webinterface PHP 0.75 Multilingual


Changelog:
- Version with multilingual support (Directory / long).
- All the configs are now in / configs and can be kept for an update.
- Some bug fixed.
- Subtly changed some of the graphics.
- I recommend a clean install of WI there now but a lot has been changed to files.
- Added more buttons in the telnet window.
 

elgeneral

Well Known Member
Messages
7,811
Plugin: AZBox Webinterface PHP 0.77 Multilingual

Code:
[B]Version 0.77 PHP Multilingual[/B]
Changelog:
- Version mit mehrsprachiger Unterstützung (Verzeichnis /lang).
- diese Version wurde komplett nach /MMP verlegt.
- Monkus Tools auf die Verzeichnisse /MMP/httpd und /PLUGINS umgebaut.
- alle configs liegen jetzt im Verzeichnis /configs und können bei einem Update behalten werden.
- paar kleine Bugs gefixt.
- ich empfehle eine Neuinstallation des WI da jetzt doch einiges an Dateien verändert wurde.
- weitere Buttons im Telnet Fenster hinzugefügt.
- Sprachen deutsch,englisch,holländisch
- Sprache russisch noch nicht komplett übersetzt (kann das jemand?).
 

elgeneral

Well Known Member
Messages
7,811
Version 0.78 PHP Multilingual

Changelog:

- Version with multilingual support (Directory / long).
- 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.
- Anzeigebug fixed.
- 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)

:thum:
 
Status
Not open for further replies.
Top