Updated 27 Feb 2015
Charles S. Schuman, K4GBBThe 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.
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
In addition to the three python scripts are two xml files.
These two xml files should be found in the /etc/rmsgw/ directory.
Edit the sysop-template.xml file and rename it sysop.xml
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.
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:
To update the data base - correct the sysop.xml file.
python updatesysop.py
Posting sysoprecord updates... Update for K4GBB was successful.