Change device id
Introduction
AdvanNet program that runs in Keonn systems (AdvanReader, AdvanSafe, AdvanGuard, ...) have a device identification that can be changed:
The internal configuration must be edited to change the device id. The user will need to download configuration files, change them and then upload them replacing the old ones.
Steps
Credentials for the Internal configuration
Follow the instructions on this page.
Remove persisted configuration
Remove the persisted configuration following these wiki sections:
Locating the current installation dir
AdvanNet saves a copy of all installations applied to the device but only one is used at any given moment, to locate the current installation directory please follow these steps:
Check if the folder /home/keonn/kernel/module/app.AdvanNet/alternatives exists, if it doesn't the current installation dir is /home/keonn/kernel/module/app.AdvanNet if not, please continue with the next step
The contents of the folder /home/keonn/kernel/module/app.AdvanNet/alternatives will be like:
where the last 3 digits is the ordinal number of the installation, the current installation folder is the latest, or the folder with the highest ordinal number. (e.g. /home/keonn/kernel/module/app.AdvanNet/alternatives/2.5.4-01.004 )
Download the configuration
Using filezilla, download the following files:
${currentInstallationFolder}/META-INF/connectors.xml
${currentInstallationFolder}/META-INF/devices/<device>.xml (example of device is adsf-100-eu.02.xml)
Edit the configuration
The configuration is in XML format, the tag to change is the id, in both files has to be the same id, which will then be reflected in AdvanNet Manager (web application):
connnectors.xml
<device>.xml
The result in AdvanNet Manager can be seen in the following image:
Upload the configuration
Using filezilla, upload the following files:
${currentInstallationFolder}/META-INF/connectors.xml
${currentInstallationFolder}/META-INF/devices/<device>.xml (example of device is adsf-100-eu.02.xml)
Reboot the system
Reboot physically the Reader/System to apply the new Device Id.