#
#  AXL Configuration File.			/usr/local/ax25/etc/ax25d
#
# Format for AX25:
# [<iface_call>]
# <peer>	Window	T1	T2	T3	N2	<mode> <uid> <exec> <argv[0]> [<args....>]
#               unit    1/2_sec 1_sec   1_sec   unit
#               1-7/1-63                        1-31
# KERNEL DFLTS  7       20      2       300     15
# Placing a '*' into the field will not alter it, so assuming the kernel
#   defaults, or those specified by the 'defaults' line (if this exists
#   above the entry being parsed).
#
# If <peer> does not have a SSID then *any* SSID will work.
# If <peer> is 'default' this will match any address, the absense of a
#   'default' will make the link disconnect, right after connection (that
#   is if no entry above it matched first).
# The order of peer list is important put the 'defaults' line first (to
#   setup the default params for those below) those addrs with SSIDs at
#   the top, then those without below and lastly the default entry (if any).
# NB - You can have multiple 'defaults' lines, and they only affect those on
#        the lines below under that specific port.
#
# <mode> is only two bits have any meaning:
#    0 :   1 : Setup utmp, and run on a ptty (currently not supported).
#  1-4 :     : UNUSED
#    5 :  32 : Don't log any activity of this connection (currently not supported).
#    6 :  64 : No digipeated uplinks.
#    7 : 128 : Lockout, they are met with a disconnect.
#
# <args...>
# Command line substitution is possible with:
#   %U = User AX.25 call without SSID in UPPERCASE.
#   %u = User AX.25 call without SSID in lowerCASE.
#   %S = User AX.25 call with SSID in UPPERCASE.
#   %s = User AX.25 call with SSID in lowerCASE.
#
# To make your system listen on another callsign or alias then use the VIA
#   in the Interface spec.  IMHO it's a bad idea to listen for AX.25
#   connects with the same callsigns that are used for NETROM or VC mode IP.
#
# Interface call.
[G7LED-1]
defaults	7 20   2   900  15
# Login entries under the above interface call.
G7LED-10	* *    *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
G7IUB		7 100  19  300 15  0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
#G7LED		7 20   19  300 15  0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
G7LED		7 *    *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u 
#G7LED		7 20   19  300 15  0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
#G7LED		7 20   19  300 15  0	root	/usr/local/ax25/src/pms	pms
#GB7MIP		2 100  19  900 12  0	gb7mip	/usr/lbbs/bin/bbsrx	bbsrx
#GB7MIP		2 *    *   *   *   0	gb7mip	/usr/lbbs/bin/bbsrx	bbsrx
G9TST		* *    *   *   *   128
NOCALL		* *    *   *   *   128
default		* *   *   *   *   0	root	/usr/lode/src/lode	lode
#default		* *    *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
#
#
# Another Interface Call
#[G7LED-6]
#
#GB7BIR		7 *   *   900   8   0	guest	/test.loop		loop
#G7LED		7 *   *   900   8   0	guest	/test.loop		loop
#G7LED-12	* *   *   *   *   0	guest	/usr/local/ax25/src/pms	pms
#
# Make it listen on my node alias.  [<ListenForThisCall> VIA <RealPortAddr>]
[LINUX VIA G7LED-1]
default		* *   *   *   *   0	root	/usr/lode/src/lode	lode
#default		* *   *   *   *   0	guest	/usr/lbbs/bin/bbsrx	bbsrx
#
[LINUX VIA G7LED-2]
default		* *   *   *   *   0	root	/usr/lode/src/lode	lode
#default		* *   *   *   *   0	guest	/usr/lbbs/bin/bbsrx	bbsrx
#
[LINUX VIA G7LED-5]
G7IUB		* *   *   *   *   *	g7iub	/usr/local/bin/convers	convers -t %u
default		* *   *   *   *   0	root	/usr/lode/src/lode	lode
#default		* *   *   *   *   0	guest	/usr/lbbs/bin/bbsrx	bbsrx
#
[LINUX VIA G7LED-6]
default		* *   *   *   *   0	root	/usr/lode/src/lode	lode
#default		* *   *   *   *   0	guest	/usr/lbbs/bin/bbsrx	bbsrx
#
[G7LED-8 VIA G7LED-1]
default		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
#
#
#
# Format for NETROM:
# <NETROM_iface_call>
# <peer>[@<nodecall>]	Window	T1	T2	T3	N2	<mode> <uid> <exec> <argv[0]> [<args....>]
#			unit    1/2_sec 1_sec   NOTUSED unit
#       	        1-127                           1-31
# KERNEL DFLTS  	7       240     5       NOTUSED 3
# 1.3.20 - Does not support setting the window up.
# Placing a '*' into the field will not alter it, so assuming the kernel
#   defaults, or those specified by the 'defaults' line (if this exists
#   above the entry being parsed).
#
# If <peer> (or <nodecall>) does not have a SSID then *any* SSID will work.
# If <peer> is 'default' this will match any address, the absense of a
#   'default' will make the link disconnect, right after connection (that
#   is if no entry above it matched first).
# The order of peer's is important put the 'defaults# line first (to
#   setup the default params for those below) those addrs with SSIDs at
#   the top, then those without below and lastly the default entry (if any).
# NB - You can have multiple 'defaults' lines, and they only affect those on
#        the lines below under that specific port.
# Just "@<nodecall>" should be equivalent to "default@<nodecall>"
#
# <mode> is only two bits have any meaning:
#    0 :   1 : Setup utmp, and run on a ptty (currently not supported).
#  1-4 :     : UNUSED
#    5 :  32 : Don't log any activity of this connection (currently not supported).
#    6 :     : UNUSED
#    7 : 128 : Lockout, they are met with a disconnect.
#
# <args...>
# Command line substitution is possible with:
#   %U = User AX.25 call without SSID in UPPERCASE.
#   %u = User AX.25 call without SSID in lowerCASE.
#   %S = User AX.25 call with SSID in UPPERCASE.
#   %s = User AX.25 call with SSID in lowerCASE.
#   %P = Peer AX.25 call (NODE call) without SSID in UPPERCASE.
#   %p = Peer AX.25 call (NODE call) without SSID in lowerCASE.
#   %R = Peer AX.25 call (NODE call) with SSID in UPPERCASE.
#   %r = Peer AX.25 call (NODE call) with SSID in lowerCASE.
#
#  The window control may not work entriely.  As NETROM negotiates window
#    size with it's peer upon connection.  Now if recvmsg()/sendmsg() or
#    getsockopt()/setsockopt() work with NETROM we could do it :-).  Other
#    than that, I think at best it will adjust your working TX window
#    between max negotiated and 1.
#
<G7LED>
defaults	7 240 10  *   5
#
G9TST		* *   *   *   *   128
NOCALL		* *   *   *   *   128
GB7MIP		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
GB7BIR		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
GB7COV		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
GB7PIT		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
G7PIT		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s gb7pit
G7LED-10	* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
default@G7LED-15 * 4   1   *   *   0	root	/usr/lode/src/lode	lode
default		* *   *   *   *   0	root	/usr/lode/src/lode	lode
#default		* *   *   *   *   0	guest	/usr/lbbs/bin/bbsrx	bbsrx
#
<G7LED-14>
defaults	7 240 10  *   5
#
G9TST		* *   *   *   *   128
NOCALL		* *   *   *   *   128
default		* *   *   *   *   0	root	/usr/lbbs/bin/bbsrx	bbsrx -s %u
