RMS Gate - SysOp Tools.

Updated 27 Feb 2015

Charles S. Schuman, K4GBB
k4gbb1@gmail.com

Introduction

The WL2K Group maintains a Data Base of the Sysops who operate a RMS Gate. The Windows Gateway includes a process whereby the sysop can update their contact and operations information. Until now that ability has not been available for The Linux version.

The Sysop Record utilities are written in Python and consist of three scripts.

  1. mksysop.py - generates a sysop.new.xml file for your call.
  2. getsysop.py - retrieves and lists the current information from the WL2k DB.
  3. updatesysop.py - Updates the data base from your corrected sysop.xml file.
They may be executed as a python program or included in a Shell script.

Installation

PYTHON

You must have Python installed.

To Test if python is installed..... execute

python

Python 2.7.3 (default, Jan 13 2013, 11:20:46) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> 
Use quit() or Ctrl-D (i.e. EOF) to exit

Python is not installed if you do not get the a Python shell (above).
To install Python use the command

apt-get install python python-requests

If python is installed you will need to install the requests modules for Python.

apt-get install python-requests

RMS Sysop Tools

In addition to the three python scripts are two xml files.

  1. sysop-template.xml - an empty sysop.xml file.
  2. winlinkservice.xml - the data needed to access the WL2k Dbase

These two xml files should be found in the /etc/rmsgw/ directory.
Edit the sysop-template.xml file and rename it sysop.xml

Running Sysop Utilities

The utilities are run as a python script.

mksysop

To generate a sysop.new.xml file for your call.

python mksysop.py

Enter your callsign:k4gbb
New sysop XML data written to new-sysop.xml
Please inspect the results and copy to /etc/rmsgw/sysop.xml
if it is correct.

getsysop.py

To retrieve and display the current information from the WL2k DB.

python getsysop.py

Enter your callsign: k4gbb
=== Current Sysop Record In the Winlink System ===
Callsign: K4GBB
GridSquare: EL88TX
SysopName: Charles S. Schuman
StreetAddress1: 8780 N. Brandy Terrace
StreetAddress2: 
City: Dunnellon
State: FL
Country: USA
PostalCode: 34434
Email: k4gbb1@gmail.com
Phones: 
Website: http://k4gbb.us/
Comments: 

updatesysop

To update the data base - correct the sysop.xml file.

python updatesysop.py

Posting sysoprecord updates...
Update for K4GBB was successful.