Permanent Node Connection at Startup

  1. Permanent Node Connection
  2. Prerequisite Configuration
  3. Add startup_macro to rpt.conf's node stanza
  4. cron on archlinux (hamvoip)


Permanent Node Connection

The following information will make your connection to another AllStarLink node persistent (permanent). Permanent connects survive network outages and far end reboots. However they do not automatically reconnect when commanded to disconnect by either end.

Prerequisite Configuration

The following commands should already exist in ASL 2.0 rpt.conf file under your [functions] stanza: In other words a *813nnnnn touch tone command will permanent connect your node to the node number represented by nnnnn.

Add startup_macro to rpt.conf's node stanza

If you would like a permanent connect automatically when your node boots you need a startup_macro. For example, under your node stanza (i.e., [XXXXX] where XXXX = your node number), usually near the end your will find a commented blank startup_macro= line. Uncomment it (or add):

Where NNNNN is the node you wish to automatically connect.

Reload/restart your system and it will auto connect to the node you specified above.



Note that crontab *must* be run as root in this case for asterisk to be successfully restarted

Tip: If the cut and paste does not work when using sudo tyoe holding the shift key whikle using the mouse functions.


cron on archlinux (hamvoip)

hamvoip Archlinux Cron Setup # login as root and run a bash shell with option 9 in the admin menu # If crontab is not available then install it

# Do not remove the following line # required for lsnodes and allmon 15 03 * * * cd /usr/local/sbin; ./astdb.php cron 00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/ $NODE1 > /dev/null)

00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/ $NODE1 > /dev/null)
nice set the process priority to run. -19 is low priority. This is telling archlinux to run the "saytime" at a low priority as it is not critical. Put a # in front of this line is you do no want the "saytime" to run.


Glenn Lyons VK4PK
Ver:gnl20221010 - pre published v0.9