[Dxspider-support] startup connections

Mike McCarthy, W1NR lists at w1nr.net
Sat May 31 17:37:28 BST 2008


You need a file called crontab in /spider/local_cmd like the following:

0,10,20,30,40,50 * * * * start_connect('k1ea') unless (connected('k1xx') 
or connected('k1ea'))

2,4,6,8,12,14,16,18,22,24,26,28,32,34,36,38,42,44,46,48,52,54,56,58 * * 
* * start_connect('k1xx') unless (connected('k1ea') or connected('k1xx'))

9,19,29,39,49,59 * * * * disconnect('k1xx') if present('k1ea')

Between the line breaks are supposed to be continuous lines...
The first line maintains a connection to k1ea.
Second line will bring up a backup connection to k1xx if k1ea is lost.
Third line will disconnect backup connection when primary is detected.

You also need a file called connect in /spider/scripts with the line

connect k1ea

to bring up the default connection at startup.  I think multiple 
connections may be defined here.  Note that k1ea and k1xx need to be 
edited to your specific connection partners.

Mike, W1NR


>>
>>
>>> Hi
>>>
>>> is there a way for dxspider to connect to nodes automatically at 
>>> startup and also re-connect when net connection is lost
>>>
>>> thanks and 73
>>>
>>> Stan 9H1LO
>>>




More information about the Dxspider-support mailing list