Difference between revisions of "Dspserver.conf"

From Ghpsdr3 SDR project
Jump to: navigation, search
(Created page with "==dspserver.conf== *As of version Feb 01 2012 dspserver will now require a dspserver conf file. By default it will be created in a users home directory if one does not exist. ...")
 
Line 29: Line 29:
 
* TX needs to be set if not''' TX will be disabled'''
 
* TX needs to be set if not''' TX will be disabled'''
 
  <nowiki>tx = "password";  #Can be: no, yes, password</nowiki>
 
  <nowiki>tx = "password";  #Can be: no, yes, password</nowiki>
'''tx= no''' will disable all TX
+
'''tx= no''' will disable all TX<br>
'''tx=yes''' will allow all TX dspserver will behave as before Feb 01 2012 version
+
'''tx=yes''' will allow all TX dspserver will behave as before Feb 01 2012 version<br>
'''tx=password''' will require a user/password pair when sending a mox command and will be checked against the TX rules for that user before TX is allowed This is handled automatically by QtRadio.
+
'''tx=password''' will require a user/password pair when sending a mox command and will be checked against the TX rules for that user before TX is allowed This is handled automatically by QtRadio.<br>
 +
* User / passwords are added one per line
 +
 
 +
<nowiki>ve9gj = "secretpassword";  #add users/passwords one per line (max 20 characters each!)
 +
dl6kbg="hissecret"
 +
zl2apv="anothersecret"</nowiki>
 +
 
 +
* Multiple rule groups are allowed sp permissions can be set by group.  You need to list any group names you want to use in the groupnames line. Limit 20 characters and avoid spaces
 +
<nowiki>groupnames = ["txrulesall", "txrules20m_only"];</nowiki>
 +
* Now each groupname needs a line that lists it's members.  Use the group name with _members appended to it.
 +
<nowiki>txrulesall_members = ["ve9gj"];
 +
txrules20m_only_members = ["ve9gj","zl2apv",dl6kbg];</nowiki>

Revision as of 00:03, 2 February 2012

dspserver.conf

  • As of version Feb 01 2012 dspserver will now require a dspserver conf file. By default it will be created in a users home directory if one does not exist. dspserver may be started with an alternate file using the --shareconfig option.

The original file contained:

# Simple config file for ghpsdr3's dspserver.
# default file is located at ~/dspserver.conf when dsp server is started with --share
# The information below will be supplied to a web database which will aid QtRadio
# users find active dspservers to connect to.  You may also see the current list at
# http://napan.ca/qtradio/qtradio.pl
# valid fields are call, location, band, rig and ant
# lines must end with ; and any characters after a # is a comment and ignored
# field values must be enclosed with " ie: "xxxx"
# This default file will be created if dspserver is started with the --share option and ~/dspserver.cfg does not exist
# You may also start dspserver with an alternate config file by starting dspserver with --shareconfig /home/alternate_filename.conf
# Note field names are all lowercase!

call = "VE9GJ";
location = "Napan, NB FN77";
band = "20, 15, 10";
rig = "SoftRock rxtx-event";
ant = "4el Yagi Pointed NE";

New Sections as of Feb 01 2012:

  • share and lookupcountry can now be set in the conf file
share = "yes"; # Can be yes, no
lookupcountry = "yes"; # Can be yes, no 
  • TX needs to be set if not TX will be disabled
tx = "password";  #Can be: no, yes, password

tx= no will disable all TX
tx=yes will allow all TX dspserver will behave as before Feb 01 2012 version
tx=password will require a user/password pair when sending a mox command and will be checked against the TX rules for that user before TX is allowed This is handled automatically by QtRadio.

  • User / passwords are added one per line

ve9gj = "secretpassword"; #add users/passwords one per line (max 20 characters each!) dl6kbg="hissecret" zl2apv="anothersecret"

  • Multiple rule groups are allowed sp permissions can be set by group. You need to list any group names you want to use in the groupnames line. Limit 20 characters and avoid spaces
groupnames = ["txrulesall", "txrules20m_only"];
  • Now each groupname needs a line that lists it's members. Use the group name with _members appended to it.
txrulesall_members = ["ve9gj"]; 
txrules20m_only_members = ["ve9gj","zl2apv",dl6kbg];