Portal Mounting, Portal loading from console
Mounting portal using SMB protocol
Example of mounting string:
mount -t cifs //<yor_ip>/test/web /home/web -o user=user
For mounting the portal while STB get started, it is necessary to add the mounting string in the script
Mounting portal using NFS protocol
Put files of the portal to the server in NFS share directory.
String of mounting (for example):
mount -o nolock <your_IP>:/srv/test/web /home/web
To mount the portal while STB is starting, it is required to add next string in the script
Loading Rootfs from DHCP
Example based on OS Ubuntu Server 12.04 LTS x86.
Packages:
More detailed information about firmware loading from DHCP: DHCP server configuration. Loading and updating STB software
Embedded portal loading on STB from shell/console
- Connect to STB via SSH
- Stop the stbapp main process:
killall stbapp
Start the embedded portal manually:
. /test.sh
or
/usr/share/qt-4.6.0/stbapp -qws -display directfb /home/web/services.html
Portal loading from shell/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 file
:
change to
For version 0.2.18 and higher - it is necessary to set the environment variable
(1 - enabled, 0 or empty value - disabled)