Configuring Settings Using a File

Settings described in the code example below can be configured using a configuration file. The configuration file can be used when making settings for a 6000/X series units without a display.

This is also useful when the same settings should be configured to multiple units.

 

First prepare a configuration file:

1. Create a file called applicationloader.conf using, for example, Notepad.

2. Copy the needed configurations to the file, for example:

 

[eth0]

ipmode=static

ipaddress=192.168.0.2

netmask=255.255.255.0

gateway=0.0.0.0 

[main]

runtimerunmode=0

password=new_password

oldpassword=old_password

ftpuserpassword=new_ftp_password

ftpuseroldpassword=old_ftp_password

serialconsole=off

touchconfig=1

cleariptables=on

disablegui=off

disableusb=off

zippassword=zip_password

zipenablepassword=off

runtimemulticore=off

[dns]

dnsmode=on

dns1address=192.168.0.1

dns2address=192.168.0.100

[guicolor]

enabled=yes

color=0x987654

bgcolor=0x0000FF
[ipheartbeat]

enabled=yes

idstring=idstring

ipaddress=224.0.0.27
port=9990

interval=5

[vnc]

ipaddress=192.168.0.2
port=5900

mode=server

allowcontrols=on

enablepassword=off

password=new_password

 

 

File Content

Description

[eth0]

Ethernet 1 settings

 

[eth1]

Ethernet 2 settings

ipmode

Possible modes: off/static/dhcp

ipaddress

IP address

netmask

Net mask

gateway

Gateway address

 

 

[main]

Changing the password

runtimerunmode

Set runtime mode to enable prioritizing tasks
(0 = off, 1 = on). Default value is 0.  

password

New password

oldpassword

Old password

ftpuserpassword

New FTP user password

ftpuseroldpassword

Old FTP user password

serialconsole

on/off, start console in serial port, default off

touchconfig

1/2, select touch config for 6807

cleariptables

on/off, clear iptables/firewall, default on

disablegui

on/off, disables applicationloader interface*

disableusb

on/off, disables applicationloader usb functionality*

zippassword

user defined password*

zipenablepassword

on/off, enables user zip password*

runtimemulticore

on/off, enables multicore function in runtime*

 

 

[dns]

Manual DNS settings

dnsmode

Possible modes: on/off

dns1address

DNS 1 address

dns2address

DNS 2 address

 

 

[guicolor]

GUI color customization for display unit's embedded ApplicationLoader software

enabled

Possible modes: yes/no

color

Highlight color in RGB (hex)

bgcolor

Background color in RGB (hex)*

 

 

[ipheartbeat]

IP heartbeat setting

enabled

Possible modes: yes/no

idstring

ID string for the heartbeat message

ipaddress

Destination IP address

port

Destination port

interval

Heartbeat interval in seconds

 

 

[vnc]

VNC settings

ipaddress

Client / server ip address

port

Client / server port

mode

VNC mode: off/client/server

allowcontrols

Possible modes:  on/off.
When enabled a pipe file is created for events

enablepassword

Use / require password

password

Password to be used

*only compatible with firmware version 3.0.9 or newer

 

It is recommended to remove all the unnecessary content from the file.

Do not add any extra text to the file.

 

 

To execute the configuration file for a 6000/X series unit with a displayTo execute the configuration file for a 6000/X series unit with a display

Check that a valid configuration file named applicationloader.conf (described above) is stored either in a folder or zip file to USB memory.

 

To copy the file to the display unit:

  1. 6107 display unit: Boot-up the display unit and press the lower right corner of the display during boot-up until the embedded ApplicationLoader software starts.
    6112 and 6807 display unit: Boot-up the display unit and rub the lower right corner of the display during boot-up until the embedded ApplicationLoader software starts.

  2. Navigate to Update Software view:

  3. Remove all other USB devices, then attach the USB memory. Folders and zip files found from the USB memory are listed on the left side of the view.

  4. Select the correct folder/zip from the list by tapping on it or use the arrow icons to scroll the list.

  5. Tap to copy the selected file to the display

  6. The configuration file will be processed in next boot or by tapping

  7. When the file is being processed, the following view is displayed:

  8. When the process is completed, the applicationloader.conf file will be removed automatically and ApplicationLoader returns to main view or to current software.

 

 

 

 

To execute the configuration file for a 6000/X series unit without a displayTo execute the configuration file for a 6000/X series unit without a display

  1. Check that a valid configuration file named applicationloader.conf (described above) is stored in the application zip file (userapp_6000*.zip) of a USB memory

  2. Remove all other USB devices, then attach the USB memory

  3. Boot-up the unit. The configurations are updated automatically during the boot-up

  4. Shut down the unit and remove the USB memory

  5. Boot-up the unit. The new configurations are now in use

 

 

 

 

 

 

 

Source file topic100333.htm

Last updated 19-Dec-2024