Table of Contents

For version 0.2.16 and higher

Mounting of portal from SMB

Example of mounting string:

mount -t cifs //<yor_ip>/test/web /home/web -o user=user

For mounting of portal while STB starting, it is necessary to add next string in script ./test.sh

Example of test.sh file (there is only part of file):

Mounting of portal from NFS

Place files of portal on the server with NFS access to directory with files.

String of mounting:

mount -o nolock <your_IP>:/srv/test/web /home/web

For mounting of portal while STB starting, it is necessary to add next string in script ./test.sh

Example of test.sh file (there is only part of file):

Loading of rootfs from DHCP

Example based on OS Ubuntu Server 12.04 LTS x86.

Packets: nfs-kernel-server, isc-dhcp-server, openbsd-inetd, tftpd, tftp

More detailed information about firmware loading from DHCP: Firmware loading from DHCP

Example of dhcp.conf file:

Embedded portal loading on STB from console

Connect to STB via SSH

run next command:

killall stbapp
/usr/share/qt-4.6.0/stbapp -qws -display directfb /home/web/services.html

Portal loading from console, files are available from HTTP

Connect to STB via SSH

run next command:

killall stbapp
/usr/share/qt-4.6.0/stbapp -qws -display directfb http://your_ip/you_portal/index.html

How to enable debug in embedded portal

For version lower than 0.2.16 - it is necessary to make changes in /home/web/vars.js

var debug=0 change to var debug=1

For version 0.2.18 and higher - it is necessary to set environment variable debug=1 (1 - enabled, 0 or empty value - disabled)