Home

httpd en AzboxHD

stickbird

Usuario
Fan de OpenSPA
1 Jul 2009
125
4
0
43
Pues gracias al maestro cthulhufhtagn



Intrucciones (por cthulhufhtagn)

1.- Entrar por telnet o ssh.
2.- Ejecutar httpd -h . Hay dos opciones, que la salida muestre las opciones que acepta el programa (seguir en 3) o que no exista el comando. (En lo que sigue del punto 2, cuando se menciona /usr/sbin/ puede ser cualquier otra ruta donde suelan estar los ejecutables y se tengan permisos de escritura, por ejemplo: /var/bin/ , /var/sbin/ o a saber. Depende de tu imagen.)
2.1.- Si no existe el comando, ejecutar which busybox . El comando nos devolverá la ruta del ejecutable busybox (si existe) o ninguna (si no existe).​
2.1.1.- Si busybox existe, ejecutar ln -s `which busybox` /usr/sbin/httpd y seguidamente
/usr/sbin/httpd -h Hay dos opciones, que la salida muestre las opciones (seguir en 3) o httpd: applet not found
2.1.2.- Si no existe, o da applet not found, descargar el fichero del link

Versión AzboxHD: FileSend - httpd.azboxhd

llamarlo httpd, ponerlo en /usr/sbin/ y ejecutar /usr/sbin/httpd -h . Hay dos opciones, que muestre las opciones (seguir en 3) o que no se pueda ejecutar por algún otro motivo (en cuyo caso no puedes continuar*).​
3.- Crear /var/www/
4.- Meter un fichero cualquiera en /var/www/
5.- Ejecutar /usr/sbin/httpd -p 8000 -h /var/www
Para que se inicie de forma automática con cada reinicio, no hay más que añadir esta línea, terminada con un " &" - espacio, ampersand, sin comillas - a tu script de inicio habitual. Realmente no es necesario, pero mejor incluirlo para curarse en salud.
6.- Poner en el navegador http://IPDREAM:8000/fichero.ext y probar que puede descargarse.
7.- Crear /var/www/cgi-bin/



Servidor web usado entre otros para poner las listas de off en firma y las distancias tambien, aunqué creo que en este foro está prohibido ponerlo.

Salu2!

Post Original: Propuesta sobre listas OFF
 

mpiero

OpenSpa Team
Miembro del equipo
22 Jun 2007
2.017
326
0
Algún alma caritativa :TT TT:puede explicar pa que sirve esto?
 

PlatinumSAT

AZvip
Fan de OpenSPA
Amigo OpenSPA
9 Abr 2009
272
11
0
113
Manejas el AZBox desde tu Firefox o Internet Explorer.
VIene una especie de mando y al lado una captura de imagen de nuestro AZBox.
Así si cambias de canal podrás tener al lado una captura de lo que están poniendo en ese momento.
Unas imágenes de muestra....
62972811.jpg


web1t.jpg
 

morser

OpenSpa Team
Miembro del equipo
21 Mar 2007
7.252
1.394
0
59
Me da que esto es otra cosa, creo que esto es como lo que existe en las imagenes de dreambox, hay un directorio www donde puedes colocar paginas web y acceder a ellas desde cualquier navegador. Por ejemplo, yo en la dream me curre una pagina que hace de webinterface para gbox y asi puedo ver desde la oficina y sin instalar nada como tengo los Leete las normas, tarjetas, mensajes, reiniciar la camd, etc.
 

PlatinumSAT

AZvip
Fan de OpenSPA
Amigo OpenSPA
9 Abr 2009
272
11
0
113
Me he vuelto a colar!!
Lo siento, no leí todo el enunciado y me cegué!

Podéis borrar mis dos post sin problema

Ciao
 

stickbird

Usuario
Fan de OpenSPA
1 Jul 2009
125
4
0
43
En el primer post he puesto el link al post original, aunqué lo que dice PlatinumSAT tengo que mirarlo, pq si se puede hacer con httpd lo que dice habrá que hacer un Control Center web no? Alguien se atreve?
A mi en PC me iba genial pq podia controlar la camd desde cualquier lugar y ver el cwshare y lo que sea.

Salu2!
 

sudoku

Usuario
Fan de OpenSPA
26 May 2009
178
0
0
Me estoy encontrando qeu bastantes cosas de este tipo,estan suspeditadas a un firmware en concreto y en otros pos como que no rula;no me refiero en este en concreto,al menos con este ultimo fiem.Y me salta la pregunta que es lo que hace que ciertas aplicaciones,plugins... no sea compatible con todos los firmwares existentes y por venir.
Es solo curiosidad,si en le fondo el que se compra un deco de estas caracteristicas,le quiere para trastear no para ver la tele,lpara eso hay otros decos de enchufa y LISTO a ver la tele

Saludos
 

satelitero80

AZvip
Loco por OpenSPA
22 Mar 2007
708
1
0
y con este navegador se puede ver videos flash de cualquier pagina??? :slow:
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
...with auto-start...

AZBox Web interface v 1.6 of Koivo

* What goes:
Almost complete control of the AZBox by web interface Telnet about web interface Screenshots of the live TV

* What (still) does not go: Number \ " 0 \ " in the web interface (problem with td210_ip_remote) Live Streaming TV in the web interface (is able to do the AZBox not yet) Caching problems in the IE and opuses


* What should go in future: To solve web server with PHP around Caching problems live TV in the web interface other desired conversions if feasibly


*Installation the ZIP Entpacken and in the folder \ " camd \ " on the AZBox copy.
Chmod 755 on the files \ " httpd \ ", \ " run.sh \ ", \ " mini_httpd \ ", \ " htpasswd \ ". Chmod 755 on the folders \ " azscripts \ ", \ " capture \ ", \ " screenshots \ ".
If these folders yet there are not easy in httpd copy (are in anhang with drinn).
Chmod 755 on all files in the folder \ " azscripts \ ". Telnetordner in httpd copy and adapt config with yours daten.


*Start of the web interface

possibility 1: By Telnet on the box einlogen \ " telnet ip_der_box \ ". In the list/camd/httpd change with \ " cd/camd/httpd \ ".
Servers start with \ ". / run.sh \ "


possibility 2: About Plugins in the AZBox directly in the television.


Possibility 3: automatically always with start to the box. Copy for it the suspended Startscript entpacken and by FTP after \ "/DISK2/etc/start.d/\ ".

Rights 755 then on the file \ " S80httpd \ ".


And again our thanks go in Koivo.

sorry for my english

Hier nochmal in deutsch


* Was geht:
Fast komplette Steuerung der AZBox per Webinterface
Telnet über Webinterface
Screenshots vom Live TV

* Was geht (noch) nicht:
Zahl "0" im Webinterface (Problem beim td210_ip_remote)
Live Streaming TV Im Webinterface (kann die AZBox noch nicht)
Caching Probleme im IE und Opera

* Was soll in Zukunft gehen:
Webserver mit PHP um Caching Probleme zu lösen
Live TV im Webinterface
weitere gewünschte Umsetzungen wenn machbar


*Installation
Die ZIP Entpacken und in den Ordner "camd" auf der AZBox kopieren.
Rechte 755 auf die Dateien "httpd", "run.sh", "mini_httpd", "htpasswd".
Rechte 755 auf die Ordner "azscripts", "capture", "screenshots".
Falls diese Ordner noch nicht da sind einfach in den httpd kopieren(sind im anhang mit drinn).
Rechte 755 auf alle Dateien im Ordner "azscripts".
Telnetordner in httpd kopieren und die config mit euren daten anpassen.


*Start des Webinterface
Möglichkeit 1: Per Telnet auf die Box einlogen "telnet ip_der_box".
Ins Verzeichnis /camd/httpd wechseln mit "cd /camd/httpd".
Server starten mit "./run.sh"

Möglichkeit 2: Über Plugins an der AZBox direkt am Fernseher.

Möglichkeit 3: automatisch immer beim starten der Box.
Dafür das angehängte Startscript entpacken und per FTP nach "/DISK2/etc/start.d/" kopieren.
Rechte 755 dann auf die Datei "S80httpd".


Und wieder geht unser Dank an Koivo.
 

Adjuntos

  • httpd16.zip
    687,4 KB · Visitas: 28
  • startscript.zip
    184 bytes · Visitas: 31

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Httpd - PHP Web Interface with streaming from AZbox HD to PC??? Enjoy testing... V. 0.2! This is from my "Alternative guide...":

It is still in the early Beta stage of development but it is getting better, as more people are contributing [started by Joseba and continued by Kiovo]. Even the streaming from AZbox to PC/Laptop is being worked on.

This is how to install it, via FTP [FileZilla]:

-make a httpd folder in camd - make sure it's CHMOD 755

-copy the content of your httpd file into it

-give CHMOD to 755 to thttpd file + everything in azscripts folder

This part is from the original „Readme“:

„* Starting the Web Interface

Option 1: Per Telnet login in to the box "telnet ip_der_box.

Into the directory / camd / httpd go with "cd / camd / httpd".

Start server with ". / Httpd"

The rights for the folders and files are automatically assigned.

Option 2: About plugins directly to the AZBox on TV.

Option 3: always automatically when you start AZBox.

The automatic startup of the Web Interface is in the toolbox AZBox be activated and deactivated.“

-now in your browser [Firefox] type:

http://192.168.x.x - where x = your AZbox HD address, of course...

That's it - play...
 

Fundi

Usuario Destacado
Loco por OpenSPA
Fan de OpenSPA
19 Mar 2007
11.803
596
0
It could make the channel that is streaming the AZbohd tuned to a pc?

If so show me where I can follow the manual as unaware as internally allocates the receiver channel ID
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Yes, from VLC website and it's only a sample...

There is 0.4 version now and I posted the info at the very bottom... ;)
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
* 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 [url]http://www.videolan.org/[/URL].
- 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.
 

Fundi

Usuario Destacado
Loco por OpenSPA
Fan de OpenSPA
19 Mar 2007
11.803
596
0
Para los que utilizamos Mbox + Newcs tener cuidado ya que nos bloquea la tarjeta local, ya que en el archivo configurado CWshare.cfg, la linea C tiene como ip en local 127.0.0.1 y este plugin utiliza los script de comandos de los botones la misma IP y deja trastornado al deco

Esos script estan en camd\httpd\azscripts

Ejemplo del Script _aux

Código:
<?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 /camd/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;
?>
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
* 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)