22 EtherneTV Media Distribution System
XML Configuration Examples
Accessing the XML Configuration File
The "configuration" file refers to the xml file (/wfs/localUI/stbLocalUIData.xml) that
provides the list of streams available to the STB. This configuration file is used by
stbLocalUITemplate.htm to populate the interface page. The xml file can be edited locally
using a text editor (vi is included with the system) or it can be uploaded to a Windows
desktop, modified with Notepad, and downloaded back to the STB. Once the file has been
edited or created it must be installed on the STB. This is usually accomplished via FTP.
When editing the configuration file, do not use special characters or punctuation marks in any
text strings; if used in the Title, ProgramName, Message, etc., the stream will not run. Also, be
aware that it may take several seconds to write configuration changes to flash memory. To
avoid problems, wait several seconds and do not reboot the STB until the Transfer LED on
the front of the unit stops blinking.
TTo access the command prompt and XML file:
1. Press Ctrl-Alt-F1.
2. Then cd (change directory) to the location: /wfs/localui/

Uploading from the STB

To FTP upload/download files from/to the STB (including the stbLocalUIData.xml
configuration file), you can use Internet Explorer, another GUI based FTP client, or the
command prompt FTP client using the following commands:
TTo upload from the STB:
C:\> ftp 172.22.117.70
User (172.22.117.70:(none)): root
331 Password required for root.
Password: admin
230 User root logged in
ftp> bin
200 Type set to I.
ftp> cd /wfs/localui
250 CWD command successful.
ftp> get stbLocalUIData.xml
200 PORT command successful.
150 Opening BINARY mode data connection for ….
226 Transfer complete.
ftp> xxx bytes sent in 0.12 Seconds
ftp> bye

Downloading to the STB

TTo download to the STB
C:\> ftp 172.22.117.70
User (172.22.117.70:(none)): root
331 Password required for root.
Password: admin
230 User root logged in