Scripts: Difference between revisions

From DXSpider Documentation Wiki
Jump to navigation Jump to search
G0TRT (talk | contribs)
G0TRT (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 48: Line 48:
The user_default.issue file, when copied to user_default or a callsign, is used to deliver initial information to a user. The file below will show the relevant information at login:
The user_default.issue file, when copied to user_default or a callsign, is used to deliver initial information to a user. The file below will show the relevant information at login:


#
#
# standard user default script
# standard user default script
#
#
blank +
blank +
sh/dx 5
sh/dx 5
blank -
blank -
sh/u
sh/u
blank -
blank -
sh/wwv 1
sh/wwv 1
blank -
blank -
sh/wcy 1
sh/wcy 1
blank +
blank +
#
#
#EOF
#EOF


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
  1814.0 DL3RBF/P    11-Apr-2025 0839Z SOTA activation DM/RP-001    <ON6ZQ>
 
  7190.0 EA2CCG/P    11-Apr-2025 0839Z POTA ES-0261 ES-0921        <EA7KOY>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  14042.0 F5NLX/P    11-Apr-2025 0839Z FFF 1027 POTA FR-3758 WCA F-07<F5MGS>
    1814.0 DL3RBF/P    11-Apr-2025 0839Z SOTA activation DM/RP-001    <ON6ZQ>
  18104.0 RC0AT      11-Apr-2025 0839Z www.TNXQSO.com                <R1NA>
    7190.0 EA2CCG/P    11-Apr-2025 0839Z POTA ES-0261 ES-0921        <EA7KOY>
  7048.2 VA3JPX      11-Apr-2025 0838Z                                <KA2G>
  14042.0 F5NLX/P    11-Apr-2025 0839Z FFF 1027 POTA FR-3758 WCA F-07<F5MGS>
-------------------------------------------------------------------------------
  18104.0 RC0AT      11-Apr-2025 0839Z www.TNXQSO.com                <R1NA>
Callsigns connected to G0TRT-9
    7048.2 VA3JPX      11-Apr-2025 0838Z                                <KA2G>
G1ABC      G0TRT        G3XVL      WI3W      G0FOZ
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Callsigns connected to G0TRT-9
Date        Hour  SFI  A  K Forecast                              Logger
G1ABC      G0TRT        G3XVL      WI3W      G0FOZ
11-Apr-2025  06  153  17  3 No Storms -> No Storms                <W0MU>
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Date        Hour  SFI  A  K Forecast                              Logger
Date        Hour  SFI  A  K Exp.K  R SA    GMF  Aurora  Logger
11-Apr-2025  06  153  17  3 No Storms -> No Storms                <W0MU>
11-Apr-2025  08  153  22  3    3 112 eru  act      no  <DK0WCY>
-------------------------------------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Date        Hour  SFI  A  K Exp.K  R SA    GMF  Aurora  Logger
Nodes: 6/380 Users [Loc/Clr]: 5/4725 Max: 4/4725 - Uptime:  9h 59m 25s
11-Apr-2025  08  153  22  3    3 112 eru  act      no  <DK0WCY>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Nodes: 6/380 Users [Loc/Clr]: 5/4725 Max: 4/4725 - Uptime:  9h 59m 25s

Latest revision as of 08:49, 11 April 2025

Scripts

The directory /spider/scripts is a place for scripts to be placed. The main script in this directory is called startup that can be used to make changes to the cluster from the default settings on startup. This script is executed immediately after all initialisation of the node is done but before any connections are possible. The other two files are startup.issue, which is a minimal file to use to build a startup and user_default.issue

startup

#
# 
# lines starting with a # are ignored
#
# set maximum no of spots allowed to 100
set/var $Spot::maxspots = 100
#
# reject node adverts
rej/ann node_default input info telnet,cluster,7000,7300,7373,8000,8888,9000,17300
#
# reject D0 and D1 prefixes which aren't on the ITU list
rej/spot node_default input 2 call d0,d1
rej/spot node_default input 3 by d0,d1
#
# set outbound spider connections with nodes you've paired with
set/spider g1abc-2
set/spider gb7abc-1
#
# make instant connections to nodes
connect g1abc-2
connect gb7abc-1
#
# make people register before they can send spots
# 1 is on, 0 is off
set/var $main::reqreg = 1
#
# make people use a password to login
# 1 is on, 0 is off
set/var $main::passwdreq = 0
#
# set the node's external dynamic IP
set/external_ip
#
# set the node and logging pc IPv4s
# gather ip address from your network and add them at the end using ,'192.168.1.144' for example
set/var @main::localhost_names ('127.0.0.1', '::1', '192.168.1.123','192.168.1.134')
#
#EOF

user_default

The user_default.issue file, when copied to user_default or a callsign, is used to deliver initial information to a user. The file below will show the relevant information at login:

#
# standard user default script
#
blank +
sh/dx 5
blank -
sh/u
blank -
sh/wwv 1
blank -
sh/wcy 1
blank +
#
#EOF


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   1814.0 DL3RBF/P    11-Apr-2025 0839Z SOTA activation DM/RP-001     <ON6ZQ>
   7190.0 EA2CCG/P    11-Apr-2025 0839Z POTA ES-0261 ES-0921         <EA7KOY>
  14042.0 F5NLX/P     11-Apr-2025 0839Z FFF 1027 POTA FR-3758 WCA F-07<F5MGS>
  18104.0 RC0AT       11-Apr-2025 0839Z www.TNXQSO.com                 <R1NA>
   7048.2 VA3JPX      11-Apr-2025 0838Z                                <KA2G>
-------------------------------------------------------------------------------
Callsigns connected to G0TRT-9
G1ABC       G0TRT        G3XVL      WI3W      G0FOZ
-------------------------------------------------------------------------------
Date        Hour   SFI   A   K Forecast                              Logger
11-Apr-2025   06   153  17   3 No Storms -> No Storms                <W0MU>
-------------------------------------------------------------------------------
Date        Hour   SFI   A   K Exp.K   R SA    GMF   Aurora   Logger
11-Apr-2025   08   153  22   3     3 112 eru   act       no   <DK0WCY>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Nodes: 6/380 Users [Loc/Clr]: 5/4725 Max: 4/4725 - Uptime:  9h 59m 25s