LinBPQ with Winmor port.

With the help of the config file of Jerry, N9LYA and some help from John, G8BPQ I have setup a Winmor port on my Linbpq.I use a Microham USB II as soundcard device connected to my Windows PC and a direct Cat kabel from my Linux PC to control the TRX.

Here is the section for the Winmor port. (BPQ32.CFG)

PORT
 PORTNUM=2
 ID=HF WINMOR
 TYPE=EXTERNAL
 PROTOCOL=WINMOR
 DLLNAME=WINMOR.DLL
; INTERLOCK=6
 QUALITY=0

CONFIG

ADDR 192.168.1.145 18500 PTT CAT PATH REMOTE:C:\WINMOR\WINMOR TNC.EXE
RIGCONTROL
/dev/ttyUSB0 4800 Yaesu FT100
7,7.050,USB,W2
7,14.110,USB,W2
****
WL2KREPORT PUBLIC, api.winlink.org, 80, PI1LAP-10, JO11VN, 00-23, 7051500, WINMOR1600, 25, 50, 0, 360
WL2KREPORT PUBLIC, api.winlink.org, 80, PI1LAP-10, JO11VN, 00-23, 14111500, WINMOR1600, 25, 50, 0,360
WL2KREPORT PUBLIC, api.winlink.org, 80, PI1LAP-10, JO11VN, 00-23, 430950000, PKT9600, 10, 60, 9, 0
WL2KREPORT PUBLIC, api.winlink.org, 80, PI1lAP-10, JO11VN, 00-23, 144850000, PKT1200, 10, 60, 9, 0
CWID TRUE
DEBUGLOG True
BW 1600
DRIVELEVEL 100
MODE AUTO
ROBUST False
SHOW True
BUSYLOCK False
BUSYHOLD 5
BUSYWAIT 12

ENDPORT

WINMOR TNC.ini

[WINMOR TNC Form]
ResponseDelay=300
LeaderExtension=0
Disable=False
Waterfall=True
Spectrum=False
Top=22
Left=22
MyCallsign=PI1LAP-10
Registration=
TCP Control Port=8500
MyGridsquare=JO11VN
StartMinimized=False
DebugLog=True
CommandTrace=False
CaptureDevice=Lijningang (High Definition Audio-apparaat)-61
PlaybackDevice=Luidsprekers (High Definition Audio-apparaat)-e9
TCP Address=192.168.1.145

Winmor Status screen from Linbpq

Winmor

Tnx for the help Jerry and John.

Direwolf to LinBPQ config

John WQ6N has found a solution for direwolf and Linbpq that works very well for HF.

Direwolf.conf

/etc/direwolf/direwolf.conf
ADEVICE plughw:1,0
ACHANNELS 1
CHANNEL 0
MODEM 300 2130:2230 D
SERIALKISS /dev/ptyp0 19200
KISSPORT 0
DWAIT 0
SLOTTIME 12
PERSIST 63
TXDELAY 40
TXTAIL 10
FIX_BITS 1 AX25
LOGDIR /var/log/direwolf

bpq32.cfg

/linbpq/bpq32.cfg (HFGW Port)
PORT
PORTNUM=XX                       ; Optional but sets port number if stated
ID=BPQ HFGW                     ; Displayed by PORTS command
TYPE=ASYNC                       ; Port is RS232 Com
PROTOCOL=KISS           ; TNC is used in KISS, JKISS or BPQKISS mode
FULLDUP=0                        ; Only meaningful for KISS, JKISS or BPQKISS devices
COMPORT=/dev/ttyp0
SPEED=19200                      ; RS232 COM PORT SPEED
CHANNEL=A                        ; A for single channel TNC, A or B for multichannel
NOKEEPALIVES=1
PERSIST=63                       ; PERSIST=256/(# of transmitters-1)
SLOTTIME=120            ; CMSA interval timer in milliseconds
TXDELAY=300             ; Transmit keyup delay in milliseconds
TXTAIL=100                       ; TX key down, in milliseconds, at packet end
QUALITY=0               ; Quality factor applied to node broadcasts heard on
MINQUAL=0               ; Entries in the nodes table with qualities greater or
MAXFRAME=1                       ; Max outstanding frames (1 thru 7)
FRACK=5000                       ; Level 2 timout in milliseconds
RESPTIME=1000           ; Level 2 delayed ack timer in milliseconds
RETRIES=15                       ; Level 2 maximum retry value
PACLEN=60                        ; Default max packet length for this port
UNPROTO=<URNODE>             ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
BCALL=<URCALL-SSID>            ; BTEXT call. unstated defaults to APPL1CALL
L3ONLY=0                         ; 1=No user downlink connects on this port
DIGIFLAG=0                       ; Digipeat: 0=OFF, 1=ALL, 255=UI Only
DIGIPORT=0                       ; Port on which to send digi'd frames (0 = same port)
USERS=0                 ; Maximum number of L2 sessions, 0 = no limit
ENDPORT
journalctl -o cat -af -u direwolf
Opened /dev/ptyp0 for serial port KISS.
KISS protocol set TXDELAY = 30 (*10mS units = 300 mS), port 0
KISS protocol set Persistence = 63, port 0
KISS protocol set SlotTime = 12 (*10mS units = 120 mS), port 0
KISS protocol set TXtail = 10 (*10mS units = 100 mS), port 0
KISS protocol set FullDuplex = 0, port 0

 

Direwolf and Jnos

#!/bin/bash
# 6 march 2018
# Wrote a small script to get the shittie PTS to a file where its belongs.
# Yes you can also use the agw driver from Direwolf for Jnos.
# Now its also possible to "sed" the right PTS to your ax25 start file
#
# socat -d -d -lf /tmp/socat.pts PTY,link=/tmp/kisstnc TCP4:127.0.0.1:8001 &
# sleep 2
# grep -o "/dev/pts/." /tmp/socat.pts > /tmp/devs.pts
# attachthem () {
# read PTS1
# sed -i "s,kissattach -m 256 /dev/.*$,kissattach -m 256 $PTS1 ax0 44.137.31.73," /etc/ax25/ax-start
#
# }
#
# tail -n 1 /tmp/devs.pts | attachthem
# rm /tmp/socat.pts
# rm /tmp/devs.pts
# sleep 3
#
# Or use it with (X)net.
# sed -i "s,attach sdev4 kiss 4 1 19200 /dev/.*$,attach sdev4 kiss 4 1 19200 $PTS1," /usr/local/xnet/AUTOBOOT.NET
#
# Or with BPQ
# sed -i "s,COMPORT=/dev/.*$,COMPORT=$PTS1," /usr/local/linbpq/bpq32.cfg
#
# Oo well maybe work this better
# IPADDR=127.0.0.1
# TCPPORT=8001
#
# Yes there are many way`s to do this, but i had some fun to play with it.
# Maybe it is useful for someone.
#################################################################################################

The scipt…. Small but work quit well

#!/bin/bash
echo "Starting direwolf with socat for jnos/ax25"
# Set the path to direwolf and some stuff
PATH=/direwolf:/usr/bin:/bin:/usr/local/bin
# Start Direwolf
direwolf -c /direwolf/direwolf.conf &> /var/log/direwolf.log >/dev/tty3 &
sleep 3
# Socat kisstnc link with a PTS
socat -d -d -lf /tmp/socat.pts PTY,link=/tmp/kisstnc TCP4:127.0.0.1:8001 &
sleep 2
grep -o "/dev/pts/." /tmp/socat.pts > /home/pd2lt/jnos/spool/ptmx_radio.cfg
echo "Direwolf is connect to" `cat /home/pd2lt/jnos/spool/ptmx_radio.cfg`
echo "Now Jnos is ready to Rock and Roll :)"
rm /tmp/socat.pts
# Dont delete ptmx_radio.cfg before starting Jnos
rm /home/pd2lt/jnos/spool/ptmx_radio.cfg
sleep 1

This is what i found in the change.log of Jnos

Better support for PTY98 (/dev/ptmx, /dev/pts/N) pseudo devices. Bob (VE3TOK)
   asked for this a long time ago, so I figured I better get it implemented.

   Note : Technically one can use the new jnos 'attach baycom' and go direct to
   a kernel KISS type interface, meaning you don't need to run an intermediary
   program (kissattach or net2kiss) anymore. Try it, let me know how it works.

   COMPILE : Make sure '#define JNOSPTY98' exists in your config.h file.

   The best way for me to show how this feature works is by example. One way of
   getting JNOS to use a linux AX25 device is through the 'kissattach' program,
   but get the one from F6BVP (it has a mod that actually outputs the name of
   the slave device after you run the program). The stock ax25 utilities will
   not tell you that (you have to look for a new /dev/pts/N to appear then).

      kissattach /dev/ptmx radio > /jnos/spool/ptmx_radio.cfg

   The issue here is you don't know what slave device you will get, it could
   change each time you run kissattach, there may be no consistent device name
   for you to depend on when running 'attach asy' in the JNOS autoexec.nos.

   Now in JNOS (autoexec.nos), suppose we have this entry below :

      attach asy ptmx_radio - ax25 ax0 4096 256 9600

   I have added a feature where if the 3rd argument starts with 'ptmx_', then
   JNOS will look for a corresponding *.cfg file, and extract the slave device
   name from it, and then attach using that instead of the original argument.

This is some monitor output of Direwolf.

Dire Wolf version 1.3

Reading config file /direwolf/direwolf.conf
Audio device for both receive and transmit: plughw:0,0 (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Ready to accept AGW client application 0 on port 8000 …
Use -p command line option to enable KISS pseudo terminal.
Ready to accept KISS client application on port 8001 …

Connected to KISS client application …

[0L] PD2LT-2>NODES:<0xfe>
[0L] PD2LT-9>NODES:<0xff>LAPNOS
[0L] PD2LT-9>NODES:<0xfe>LAPNOS

PD2LT-2 audio level = 14(3/3) [NONE] |||||||__
[0.3] PD2LT-2>NODES:<0xfe>

PD2LT-9 audio level = 14(3/3) [NONE] ||||||||_
[0.3] PD2LT-9>NODES:<0xff>LAPNOS

Bind bpq to ax25 interface

I’m using uronode as front end node, but i’m also like to connect to different packet software.
This time it’s linbpq. Lets go…..

First of all bpq32.cfg
Change the comport to COMPORT=/dev

PORT
 PORTNUM=1
 ID=Link Local
 TYPE=ASYNC
 PROTOCOL=KISS
 FULLDUP=0
 COMPORT=/dev
 SPEED=19200
 CHANNEL=A
 NOKEEPALIVES=0
 PERSIST=160
 SLOTTIME=180
 TXDELAY=180
 TXTAIL=23
 QUALITY=192
 MINQUAL=100
 MAXFRAME=4
 FRACK=5000
 RESPTIME=1000
 RETRIES=25
 PACLEN=128
 UNPROTO=APBPQ1,PI1LAP-5
 BCALL=PI1LAP-9
 L3ONLY=0
 DIGIFLAG=1
 DIGIPORT=0
 USERS=0
ENDPORT

Axports

root@gw:/usr/local/linbpq# cat /etc/ax25/axports
ax1     PI1LAP-9        19200   256     2       Linbpq pi1lap-9

Now the linbpq start file

setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq

# Link local pi1lap-9
        echo "Starting ax1 "
        if grep ax1 /etc/ax25/axports ; then
        tmpfile="/tmp/$.startax5.pts"
        kissnetd -p 2 > "$tmpfile" &
        sleep 2
        attachthem () {
                read PTS1 PTS2
                kissattach -l $PTS1 ax1 44.137.31.73 || return=$rc_failed
                ifconfig ax1 44.137.31.73 netmask 255.255.255.224 up
                sleep 1
                sed -i "s,COMPORT=/dev/.*$,COMPORT=$PTS2," /usr/local/linbpq/bpq32.cfg
        }

        tail -n 1 $tmpfile | attachthem
        rm $tmpfile
        sleep 3
        else
               echo  "Error ax1 not found in the file axports"
                return="Failed"
        fi
        echo "$1 $return"

cd /usr/local/linbpq
sudo ./linbpq  >/dev/tty4

Ok let’s look it ok now

ps ax | grep kissattach

root@gw:/usr/local/linbpq# ps ax | grep kissattach
 5910 ?        S      0:00 kissattach -l /dev/pts/16 ax1 44.137.31.73
 6504 pts/19   S+     0:00 grep kissattach

Now have a look in bpq32.cfg

root@gw:/usr/local/linbpq# grep COMPORT=/dev bpq32.cfg
 COMPORT=/dev/pts/17

Here you see there is a PTS couple /dev/pts/16 and /dev/pts/17

So we are good to go.

pd2lt@uro.pd2lt.ampr.org-IPv6: r
Routes:
Link Intface Callsign  Qual Nodes Lock  QSO
---- ------- --------- ---- ----- ----  ---
>    ax1     PI1LAP-9   203     2         0

The route to pi1lap-9 is there in uronode. Let’s try a connect.

pd2lt@uro.pd2lt.ampr.org-IPv6: c pi1lap-9
Trying LAPBPQ:PI1LAP-9... <Enter> aborts.
Virtual circuit established to LAPBPQ:PI1LAP-9
Connected to PI1LAP-9.
Packet/Switch Node, Kortgene JO11VN

LAPBPQ:PI1LAP-9} BBS,URO,FPAC,APP,RMS,DX,JNOS,CHAT,C,B,I,N,R,P,U,V,S,MH
l
LAPBPQ:PI1LAP-9} Links
PI1LAP-5 PI1LAP-9 S=5 P=1 T=3 V=2

😉

Examples forward JNOS/BPQ/LinFBB

Here below some examples how the configuration of the forward in different systems works.

Thanks in particular to Bob (VE3TOK) and Gus (I0OJJ) for example configs !

Copyright ©  http://www.langelaar.net/jnos2/

Example Configuration for JNOS 2.0k side
   ----------------------------------------

      a) autoexec.nos

         # regular listener (no IAC) for remote JNOS and BPQ systems
         start telnet

         # another listener (IAC) on different port for LINFBB and OBCM systems
         start telnet 6300 iac

         # for winlink secure login, you have to configure your callsign
         mbox winlinkcall ve4klm

      b) spool/forward.bbs

         -------
         ve3tok
         # Here we are talking to a remote LINFBB system
         telnet 44.x.y.z 6300 iac
         +Callsign :
         .ve4klm
         +Password :
         .BLAHBLAHBLAH
         ve3tok
         -------
         va3tok
         # Here we are talking to a remote BPQ system
         telnet 44.x.y.z 8011 cronly
         .ve4klm
         .BLAHBLAHBLAH
         +BPQ
         .BPQBBS
         va3tok
         -------
         wl2k
         # Here we are talking to Winlink CMS server
         telnet winlink.org 8772 cronly
         +Callsign :
         ..VE4KLM
         +Password :
         .BLAHBLAH
         wl2k
         -------
         i0ojj 0023 P
         # Here we are talking to obcm v1.07b12
         # NOTE : OBCM supports FC proposal, so it will use B2F, but wonder if
         # I should force a B1F response so RLINE and Headers work properly ?
         telnet 44.x.y.z 4719 iac
         @10
         +login:
         .ve4klm
         @10
         +password:
         .BLAHBLAH
         @10
         <areas to forward>
         -------
         ir0aab 0023 P
         # Here we are talking to linfbb v7.0.8-beta2
         telnet 44.x.y.z 6300 iac
         @
         +Callsign :
         .ve4klm
         +Password :
         .BLAHBLAH
         @
         <areas to forward>
         -------

      c) setting up MY winlink authentication

         cd /jnos

         mkdir users		* you only need to do this one time

         ./jnospwmgr -a <callsign> -w

         it will ask you to enter the phrase that you would have received
         from your winlink notice (the challenge/response phrase).         

       * for now please read release notes (search December 8) for more info.

   Remote LINFBB host
   ------------------

     For forwarding to VE4KLM I added the following line to 'bbs.sys' :

       < FWD\VE4KLM

     A forward file for that particular bbs is placed in FBB's 'fwd' directory,
     so an example of forward file, 've4klm' (contents might be different for
     other FBB owners.)

       A VE4KLM

         P A
         C C ve4klm ve4klm.ampr.org 6300
         V login$Wpassword$W

       #  Forward file -- To VE4KLM BBS (JNOS)
       #
       #  Personal mail
       #
       B VE4KLM
       F VE4KLM
       #
       # Reverse fowarding to take place
       R
       # Forward rest of North-America to VE4KLM
       H  VE4KLM.#WPG.MB.CAN.NOAM
       H *.NOAM
       #

   Remote BPQ host
   ---------------

     This is needed as telnet connect script for bpq in forwarding with jnos.
     It is entered in the "connect script" box of the forwarding config web
     page of the bpq mail server.

       TIMES 0000-2359
       Idletime 60
       attach 3
       c ve4klm.ampr.org 23 NEEDLF .login pass

     General:

       attach p - p is a port number cfg'd as telnet port in your bpq32.cfg

       c Hostname TCPport [NEEDLF] User Password [Command]

     Here :

       attached 3 - I configured port 3 as telnet port
       NEEDLF     - Causes a Line Feed to be sent after user and password.
       .login     - The period before the login user name will tell jnos to use
                    a transparent TCP session instead of ordinary telnet.

     See: http://www.cantab.net/users/john.wiseman/Documents/TelnetServer.htm

     This example line below is needed in bpq32.cfg so that jnos can login into
     bpq and initiate forwarding as bbs.
 
       USER=ve4klm,password,login,BBS

   Remote OBCM host
   ----------------

     ; From obcm v1.07b12
     ;
     ; INIT IR0RM file (JNOS-2.0k+)
     ;          0                  1                  2
     ;          012345678901234567890123
     IR0RM PPPPPPPPPPPPPPPPPPPPPPPP TELNET:44.x.y.z:6300
      -d -k -l -o -u
     ;

   Remote LINFBB host
   ------------------

     # From linfbb v7.0.8-beta2
     #
     IF H 00-23
      S connected failure busy
      C C IR0RM-1 44.x.y.z 6300
      V i0ojj$Wpassword$W
     ENDIF
     #

 

Installing BPQ on the Raspberry Pi and TNC-Pi or Beaglebone Black and TNC-Black

Willem AC0KQ heeft een grafische bpq-config programmaatje schreven. Hier onder de uitleg.
(bron http://www.prinmath.com/ham/bpqHOWTO.htm)

Tevens is er een Quickstart guide http://www.prinmath.com/ham/howto/quickstart/

Het perl script wat Willem AC0KQ heeft geschreven http://www.prinmath.com/ham/bpq-config

Willem A. Schreüder AC0KQ

The purpose of this HOWTO is to describe how to install BPQ on a Linux Single
Board Computer (SBC) such as the Raspberry Pi or Beaglebone Black.

BPQ is a very sophisticated NET/ROM compatible packet switch written by John
Wiseman G8BPQ. BPQ can be configured to be a sophisticated Packet BBS, a
WinLink2000 RMS gateway, an APRS iGate, or any combination of these.

One of the hurdles to setting up BPQ is that the configuration file can be
rather difficult to set up. To ease this, this HOWTO uses a program named
bpq-config which makes it easy to create the initial configuration.
While bpq-config is primarily intended to create the initial
configuration file which you can then modify, it is actually capable of creating
a fairly sophisticated configuration file using a menu-driven interface.

Much more detail about BPQ are provided at
G8BPQ Home Page

At this time bpq-config only supports the Raspberry Pi and Beagle Bone
Black with John Hansen’s TNC-Pi and TNC-Black. This is because these are fairly
predictable environments. However, with little modification bpq-config
can also be used with other systems.

If you have any corrections or comments about this HOWTO or bpq-config, please
email me. I get lots of junk mail, so
add BPQ to the subject line to get it by my spam filters.

Authorization

If you want to use BPQ as an RMS gateway to WinLink, you need to obtain authorization from the WinLink folks. See this link on how to do that.

To send APRS position reports to the APRS-IS via the APRS Tier 2 Network a
password is required. However, bpq-config contains a function to
generate that password for you, so no additional authorization is required.

Computer Hardware

The Raspberry Pi and Beaglebone Black are available from numerous sources. The
price for a Raspberry Pi 2 or 3 is $35 from mail order vendors such as
MCM Electronics.

The Raspberry Pi B or B+ is sufficiently fast to run BPQ, so you can use that if
you happen to have one. The TNC-Pi works with all of these models.

The Raspberry Pi has the advantage of a very active user community, which makes
it the best supported device. The disadvantage of the Raspberry Pi is that it
has only one serial port, so if you want to use more than one TNC you need to
use the I2C bus to address the TNCs, which requires a bit more work.

The Beaglebone Black is has a street price around $50. It has the advantage of
a more mechanically stable mounting arrangement and four serial ports which
makes multiple TNC easy to mount and use.

The disadvantage of the Beagle Bone black is that it is not as well supported as
the Raspberry Pi so getting it configured is a bit more work.

TNC Hardware

  • The TNC-Pi is available at Coastal Chipworks
    either built or as a kit. Get the kit, it is easy to build and lots of fun.
    The instructions are almost as good as the old Heathkit manuals.
  • For most locations you need some sort of enclosure. I use the Bud
    Industries Pi Sandwitch which allows the Raspberry Pi and TNC Pi pair to be
    mounted.
  • The rPi runs on 5V, so for a 12V system you need a converter to supply 5V
    at 1A continuously. The 7805 style regulators generate a lot of heat at that
    current so I use the Murata 78SRH-5/2-C instead, which will work for input
    voltages from 8-32V DC. I use a right angle Micro USB cable which I cut to
    wire for power. If the cable uses standard color codes, white and red are data
    which you can ignore, red and black are positive and negative.
  • The rPi needs an SD card to store the software. The Model B uses a
    standard size SD, the Model B+ uses the Micro SD format. A high speed and
    reliable card is critical, so getting a 16GB Class 10 card is recommended. The
    bigger card should last longer since the wear is spread over a larger space.
    Get a spare since the cards do wear out eventually.

    Configuring the OS

    Raspbian switch to systemd starting with jessie (Debian 8). These instructions will work
    only with this latest version of Raspbian. For older versions see
    these instructions.

    • Download Raspbian which is
      Debian for the Raspberry Pi. There are several other OS versions, but this one is my
      choice as a pretty vanilla Linux distro. Unzip the image from the ZIP file and follow

      these instructions
      to burn the image to the SD card.
    • Insert the card into the Pi and boot it. You can either
      • Connect a keyboard and monitor and log in directly.
      • Connect the pi to a network running DHCP and ssh into it. The hostname willshow up as RASPBERRY in the DHCP leases on your router.
    • Log in to the computer using user name pi and password raspberry.
    • Run sudo raspi-config
      • Expand Filesystem
      • Change User Password
      • Internationalisation (set time zone)
      • Advanced options (hostname)
    • Install new packages
      • sudo apt-get install vim telnet minicom i2c-tools libpcap0.8
    • Add new user with administrative privilidges
      • sudo adduser username
      • sudo adduser username sudo
    • Free up the serial line the TNC-Pi will use.
      • sudo systemctl mask serial-getty@ttyAMA0.service
    • Reboot the system to make sure the serial line is released.
      • sudo reboot

    Install and configure BPQ

    • Log in using the new user created above.
    • Create the BPQ sub-directory
      • mkdir BPQ
      • cd BPQ
    • Download bpq-config, make it executable and run it
      • wget http://www.prinmath.com/ham/bpq-config
      • chmod a+x bpq-config
      • sudo ./getbpq
    • bpq-config is menu-driven, so just follow the menus.Generally you would do the following things.
      1. Download the BPQ software.
      2. Configure BPQ
        1. Configure the node.
        2. Configure one or more ports.
        3. Configure one or more telnet users.
        4. Optionally add one or more AXIP node maps.
        5. Write the configuration.
      3. Start BPQ and test it.
      4. Set BPQ to automatically start on boot.

    Using BPQ

    • Connect to BPQ using your web browser by typing inhttp://X.X.X.X:8008/on the URL bar, where X.X.X.X is the IP address of your BPQ node
    • You can connect to BPQ node from any computer on the LAN usingtelnet X.X.X.X 8010
  • Log in using your BPQ user name and password set for the Telnet user.

HOW TO install linbpq on a Raspberry Pi

Write jessie image to SD Card

Bootup RPi and connect to your WLAN and change the Raspberry Pi Configuration:
– expand file system
– rename host name
– enable I2C interface
– set keyboard to United States, English (US, with euro on 5)
– set timezone Europe Amsterdam
reboot the RPi

update system

sudo apt-get update
sudo apt-get upgrade

Reboot your Pi

sudo reboot now

Instructions can also be found on http://www.cantab.net/users/john.wiseman/Documents/InstallingLINBPQ.htm

sudo mkdir linbpq
cd linbpq
sudo wget http://www.cantab.net/users/john.wiseman/Downloads/Beta/pilinbpq
sudo mv pilinbpq linbpq
sudo chmod +x linbpq

If you want to use UDP or TCP ports below 1024, or the BPQEther Driver, you must also set some capabilites on the file
(or run as root, wihch is not advisable). You may need to install setcap if it isn’t already on your system – sudo apt-get install libcap2-bin
or the equivalent for your disatribution.

sudo setcap “CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep” linbpq

You also need some web pages for the management interface. Create directory HTML (capitals) under your linbpq directory, and download and unzip
https://dl.dropbox.com/u/31910649/HTMLPages.zip into it.

sudo mkdir HTML
cd HTML
sudo wget https://dl.dropbox.com/u/31910649/HTMLPages.zip
sudo unzip HTMLPages.zip

 

The Web server is configured in a similar way to the UI-View web server, although there are minor differences. The “Base Directory” for pages and files is
folder BPQAPRS/HTML, under your BPQ32 Data Directory. The simplest way to get it working is to take a set of pages, and tailor them to your requirements. A
typical set may be downloaded from http://www.cantab.net/users/john.wiseman/Documents/Samples/APRSHTML.zip

cd ~/linbpq
sudo mkdir BPQAPRS
cd BPQAPRS
sudo wget http://www.cantab.net/users/john.wiseman/Documents/Samples/APRSHTML.zip
sudo unzip APRSHTML.zip

Change the rights for linbpq to pi:pi

cd ~
sudo chown -R pi:pi linbpq

Configuring linbpq

The linbpq software is configured by the file /home/pi/linbpq/bpq32.cfg. The configuration is well described in the documentation. See example for my bpq32.cfg file

sudo nano /home/pi/linbp/bpq32.cfg

Run linbpq for the first time

cd ~/linbpq
sudo -u pi ./linbpq

Create a script /home/pi/linbpq/runbpq containing:

cd /home/pi/linbpq
sudo -u pi mv linbpq.new linbpq
sudo -u pi ./linbpq >/dev/tty2

make it executable

sudo chmod +x /home/pi/linbpq/runbpq

Add user pi to group tty

sudo adduser pi tty

Create file /etc/systemd/system/linbpq.service containing:

[Unit]
After=network.target

[Service]
ExecStart=/bin/bash /home/pi/linbpq/runbpq
Restart=always

[Install]
WantedBy=multi-user.target

 

To start the service at bootrun command:
sudo systemctl enable linbpq.service

To stop the service at boot run command:
sudo systemctl disable linbpq.service

To restart the service at boot run command:
sudo systemctl restart linbpq.service

####################
You need to run setcap each time you download a new version of linbpq.

cd linbpq
sudo setcap “CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep” linbpq

 

BPQ32.CFG example PI1BDG/PI8BDG

/* This begins a multi-line comment

CONFIGURATION FILE FOR BPQ32: G8BPQ SWITCH SOFTWARE

Includes 1 AX/IP/UDP, 1 Telnet Port, 2 Pi TNC port and 2 KISS TNC Port.
Written by Fred/PA8F V20170419

*/ This ends a multi-line comment
LOCATOR=JO22JB ; Node locator
NODECALL=PI1BDG ; Node callsign
NODEALIAS=BDGNOD ; Node alias (6 characters max)
MAPCOMMENT=BPQ32 Node<BR>PI1BDG Node<BR>PI8BDG BBS<BR>PI8BDG-10 RMS<BR>PI1BDG-4 CHAT<BR>430.925MHz<BR>Bodegraven, ZH
LINMAIL ; Enable BBS
LINCHAT ; Enable CHAT
; ‘ID’ MESSAGE – SENT EVERY IDINTERVAL MINS
;
; WILL BE ADDRESSED FROM THE PORT CALLSIGN (IF DEFINED)
; ELSE FROM THE NODE CALL
;
; The main purpose of this is to satisfy the requrements of those administations that require a regular station
; identification in the same mode as used for communication.
IDMSG: ; UI broadcast text from NODECALL to fixed dest ID
Net/Rom node and BBS Regio Gouda (430.925: 1k2), Bodegraven, ZH
BBS @ PI8BDG, Chat @ PI1BDG-4, DXSpider @ PI8BDG-6, RMS @ PI8BDG-10
*** ; Denotes end of IDMSG text
/*
The BTEXT below contains an APRS location specification. Search the internet
for “APRS Protocol Specification” for details on the format. If you do not
care to do this, it would be best to replace the line by simple non APRS
text rather than transmit incorrect data which may find it’s way via APRS
IGates to FINDU.COM.
*/

BTEXT: ; UI broadcast text from BCALL to destination UNPROTO=
; Coordinates in APRS format: ddmm.mm(N|S) latitude
; dddmm.mm(W|E) longitude,For longitude the the first ‘d’
; must be either 0 or 1.
!5204.48N/00445.04E#BPQ Node en BBS
*** ; Denotes end of BTEXT text

INFOMSG: ; The INFO command text follows:

PI1BDG – PI8BDG Packet System
Linux BPQ NODE/APRS/IGate – Sysop: Fred/PA8F, Bodegraven NL – JO22jb –
This system runs on a Raspberry-PI 3 under Raspbian-Jessie.

Node Ports:
Port 1: AXUDP Interlinks through the Internet / Hamnet where possible
Port 2: Internal and External Telnet port
Port 3: APRS/IGate – 144.800 MHz, Antenna Diamond X50N at 12m HAAT
Port 4: APRS/IGate – 432.500 MHz, Antenna Diamond X50N at 12m HAAT
Port 5: LAP1k2 – 430.925 Mhz, Antenna Diamond V2000 at 12m HAAT
Port 6: LAP9k6 – 430.925 MHz, Antenna Diamond V2000 at 12m HAAT

Telnet Access:
Port 3694: Uronode Telnet Access
Port 6300: F6FBB Mailbox for forwarding (Internal Application PI8BDG)
Port 7300: DX Cluster (Internal Application PI8BDG-6)

HTTP Access:
PI1BDG Linux BPQ Node: pa8f.ddns.net

Internal Applications:
Mailbox: PI8BDG, F6FBB 7.08
Chat: PI1BDG-4
DX Cluster: PI8BDG-6, DXSpider version 1.55
RMS gateway: PI8BDG-10

Ax25-mail : pa8f@pi8bdg.#zh.nl.eu
AMPR mail : pa8f@pa8f.ampr.org
E-mail : pa8f@ziggo.nl

Have Fun
*** ; Denotes end of INFOMSG text
CTEXT: ; The CTEXT text follows:
Welcome to PI1BDG BPQ32 Node and Telnet Server Use “?” for Help menu.
BDGNOD:PI1BDG}
*** ; Denotes end of CTEXT text

FULL_CTEXT=1 ; 0=send CTEXT to L2 connects to NODEALIAS only
; 1=send CTEXT to all connectees
; Network System Parameters:
OBSINIT=6 ; Initial obsolescence set when a node is included
; in a received nodes broadcast. This value is then
; decremented by 1 every NODESINTERVAL.
OBSMIN=4 ; When the obsolescence of a node falls below this
; value that node’s information is not included in
; a subsequent nodes broadcast.
NODESINTERVAL=10 ; Nodes broadcast interval in minutes
IDINTERVAL=15 ; ‘IDMSG’ UI broadcast interval in minutes, 0=OFF
BTINTERVAL=15 ; The BTEXT broadcast interval in minutes, 0=OFF
L3TIMETOLIVE=25 ; Max L3 hops
L4RETRIES=3 ; Level 4 retry count
L4TIMEOUT=60 ; Level 4 timeout in seconds s/b > FRACK x RETRIES
L4DELAY=10 ; Level 4 delayed ack timer in seconds
L4WINDOW=4 ; Level 4 window size
MAXLINKS=63 ; Max level 2 links
MAXNODES=512 ; Max nodes in nodes table
MAXROUTES=64 ; Max adjacent nodes
MAXCIRCUITS=128 ; Max L4 circuits
MINQUAL=144 ; Minimum quality to add to nodes table
; INP3 Routing is experimental. The two parms which follow will be ignored
; unless activated in the ROUTES: section.
MAXHOPS=4 ; INP3 hop limit to add to tables
MAXRTT=90 ; INP3 max RTT in seconds
BUFFERS=255 ; Packet buffers – 255 means allocate as many as
; possible, normally about 130, depending upon other
; table sizes.
; TNC default parameters:
PACLEN=236 ; Max packet size (236 max for net/rom)
; 236 is suitable for reliable and fast connections, such
; as AX/IP/UDP or a dedicated 9600 RF Link
; 120 is suitable for a shared VHF packet radio connection
; PACLEN is defined for each port individually in the ports sections
TRANSDELAY=1 ; Transparent node send delay in seconds
; Level 2 Parameters:
; T1 (FRACK), T2 (RESPTIME) and N2 (RETRIES) are now in the PORTS section
T3=120 ; Link validation timer in seconds
IDLETIME=720 ; Idle link shutdown timer in seconds
; Configuration Options:
AUTOSAVE=1 ; Saves BPQNODES.dat upon program exit
BBS=1 ; 1 = BBS support included, 0 = No BBS support
NODE=1 ; Include switch support
HIDENODES=1 ; If set to 1, nodes beginning with a #
; require a ‘N *’ command to be displayed.
/*
The *** LINKED command is intended for use by gateway software, and concern
has been expressed that it could be misused. It is recommended that it be
disabled (=N) if unneeded.
*/
ENABLE_LINKED=A ; Controls processing of *** LINKED command
; Y = allows unrestricted use
; A = allows use by application program
; N = disabled
;
; Port Definitions:
; AX/IP/UDP port definition.
PORT
PORTNUM=1 ; Optional but sets port number if stated
ID=AX/IP/UDP ; Displayed by PORTS command
DRIVER=BPQAXIP ; Uses BPQAXIP capability of bpq32.dll
QUALITY=192 ; Quality factor applied to node broadcasts heard on
; this port, unless overridden by a locked route
; entry. Setting to 0 stops node broadcasts
MINQUAL=142 ; Entries in the nodes table with qualities greater or
; equal to MINQUAL will be sent on this port. A value
; of 0 sends everything.
FRACK=3000 ; Level 2 timout in milliseconds
RESPTIME=1000 ; Level 2 delayed ack timer in milliseconds
RETRIES=10 ; Level 2 maximum retry value
MAXFRAME=7 ; Max outstanding frames (1 thru 7)
PACLEN=236 ; Maximum packet lenght
CONFIG ; Driver specific configuration from here to ENDPORT
MHEARD ; Keep herad status. Opens AXIP MHEARD window
UDP 10093 ;Listens for UDP packets on this UDP port number
; You may listen on additional port numbers if desired:
; UDP 10094 ;Listens for UDP packets on this UDP port number
; The default behavior is to not
; add information to BPQ32’s nodes table for AX/IP/UDP nodes which are not
; explicitly listed in the bpqaxip.cfg file. The default behavior can be
; modified with these commands:
; DONTCHECKSOURCECALL ;This option allows entries in the NODES table from
;stations sending you nodes broadcasts without the
;corresponding node being configured in bpqaxip.cfg.
; AUTOADDMAP ;This option automatically adds the node call and
;address of a node for which you do not have a
;pre-arranged fixed entry in bpqaxip.cfg. If the
;option DONTCHECKSOURCECALL is specified then the
;AUTOADDMAP option is ignored.

BROADCAST NODES

MAP VE3UIL-7 206.47.13.106 UDP 10093 B ; Mike Smiths Falls, Ontario, Canada
MAP PD4U-12 pd4u.zapto.org UDP 10093 B ; Mark
MAP F1OYP-5 F1OYP.NO-IP.ORG UDP 10093 B ;
MAP KA9LCF-7 69.1.147.35 UDP 10093 B ; Clifford
MAP KE0CQF-7 KE0CQF.120V.AC UDP 10093 B ; Art
MAP N7VVX-1 n7vvx.ampr.org UDP 10093 B ; Dave
MAP ON0AR-10 on0ar.ampr.org UDP 93 B ; Luc
MAP OH5RM-10 oh5rm.no-ip.org UDP 10093 B ;
MAP ZS6RO-14 zs6ro.ddns.net UDP 10093 B ;
MAP PD1DER-14 213.73.162.161 UDP 10093 B ; Wander
MAP PI1CDR sytsma.co.uk UDP 93 B ; Han
MAP PI1BDG-1 44.137.1.82 B ; Fred
MAP GB7CIP-5 82.70.39.222 UDP 10093 B ; Paul

; If INP3 routing (experimental at this point) is utilized the ‘B’ command
; should not be included
MAP PE1MVX-15 pe1mvx.mooo.com KEEPALIVE 120 UDP 10093 ; Hans
MAP PI1LAP 82.176.45.213 UDP 93 ; Niels
MAP I0OJJ-3 44.134.32.240 UDP 93 ; Gus ir0rm-7.ampr.org

; A keepalive may be needed if you have not properly configured your
; router to direct incoming UDP traffic to the specific machine on you
; LAN which is running BPQ32. You should properly configure your router
; so that the keepalive is unneeded, as this ploy is not completely
; reliable!

; In the exceptional case where your ISP is dropping your incoming traffic
; testing has found that the keepalive might help ‘keep the door open’.
; In the following example a keepalive packet is sent every 30 seconds:
; MAP AA1AA-1 example.net KEEPALIVE 30 UDP 10093 B

; An experimental TCP communication mode was added with the 2009/Aug/28 Beta
; release. The purpose is to circumvent router issues which are almost certain
; when ‘your side’, which we will call the client side, cannot control access
; to direct incoming UDP packets to your machine. Instead you will originate
; a connection via TCP. TCP is a connected protocol, all routers should
; automatically set up the return path to your machine.

; An example would be your BPQ32 node, with a node call of MYCALL-5, on a
; laptop at a public access WiFI site. To connect to AA1AA-1 via this method
; you will need this entry in your MAP list (without the ; of course):
; MAP AA1AA-1 example.net TCP-Master 10093 B

; AA1AA-1 is the node call of the remote side, e.g. server side. The server
; side must have the ability to program its router to direct incoming TCP
; traffic with the specified port number to the machine running BPQ32 Node
; AA1AA-1, just as it does for UDP.

; BPQ32 Node AA1AA-1 at URL=example.net would add the folllowing entry to its
; MAP list:
; MAP MYCALL-5 0.0.0.0 TCP-Slave 10093 B

; As a result AA1AA-1 will listen for TCP packets on port 10093 from MYCALL-5.
; When heard, a TCP connection will result over which AX.25 traffic will flow.
; The server side obtains the client side ip address when the connection
; request is received.

; As currently implemented the client side will have to make advance
; arrangements with the server side so that the correct MAP entries will be in
; effect, as well as to specify a unique TCP port number for each prearranged
; client.
ENDPORT

; Radio port definitions.

; With the following definitions BPQ32 accesses the TNC directly.

PORT
PORTNUM=2 ; Optional but sets port number if stated
ID=Telnet Server
DRIVER=Telnet
CONFIG
CMS=1
CMSCALL=PA8F
CMSPASS=xxxxxx
LOGGING=1
DisconnectOnClose=1
TCPPORT=8010
FBBPORT=8011 6300
HTTPPORT=9123
CMDPORT 63000
LOGINPROMPT=user:
PASSWORDPROMPT=password:
MAXSESSIONS=10
CTEXT=BPQ32 Telnet Server\nPress ? For list of commands \n\n
USER=PA8F,xxxxxx,PA8F,””,SYSOP
USER=PI8BDG,xxxxxx,PI8BDG,””,SYSOP
USER=PD0HLA,xxxxxx,PD0HLA
USER=PD1DER,xxxxxx,PD1DER
USER=PA3GON,xxxxxx,PA3GON
; USER=N0ARY,xxxxxx,N0ARY,BBS
ENDPORT

; Radio port definitions.

; Suitable parameters for radio ports depend upon the quality and speed of the port.
; For 1200 baud RF shared access suggested values are:
; FRACK=8000, RESPTIME=1500, RETRIES=10, MAXFRAME=2, PACLEN=120
; For 9600 baud dedicated high quality suggested values are:
; FRACK=5000, RESPTIME=1000, RETRIES=5, MAXFRAME=7, PACLEN=236
;
; With the following definition BPQ32 accesses the TNC directly.
; The TNC used is a PiTNC in KISS mode

; With the following definition BPQ32 interfaces with AGWPE.exe.
; AGWPE could then interface with a sound card to emulate a TNC.
; There is additional configuration to be done within AGWPE.

PORT
PORTNUM=3 ; Port number
ID=APRS 144.800 MHz ; Displayed by PORTS command
; PI TNC settings
TYPE=I2C
I2CBUS=1 ; I2C Bus number. 0 for version 1 board, 1 for Version 2
I2CDEVICE=16 ; I2C Device number (decimal)
PROTOCOL=KISS ; TNC is used in KISS, JKISS or BPQKISS mode
KISSOPTIONS=PITNC,NOPARAMS ; Using BPQKISS eprom w/o polling
;
PERSIST=64 ; PERSIST=256/(# of transmitters-1)
SLOTTIME=100 ; CMSA interval timer in milliseconds
TXDELAY=500 ; Transmit keyup delay in milliseconds
TXTAIL=30 ; TX key down, in milliseconds, at packet end
;In this application port 2 is used by UIView32 as an APRS digipeater thus
;nodes broadcasts are suppressed on this port by setting QUALITY=0.
QUALITY=0 ; Quality factor applied to node broadcasts heard on
; this port, unless overridden by a locked route
; entry. Setting to 0 stops node broadcasts
; With QUALITY=0, the value of MINQUAL is irrelevant
MINQUAL=144 ; Entries in the nodes table with qualities greater or
; equal to MINQUAL will be sent on this port. A value
; of 0 sends everything.
MAXFRAME=2 ; Max outstanding frames (1 thru 7)
; In this application port 2 is used as an APRS digipeater thus the next two
; parms are set per the ‘New Paradigm’ recommendations:
FRACK=7000 ; Level 2 timout in milliseconds
RESPTIME=1000 ; Level 2 delayed ack timer in milliseconds
RETRIES=5 ; Level 2 maximum retry value
PACLEN=128 ; Default max packet length for this port
UNPROTO=APBQ1 ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
BCALL=PI1BDG-2 ; BTEXT call. unstated defaults to APPL1CALL
L3ONLY=0 ; 1=No user downlink connects on this port
; Digipeating to be done by UIView32 instead of BPQ32 for APRS applications:
DIGIFLAG=0 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only
DIGIPORT=0 ; Port on which to send digi’d frames (0 = same port)
USERS=0 ; Maximum number of L2 sessions, 0 = no limit
ENDPORT

PORT
PORTNUM=4 ; Port number
ID=APRS 432.500 MHz ; Displayed by PORTS command
; PI TNC settings
TYPE=I2C
I2CBUS=1 ; I2C Bus number. 0 for version 1 board, 1 for Version 2
I2CDEVICE=17 ; I2C Device number (decimal)
PROTOCOL=KISS ; TNC is used in KISS, JKISS or BPQKISS mode
KISSOPTIONS=PITNC,NOPARAMS ; Using BPQKISS eprom w/o polling
;
PERSIST=64 ; PERSIST=256/(# of transmitters-1)
SLOTTIME=100 ; CMSA interval timer in milliseconds
TXDELAY=500 ; Transmit keyup delay in milliseconds
TXTAIL=30 ; TX key down, in milliseconds, at packet end
;In this application port 2 is used by UIView32 as an APRS digipeater thus
;nodes broadcasts are suppressed on this port by setting QUALITY=0.
QUALITY=0 ; Quality factor applied to node broadcasts heard on
; this port, unless overridden by a locked route
; entry. Setting to 0 stops node broadcasts
; With QUALITY=0, the value of MINQUAL is irrelevant
MINQUAL=144 ; Entries in the nodes table with qualities greater or
; equal to MINQUAL will be sent on this port. A value
; of 0 sends everything.
MAXFRAME=2 ; Max outstanding frames (1 thru 7)
; In this application port 2 is used as an APRS digipeater thus the next two
; parms are set per the ‘New Paradigm’ recommendations:
FRACK=7000 ; Level 2 timout in milliseconds
RESPTIME=1000 ; Level 2 delayed ack timer in milliseconds
RETRIES=5 ; Level 2 maximum retry value
PACLEN=128 ; Default max packet length for this port
UNPROTO=APBQ1 ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
BCALL=PI1BDG-3 ; BTEXT call. unstated defaults to APPL1CALL
L3ONLY=0 ; 1=No user downlink connects on this port
; Digipeating to be done by UIView32 instead of BPQ32 for APRS applications:
DIGIFLAG=0 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only
DIGIPORT=0 ; Port on which to send digi’d frames (0 = same port)
USERS=0 ; Maximum number of L2 sessions, 0 = no limit
ENDPORT

PORT
PORTNUM=5 ; Port number
ID=AX25_70cm_1k2 ; Displayed by PORTS command
; KISS TNC with USB interface
TYPE=ASYNC
PROTOCOL=KISS ; TNC is used in KISS, JKISS or BPQKISS mode
COMPORT=/dev/ttyUSB0 ; Serial port is USB interface ttyUSB0
SPEED=9600 ; SERIAL PORT SPEED, NOT RADIO DATA SPEED.
CHANNEL=A ; A for single channel TNC
;
PERSIST=64 ; PERSIST=256/(# of transmitters-1)
SLOTTIME=100 ; CMSA interval timer in milliseconds
TXDELAY=500 ; Transmit keyup delay in milliseconds
TXTAIL=30 ; TX key down, in milliseconds, at packet end
; QUALITY=192 ; Quality factor applied to node broadcasts heard on
; ; this port, unless overridden by a locked route
; ; entry. Setting to 0 stops node broadcasts
QUALITY=0 ; There are no Net/Roms in radio range at this site, thus
; no nodes broadcasts need be sent on this radio port.
; As such the value of MINQUAL which follows is ignored.
MINQUAL=142 ; Entries in the nodes table with qualities greater or
; ; equal to MINQUAL will be sent on this port. A value
; ; of 0 sends everything.
FRACK=8000 ; Level 2 timout in milliseconds
RESPTIME=1500 ; Level 2 delayed ack timer in milliseconds
RETRIES=10 ; Level 2 maximum retry value
MAXFRAME=2 ; Max outstanding frames (1 thru 7)
PACLEN=120 ; Default max packet length for this port.
; PACLEN is ignored for APRS packets
UNPROTO=NODE,PD0HLA-14 ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
BCALL=PI1BDG ; BTEXT call. Unstated defaults to NODECALL
L3ONLY=0 ; 1=No user downlink connects on this port
DIGIFLAG=0 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only
DIGIPORT=0 ; Port on which to send digi’d frames (0 = same port)
USERS=0 ; Maximum number of L2 sessions, 0 = no limit
ENDPORT

PORT
PORTNUM=6 ; Port number
ID=AX25_70cm_9k6 ; Displayed by PORTS command
;
; KISS TNC with USB interface
TYPE=ASYNC
PROTOCOL=KISS ; TNC is used in KISS, JKISS or BPQKISS mode
COMPORT=/dev/ttyUSB1 ; Serial port is USB interface ttyUSB0
SPEED=19200 ; SERIAL PORT SPEED, NOT RADIO DATA SPEED.
CHANNEL=A ; A for single channel TNC
;
PERSIST=64 ; PERSIST=256/(# of transmitters-1)
SLOTTIME=100 ; CMSA interval timer in milliseconds
TXDELAY=500 ; Transmit keyup delay in milliseconds
TXTAIL=30 ; TX key down, in milliseconds, at packet end
; QUALITY=192 ; Quality factor applied to node broadcasts heard on
; ; this port, unless overridden by a locked route
; ; entry. Setting to 0 stops node broadcasts
QUALITY=0 ; There are no Net/Roms in radio range at this site, thus
; no nodes broadcasts need be sent on this radio port.
; As such the value of MINQUAL which follows is ignored.
MINQUAL=142 ; Entries in the nodes table with qualities greater or
; ; equal to MINQUAL will be sent on this port. A value
; ; of 0 sends everything.
FRACK=8000 ; Level 2 timout in milliseconds
RESPTIME=1500 ; Level 2 delayed ack timer in milliseconds
RETRIES=10 ; Level 2 maximum retry value
MAXFRAME=2 ; Max outstanding frames (1 thru 7)
PACLEN=120 ; Default max packet length for this port.
; PACLEN is ignored for APRS packets
UNPROTO=NODE,PD0HLA-14 ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
BCALL=PI1BDG ; BTEXT call. Unstated defaults to NODECALL
L3ONLY=0 ; 1=No user downlink connects on this port
DIGIFLAG=0 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only
DIGIPORT=0 ; Port on which to send digi’d frames (0 = same port)
USERS=0 ; Maximum number of L2 sessions, 0 = no limit
ENDPORT

APRSDIGI

APRSCall PI1BDG
StatusMsg=Node @ PI1BDG, BBS @ PI8BDG

Symbol=# ; Icon to display for station.
Symset=/ ; This is a “B” in a Red Diamond.

;
; Specify a Dest Addreess and Path for each port you want to use for APRS. No dest means receive only port
; Ports without an APRSPath statement will not be used by the Digi
;
; Note if you specify APRS as the destination call it will be replaced by the current BPQ32 APRS
; identification destination – APBPQ1. If you really want to send APRS, specify APRS-0.

APRSPath 3=APRS,WIDE1-1,WIDE2-1 ; Dest and up to 8 digis
APRSPath 4=APRS,WIDE1-1,WIDE2-1 ; Dest and up to 8 digis
BeaconInterval=30 ; Send Beacon every 30 minute. Minimum is 5 mins
MobileBeaconInterval=2 ; Beacon interval when moving

; Define Crossport Digi. For each port, a list of ports to send a packet to (IS means send to APRS-IS)
; If a Digimap isn’t specified for a port, digi out on the port the packet arrived on,
; and send to APRS-IS (if enabled)
; If you want to digi on same port, but not send to APRS-IS, Specify Digimap n=n
; If you dont want to digi on a port, specify Digimap n=
;
; If you only have one APRS port, you probably don’t need a Digimap statement
Digimap 3=3,4,IS ; Packets from 3 to 3 and APRS-IS
Digimap 4=3,4,IS ; Packets from 4 to 4 and APRS-IS

; Define Digipeating parameters

TraceCalls=WIDE,TRACE ; Calls for CALLN-n Processing with Trace
; FloodCalls=XXXZZ ; Calls for CALLN-n Processing without Trace
; DigiCalls=ZZXXX ; Calls for Normal (ie no SSID manipulation) Digi
; For a Local “Fillin” Digi, you could include WIDE1-1 and leave out TraceCalls and FloodCalls

ReplaceDigiCalls ; Replace DigiCalls with APRSCall. Omit if you want the call to be left as it is received.

MaxTraceHops=2 ; Max value of n in CALLN-n processing. If a packet is received with n greater than
MaxFloodHops=2 ; this, the value will be replaced BEFORE it is decremented.

; Specify position. You can specify a fixed LAT/LONG, or use GPS

LAT=5204.48N ; Must be in standard APRS Format (ddmm.mmN/S)
LON=00445.04E ; Must be in standard APRS Format (dddmm.mmE/W)

; GPSPort=0 ; if specified, lat/lon will be taken from a GPS,
; GPSSpeed=0 ; overriding the values set above.
; The Digi can generate Object and Item reports.

; The format is pretty strict – a single space between param=value pairs,
; a comma but no spaces in PATH and PORT string.

; Minimum interval is 10 mins. You can have as many OBJECT lines as you need.
; See thr APRS specification for information on how to format an Object or Item string
OBJECT PATH=APRS,WIDE1-1 PORT=3,IS INTERVAL=30 TEXT=;PI8BDG-6 *111111z5204.48N/00445.04E%DX Cluster PI8BDG-6. Telnet pa8f.ddns.net port 7300
OBJECT PATH=APRS,WIDE1-1 PORT=3,IS INTERVAL=30 TEXT=;PI8BDG *111111z5204.48N/00445.04EBPacket BBS PI8BDG. Telnet pa8f.ddns.net port 6300

; IGATE Params. If specified you will gate RF packets and your beacons to APRS-IS
ISHost=aprs.pa4tw.nl ; APRS-IS Host Name. May be either an IPV4 or an IPV6 Host

ISPort=14580 ; Normal port for a filtered feed
ISPasscode=xxxxx ; If you don’t already have a passcode I can issue you one.
;
; You can specify a filter command to be sent when you log on to APRS-IS. Normally you don’t
; need one. The APRS Mapping Application (BPQAPRS) sets a filter when it starts,
; and if you aren’t running an APRS application, there isn’t much point in getting info from APRS-IS
;
ISFilter=m/25 ; Filter Command if needed
;
***
; AGW Emulator Params
;
AGWPORT=8001 ; Port Applications connect to
AGWSESSIONS=5 ; Max sessions allowed
AGWMASK=2 ; Application Mask. This os only needed for connects to the ;application,
; ; and can be specified in decimal or hex – ie 16 or 0x10

ROUTES: ; Locked routes (31 maximum)
/* ; Begin comment block
CALLSIGN,QUALITY,PORT[,MAXFRAME,FRACK,PACLEN,INP3Enable]

The values in […] if stated override the port defaults
MAXFRAME, FRACK and PACLEN if stated override the port defaults.
INP3Enable = 0 (or unstated) disables, 1 enables.
The INP3 (internode protocol) implementation in BPQ32 is experimental.

Example of a route statement using INP3:
HISCAL-12,193,1,0,0,0,1 ;MAXFRAME, FRACK & PACLEN defaults, INP3 Enabled

If you are in range of another radio node you may choose to lock the
route. Locked routes tend to be overused and should not be set unless
truly needed.
*/ ; End comment block
PE1MVX-15,193,1,0,0,0,1 ; INP3 neighbour PE1MVX-15
PI1LAP,193,1,0,0,0,1 ; INP3 neighbour PI1LAP
I0OJJ-3,193,1,0,0,0,1 ; INP3 neighbour I0OJJ-3

PI1BDG-1,255,1 ; PI1BDG-1 is a BPQ32 on a separate machine on my LAN and I want the Quality high!
PI1CDR,193,1
;Y2DEF-1,193,1 ; This will lock the quality of Y2DEF-1 to 193. It is probably unnecessary!
;A1MNO-9,0,1 ; This sets the route quality for A1MNO to 0, thus preventing connection. This
; is shown as an example of how you would lock out A1MNO-9 if AUTOADDMAP were
; active.
*** ; Denotes end of locked routes

/*
Applications:

You can define additional Node commands that are available to your users. These may connect to
applications running on you computer, or be aliases or ‘shortcuts’ to other node commands.
For example you can define the command “BBS”. This can either be set up to connect to a BBS running
on your computer, or to be an alias for a command that connects to a BBS on another system.

You can set up a callsign that if connected to will select the command, and if required cause the
call to be added to your NODES list.

The format is:

APPLICATION n,CMD,New Command,Call,Alias, Quality

n Application Number. You can define up to 32.
CMD The command the user types
New Command (optional) The Node command to be run
Call (optional) The call which directly invokes CMD
Alias and Quality (optional) If specified, causes an entry for Call and Alias to be added to your
NODES table with the specified Quality.

Associated with each Application number is an application mask. Most BPQ32 applications can be configured to
use any Application. An exception is AR-Cluster using the OCX interface, which must be Appl 1. Normally an Application Mask is configured in the application, rather than an Application Number. The following table gives
the Application Mask values:

Appl: 1,2,3,4,5,6,7,8, etc
Decimal Mask: 1,2,4,8,16,32,64,128, etc
Hexadecimal Mask: 0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80, etc

*/

APPLICATION 1,BBS,,PI8BDG,BDGBBS,255
APPLICATION 2,CHAT,,PI1BDG-4,BDGCHT,255
APPLICATION 3,RMS,C 2 CMS,PI8BDG-10,BDGRMS,255
APPLICATION 4,DX,C 2 HOST 0,PI8BDG-6,BDGDXC,255

/*

In this example a single local application, AR-Cluster, is supported.
If a connected user enters ‘DX’ the node will involk the application
associated with the first positional parameter.

If we elect to use the OCX interface to AR-Cluster, it must be the first
positional parameter, as AR-Cluster does not give the user the option to
set it’s application mask, rather it is hard coded as 0x1 internally in
AR-Cluster.

If instead we choose to use the AGWtoBPQ interface for AR-Cluster, the
applications may be in any of the 8 possible positions. However we have
chosen position 1, thus the mask in AGWtoBPQ must be configured as 0x1 to
correspond to the first positional parameter.

*/

Bpq32 ardop Config

Configuration example of ardop with BPQ32.

;
;	Sample Config for a ARDOP Port
;
PORT
 PORTNUM=7
 PORTCALL=PI1LAP                    ; This is the call sent to the ARDOP modem
 ID=ARDOP
 TYPE=EXTERNAL
 DLLNAME=ARDOP
 INTERLOCK=1
 CONFIG

 ADDR 127.0.0.1 8515 PTT RTS PATH C:\ARDOP_Chat\ARDOPC.exe
 RIGCONTROL 
 COM2 19200 ICOM IC700 70
 25,7.04730,USB,F3
 5,7.045,USB,F3,D
 ****
 
 CWID FALSE															 
 BUSYHOLD 1                              
 BUSYWAIT 20                             
 GRIDSQUARE JO11VN
 DRIVELEVEL 100
 DEBUGLOG FALSE
 CMDTRACE FALSE
 FECMODE 4PSK.500.100
 FECREPEATS 1
 ARQBW 1000MAX							 
 										 
 ARQTIMEOUT 90

   
ENDPORT
;

Linbpq bpq32.cfg

Hier onder de configuratie die ik gebruik voor Linbpq.

/* 
Packet/Switch netwerk Kortgene. 
*/

LOCATOR=JO11VN
MAPCOMMENT=PI1LAP Network Node, Kortgene JO11VN

PASSWORD=**********

NODECALL=PI1LAP-15	; Node callsign
NODEALIAS=LAPNET ; Node alias (6 characters max)

IDMSG:
Winlink Gateway PI1LAP-10
***

BTEXT:				; UI broadcast text from BCALL to destination UNPROTO=
=5133.52N/00348.15En PI1LAP-15 Switch Node, BBS/APRS/AMPR/DXspider/RMS-(PI1LAP-10) Gateway. 
***

INFOMSG:			; The INFO command text follows:

PI1LAP LinBPQ Packet/Switch Node

Computer : Optiplex GX280
Software : Debian GNU/Linux 7 3.2.0-4-686-pae  / Linbpq 6.0.13.1
Rx/Tx    : Kenwood IC-F1010 / Yaesu FT7800
Modem    : Mfj 1278b / tnc7multi
Antenne  : X50n / X30n

Sysop Niels Ruiter

Ax25-mail   : pd2lt@pi8lap.#zl.nld.euro 
AMPR mail   : pd2lt@pi1lap.pd2lt.ampr.org
E-mail      : pd2lt@packet-radio.net

Have Fun
***
CTEXT:				; The CTEXT text follows:
Connected to PI1LAP-15.
Packet/Switch Node, Kortgene JO11VN 

RMS : Winlink packet Gateway
Dx  : Dxspider Cluster

LAPNET:PI1LAP-15} APP,RMS,DX,CHAT,C,B,I,N,R,P,U,V,S,MH
***			; Denotes end of CTEXT text

FULL_CTEXT=1		; 0=send CTEXT to L2 connects to NODEALIAS only
			; 1=send CTEXT to all connectees
OBSINIT=6		; Initial obsolescence set when a node is included
			; in a received nodes broadcast. This value is then
			; decremented by 1 every NODESINTERVAL.
OBSMIN=4		; When the obsolescence of a node falls below this
			; value that node's information is not included in
			; a subsequent nodes broadcast.
LogL4Connects=1
NODESINTERVAL=15	; Nodes broadcast interval in minutes
IDINTERVAL=10		; 'IDMSG' UI broadcast interval in minutes, 0=OFF
BTINTERVAL=60		; The BTEXT broadcast interval in minutes, 0=OFF
L3TIMETOLIVE=25		; Max L3 hops
L4RETRIES=3		; Level 4 retry count
L4TIMEOUT=60		; Level 4 timeout in seconds s/b > FRACK x RETRIES
L4DELAY=10		; Level 4 delayed ack timer in seconds
L4WINDOW=4		; Level 4 window size
MAXLINKS=63		; Max level 2 links
MAXNODES=1024		; Max nodes in nodes table
MAXROUTES=128		; Max adjacent nodes
MAXCIRCUITS=1024	; Max L4 circuits
MINQUAL=100		; Minimum quality to add to nodes table
; INP3 Routing is experimental.  The two parms which follow will be ignored
; unless activated in the ROUTES: section.
MAXHOPS=10		; INP3 hop limit to add to tables
MAXRTT=90		; INP3 max RTT in seconds
BUFFERS=255		; Packet buffers - 255 means allocate as many as
			; possible, normally about 130, depending upon other
			; table sizes.

; TNC default parameters:

PACLEN=128		; Max packet size (236 max for net/rom)
; Level 2 Parameters:
; T1 (FRACK), T2 (RESPTIME) and N2 (RETRIES) are now in the PORTS section
T3=120			; Link validation timer in seconds
IDLETIME=10000		; Idle link shutdown timer in seconds

; Configuration Options:

AUTOSAVE=1		; Saves BPQNODES.dat upon program exit
BBS=1			; 1 = BBS support included, 0 = No BBS support
NODE=1			; Include switch support
HIDENODES=1		; If set to 1, nodes beginning with a #
			; require a 'N *' command to be displayed.

; The *** LINKED command is intended for use by gateway software, and concern
; has been expressed that it could be misused. It is recommended that it be
; disabled (=N) if unneeded.

ENABLE_LINKED=A		; Controls processing of *** LINKED command
			; Y = allows unrestricted use
			; A = allows use by application program
			; N = disabled

; Port Definitions:

PORT
 PORTNUM=1			; Optional but sets port number if stated
 ID=144.850Mhz		        ; Displayed by PORTS command
 TYPE=ASYNC			; Port is RS232 Com
 PROTOCOL=KISS			; TNC is used in KISS, JKISS or BPQKISS mode
 FULLDUP=0			; Only meaningful for KISS, JKISS or BPQKISS devices
 COMPORT=/dev/ttyUSB0
 SPEED=9600			; RS232 COM PORT SPEED
 CHANNEL=A			; A for single channel TNC, A or B for multichannel
 NOKEEPALIVES=0
 PERSIST=160			; PERSIST=256/(# of transmitters-1)
 SLOTTIME=180			; CMSA interval timer in milliseconds
 TXDELAY=180			; Transmit keyup delay in milliseconds
 TXTAIL=23			; TX key down, in milliseconds, at packet end
 QUALITY=192			; Quality factor applied to node broadcasts heard on
				; this port, unless overridden by a locked route
				; entry. Setting to 0 stops node broadcasts
 MINQUAL=100			; Entries in the nodes table with qualities greater or
				; equal to MINQUAL will be sent on this port. A value
				; of 0 sends everything.
 MAXFRAME=4			; Max outstanding frames (1 thru 7)
 FRACK=5000			; Level 2 timout in milliseconds
 RESPTIME=1000			; Level 2 delayed ack timer in milliseconds
 RETRIES=25			; Level 2 maximum retry value
 PACLEN=128			; Default max packet length for this port
 UNPROTO=APBPQ1,PI1LAP       ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
 BCALL=PI1LAP-15   		; BTEXT call. unstated defaults to APPL1CALL
 L3ONLY=0			; 1=No user downlink connects on this port
 DIGIFLAG=1			; Digipeat: 0=OFF, 1=ALL, 255=UI Only
 DIGIPORT=0			; Port on which to send digi'd frames (0 = same port)
 USERS=0			; Maximum number of L2 sessions, 0 = no limit
ENDPORT

PORT
 PORTNUM=2                     ; Optional but sets port number if stated
 ID=430,950MHz            ; Displayed by PORTS command
 TYPE=ASYNC                    ; Port is RS232 Com
 PROTOCOL=KISS                 ; TNC is used in KISS, JKISS or BPQKISS mode
 FULLDUP=0                     ; Only meaningful for KISS, JKISS or BPQKISS devices
 COMPORT=/dev/ttyUSB0
 SPEED=9600                   ; SERIAL PORT SPEED, NOT RADIO DATA SPEED.
 CHANNEL=B                     ; A for single channel TNC, A or B for multichannel
 PERSIST=255                   ; PERSIST=256/(# of transmitters-1)
 SLOTTIME=100                  ; CMSA interval timer in milliseconds
 TXDELAY=300                   ; Transmit keyup delay in milliseconds
 TXTAIL=30                     ; TX key down, in milliseconds, at packet end
 QUALITY=192                    ; Quality factor applied to node broadcasts heard on
                                ; this port, unless overridden by a locked route
                                ; entry. Setting to 0 stops node broadcasts
                                ; With QUALITY=0, the value of MINQUAL is irrelevant
 MINQUAL=100                   ; Entries in the nodes table with qualities greater or
                                ; equal to MINQUAL will be sent on this port. A value
                                ; of 0 sends everything.
 MAXFRAME=4                    ; Max outstanding frames (1 thru 7)
 FRACK=5000                    ; Level 2 timout in milliseconds
 RESPTIME=1000                 ; Level 2 delayed ack timer in milliseconds
 RETRIES=25                     ; Level 2 maximum retry value
 PACLEN=128                    ; Default max packet length for this port
 UNPROTO=APBPQ1,PI1LAP         ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]
 BCALL=PI1LAP                   ; BTEXT call. unstated defaults to APPL1CALL
 L3ONLY=0                      ; 1=No user downlink connects on this port
 DIGIFLAG=1                    ; Digipeat: 0=OFF, 1=ALL, 255=UI Only
 DIGIPORT=0                    ; Port on which to send digi'd frames (0 = same port)
 USERS=0                       ; Maximum number of L2 sessions, 0 = no limit
ENDPORT


; AX/IP/UDP port definition.

PORT
 PORTNUM=3		; Optional but sets port number if stated
 ID=AX/IP/UDP		; Displayed by PORTS command
 DRIVER=BPQAXIP		; Uses BPQAXIP capability of bpq32.dll
 QUALITY=255		; Quality factor applied to node broadcasts heard on
			; this port, unless overridden by a locked route
			; entry. Setting to 0 stops node broadcasts
 MINQUAL=192		; Entries in the nodes table with qualities greater or
			; equal to MINQUAL will be sent on this port. A value
			; of 0 sends everything.
 MAXFRAME=7		; Max outstanding frames (1 thru 7)
 FRACK=3000		; Level 2 timout in milliseconds
 RESPTIME=1000		; Level 2 delayed ack timer in milliseconds
 RETRIES=5		; Level 2 maximum retry value
 PACLEN=236		; Max = 236

CONFIG			; BPQAXIP.cfg has been deprecated.  Instead the AXIP
			; configuration occurs here:
 MHEARD ON		; Opens AXIP MHEARD window
 UDP 10094		; Listens for UDP packets on this UDP port number
; UDP 93			; Listens for UDP packets on this UDP port number
; AUTOADDMAP		; This option automatically adds the node call and
			; address of a node for which you do not have a
			; pre-arranged fixed entry in bpqaxip.cfg.  If the 
			; option DONTCHECKSOURCECALL is specified then the
			; AUTOADDMAP option is ignored.
 BROADCAST NODES
 BROADCAST QST

MAP PI1SNK ip-adres pi1snk UDP 10094
MAP PI1DXC-15 ip-adres pi1dxc UDP 93 B
MAP PI1DEC-14 ip-adres pi1dec UDP 93
MAP PI1LAP ip-adres link local UDP 93 B

ENDPORT

; Radio port definitions.

PORT
 PORTNUM=4			; Optional but sets port number if stated
 ID=Telnet
 DRIVER=Telnet
 PORTCALL=PI1LAP-10

CONFIG
 CMS=1
 CMSCALL=PI1LAP
 CMSPASS=********
 LOGGING=1
 DisconnectOnClose=1
 CMDPORT 7400 63000
 TCPPORT=6323
 FBBPORT=6300
 HTTPPORT=9180
 LOGINPROMPT=User:
 PASSWORDPROMPT=Password:
 MAXSESSIONS=10
 CTEXT=Welcome to PI1LAP`s Telnet Server.\nPress ? For list of commands \n\n
 USER=pd2lt,********,PD2LT,,SYSOP
 USER=pd2nlx,*******,PD2NLX,,SYSOP
ENDPORT

PORT
 PORTNUM=5
 ID=LOOPBACK
 TYPE=INTERNAL
 PROTOCOL=KISS
 CHANNEL=A
 QUALITY=255
 MAXFRAME=6
 FULLDUP=0
 FRACK=10000
 RESPTIME=3000
 RETRIES=10
 PACLEN=200
 TXDELAY=500
 SLOTTIME=100
 PERSIST=64
 DIGIFLAG=1
 UNPROTO=APBPQ1,PI1LAP-11
 BCALL=PI1LAP-15
ENDPORT


PORT
 PORTNUM=6
 ID=Link tnn
 TYPE=ASYNC
 PROTOCOL=KISS
 QUALITY=255
 COMPORT=/dev/com6
 CHANNEL=A
 SPEED=9600
 MAXFRAME=7
 FRACK=5000
 RESPTIME=1000
 RETRIES=10
 PACLEN=128
ENDPORT

;PORT
; PORTNUM=7
; ID=Link RMS
; TYPE=ASYNC
; PROTOCOL=KISS
; QUALITY=255
; COMPORT=/dev/com7
; CHANNEL=A
; SPEED=9600
; MAXFRAME=6
; FRACK=5000
; RESPTIME=1000
; RETRIES=10
; PACLEN=236
;ENDPORT



ROUTES:				; Locked routes (31 maximum)
; CALLSIGN,QUALITY,PORT[,MAXFRAME,FRACK,PACLEN,INP3Enable]
PI1SNK,1,3,1,0,0,1
PI1DXC-15,255,3
PE1PLM-14,192,1
PI1LAP,1,1,0,0,0,1		; BPQ AX/UDP on Multiple_Apps System
***					; Denotes end of locked routes
;
IPGATEWAY

Adapter eth0                   # Linux

44ENCAP 192.168.1.220          # Enable AMPRNET Tunnels and RIP44
IPAddr 44.137.31.70            # IP address of BPQ32
IPNetmask 255.255.255.224      # Netmask 
IPPorts 1,3                # BPQ Ports to be used for links to IP systems. List of ports, separated by commas

;NAT 44.137.31.66 192.168.1.238   # inet.pd2lt.ampr.org (www,ftp)
;NAT 44.137.31.81 192.168.1.222	 # hamnet.pd2lt.ampr.org (hamnet access)
;NAT 44.137.31.67 192.168.1.112	 # jnos.pd2lt.ampr.org (jnos)
;NAT 44.137.31.67 192.168.1.222   # aprs.pd2lt.ampr.org (aprsc server)
;NAT 44.137.31.69 192.168.1.213	 # sys1.pd2lt.ampr.org (windows 7)

;ARP 44.131.31.67 PI1LAP-2 1 D     # 44.131.56.6 is reachable over radio port 1
;ARP 44.137.31.67 PI8LAP-1 1 D
;ARP 44.147.31.67 PI1LAP-14 3 D
ARP 44.137.56.106 PI1SNK 3 D     # ARP entry for Gateway below
ROUTE 44.137.56.0/22 44.137.56.106 # All subnet 44.131.11.0/29  is reachable over radio link 1 to GM8BPQ-7

route addprivate 44.137.31.64/27 encap 82.176.25.213  # AMPRNET Tunnel route
;route addprivate 44.137.31.72/29 encap 149.210.235.143 # Link vpn ipip tunnel vpn-server
;route addprivate 44.137.31.89/29 encap 149.210.215.162 # Link www server tunnel vps
*****

APRSDIGI

 APRSCall=PI1LAP-11
 StatusMsg=PI1LAP-11 APRS Digi  RX-only .

 Symbol=&         ; Icon to display for station.
 Symset=I         ; This is a "B" in a Red Diamond. 

 ;
 ;    Specify a Dest Addreess and Path for each port you want to use for APRS. No dest means receive only port
 ;    Ports without an APRSPath statement will not be used by the Digi
 ;
 ;    Note if you specify APRS as the destination call it will be replaced by the current BPQ32 APRS
 ;    identification destination - APBPQ1. If you really want to send APRS, specify APRS-0. 
 
  ;APRSPath 2=APRS                         ; Receive only port
  APRSPath 1=APRS,WIDE1-1,WIDE2-1             ; Dest and up to 8 digis
;  APRSPath 2=APRS,WIDE1-1,WIDE2-1
  APRSPath 5=APRS,WIDE1-1,WIDE2-1
  
  BeaconInterval=20                   ; Send Beacon every 30 minute. Minimum is 5 mins
  MAXAGE=120
  MobileBeaconInterval=2              ; Beacon interval when moving

 ;    Define Crossport Digi. For each port, a list of ports to send a packet to (IS means send to APRS-IS)
 ;    If a Digimap isn't specified for a port, digi out on the port the packet arrived on,
 ;        and send to APRS-IS (if enabled)
 ;    If you want to digi on same port, but not send to APRS-IS, Specify Digimap n=n 
 ;    If you dont want to digi on a port, specify Digimap n=
 ;
 ;    If you only have one APRS port, you probably don't need a Digimap statement

 
 Digimap 1=1,IS            ; Packets from 1 to 9, but not APRS-IS
 Digimap 5=5,IS       ; Packets from 7 to 7, 9 and APRS-IS
; Digimap 2=2,IS
 
 ;    Define Digipeating parameters
 
 TraceCalls=WIDE,TRACE  ; Calls for CALLN-n Processing with Trace
 FloodCalls=NLD         ; Calls for CALLN-n Processing without Trace
 DigiCalls=ZLD         ; Calls for Normal (ie no SSID manipulation) Digi
                        ; For a Local "Fillin" Digi, you could include WIDE1-1 and leave out TraceCalls and FloodCalls
						
;ReplaceDigiCalls       ; Replace DigiCalls with APRSCall. Omit if you want the call to be left as it is received.
						
 MaxTraceHops=2         ; Max value of n in CALLN-n processing. If a packet is received with n greater than
 MaxFloodHops=2         ; this, the value will be replaced BEFORE it is decremented.

 ;    Specify position. You can specify a fixed LAT/LONG, or use GPS

 LAT=5133.52N           ; Must be in standard APRS Format (ddmm.mmN/S)
 LON=00348.15E          ; Must be in standard APRS Format (dddmm.mmE/W)

 ;GPSPort=/dev/ttyUSB1              ; if specified, lat/lon will be taken from a GPS,
 ;GPSSpeed=4800             ; overriding the values set above.


 ; The Digi can generate Object and Item reports. 
 ; The format is pretty strict - a single space between param=value pairs,
 ; a comma but no spaces in PATH and PORT string.
 ; Minimum interval is 10 mins. You can have as many OBJECT lines as you need.
 ; See thr APRS specification for information on how to format an Object or Item string.

 OBJECT PATH=APRS,WIDE1-1,WIDE2-1 PORT=1,IS INTERVAL=10 TEXT=PI1LAP*111111z5133.52N/00348.15EIPI1LAP Switch Node, BBS/APRS/AMPR/DXspider/RMS-(PI1LAP-10) Gateway.

 ; IGATE Params. If specified you will gate RF packets and your beacons to APRS-IS

 ISHost=194.109.192.235    ; APRS-IS Host Name. May be either an IPV4 or an IPV6 Host
 ISPort=14580              ; Normal port for a filtered feed
 ISPasscode=*******              ; If you don't already have a passcode I can issue you one.
 ;
 ; You can specify a filter command to be sent when you log on to APRS-IS. Normally you don't
 ; need one. The APRS Mapping Application (BPQAPRS) sets a filter when it starts,
 ; and if you aren't running an APRS application, there isn't much point in getting info from APRS-IS
 ;
 ISFilter=m/500              ; Filter Command if needed

; Bridge 1=6
; Bridge 6=1

****

LINMAIL
LINCHAT

APPLICATION 1,BBS,,PI8LAP,LAPBBS,255
APPLICATION 2,CHAT,,PI1LAP-6,LAPCHT,255
APPLICATION 3,RMS,C 4 CMS,PI1LAP-10,LAPRMS,255
APPLICATION 4,DX,C 4 HOST 0 S,PI1LAP-4,LAPDX,255
APPLICATION 5,APP,C 4 HOST 1 S
APPLICATION 6,TNN,C 6 PI1LAP,255
APPLICATION 32,SYSOP