VK2DOT Packet & Web  SITE    

Generated by Rod McCosker - Central Coast, NSW, Australia

XRouter 32 bit to BPQ32 Interface:

 

Last updated 26-Aug-2012 

 

Web Address - http://vk2dot.dyndns.org/XR32/XR32_to_BPQ32_Interface/XR32_to_BPQ32_Interface.htm

 

 

NOTE: XR32 & BPQ32 share the same IP address as the PC.

 

NOTE: This Example does not use the NdisXpkt driver.

 

INTRODUCTION:

 

This interface has been setup on the VK2DOT test system – IP = 192.168.1.14  Named = DELL-Test2

With this test, we have used XR32 Version h  and  BPQ32 Version 5.2.8.11_201

XR32 acts as a Router front end for BPQ32 Node and BPQ32 Mail BBS.

All forwarding to and from BPQ32 Mail BBS goes through XR32.

This setup allows BPQ Mail BBS to Telnet out via the XR32 TCP/IP router, and Users to Telnet in via the XR32 Router.

This system is running on TinyXP operating system with XR32 & BPQ32 uses 87Mb of memory and 0% of CPU Usage.

 

A Virtual COM port software has been set up to connect COM4: to COM10:

Virtual COM Drivers – com0com, VSPD and ComEmulDrv3 have been used for the com port interface, All have worked OK.

 

BPQ32 has been setup with BPQ32Mail as its BBS. With one RS232 port linking XR32 with it as port COM4: [see BPQ32.CFG below]

The only UDP links used in BPQ32 are for BPQ32-Chat links. These use UDP port 10095

VK2DOT-8  DOTBPQ  is the BPQ32 Node.

VK2DOT-4  DOTBBM is the BPQ32 Mail BBS

 

XR32 uses the same IP address as the PC = 192.168.1.14 

XR32 uses COM port 10 to connect to BPQ32.  See XROUTER.CFG below for the configuration file.

 

NdisXpkt driver is NOT used in this setup – However you may use it, I do not know why. Below is my config file IPROUTE.SYS – whem not using NdisXpkt. If yo intend to use NdisXpkt, then you must use another IPROUTE.SYS config file.

In my main operation XR32 system – All AXUDP ports are connect to XR32 using UDP ports 93, 10093, 10094, 10096, 10097, 10098 anf 10099.

 

If you intend to connect XR32 to a BPQ32 Node via a UDP connection, then go here

 

- XRouter 32 bit UDP to BPQ32 Connection:

 

XR32:    Xrouter,cfg

 

; XROUTER.CFG  Configuration file for Xrouter version 1.79

; ========================================================

;

ROWS=65

;

;==========================================================================

;              Station Identification:

;==========================================================================

;

NODECALL=vk2dot-9

;

NODEALIAS=DOTDED

;

CONSOLECALL=vk2dot=9

;

IPADDRESS=192.168.1.3

;IPADDRESS=44.147.38.42

;

; DNS=62.31.176.115

;

HTTPPORT=81

                      ;

HTTPROOT=C:\XR32\HTTP

                      ;

; DOMAIN=ampr.org.

;

;              Host name for TCP (optional).  If you omit this, it will default

;              to "NODEALIAS:NODECALL".

;

HOSTNAME=vk2dot.ampr.org

;

;==========================================================================

;              Chat Server parameters:

;==========================================================================

;

;CHATCALL=vk2dot-8

;

;CHATALIAS=AKXR32CHT

;

;CHATLINKS=VK2DOT-8

;

;CHATQUAL=150

;

;==========================================================================

;          PMS

;==========================================================================

;

;PMSCALL=vk2dot-2

;

;PMSALIAS=AKXRPMS

;

;PMSQUAL=50

;

;==========================================================================

;

QTH=Niagara Park, NSW, Australia

;

; IGATE=1

;

WATCHDOG=120

;

; WATCHADDR=378

;

; CTRLADDR=378

;

; IPTTL=100

;

;==========================================================================

;              Top status bar background colour

;

TopWinBgColor=CYAN

;

;              Top status bar text colour

;

TopWinTxtColor=BLACK

;

;              Main window background colour

;

MidWinBgColor=BLACK

;

;              Main window text colour

;

MidWinTxtColor=WHITE

;

;              Command line background colour

;

CmdWinBgColor=NAVY

;

;              Command line text colour

;

CmdWinTxtColor=YELLOW

;

;              Bottom menu bar background colour

;

BotWinBgColor=CYAN

;

;              Bottom menu bar text colour

;

BotWinTxtColor=BLACK

;

;              Colour for displaying outgoing (transmitted) data

;

TxColor=RED

;

;              Colour for displaying incoming (received) data

;

RxColor=GREEN

;

;              Colour used for echoing Sysop's commands to main window.

;

EchoColor=YELLOW

;

CONSOLE=3

               TOPWINBGCOLOR=SILVER

               MIDWINBGCOLOR=NAVY

               MIDWINTXTCOLOR=WHITE

               CMDWINBGCOLOR=GREEN

               BOTWINBGCOLOR=SILVER

               CONSOLECALL=vk2dot-7

               TXCOLOR=PINK

               RXCOLOR=LIME

               MPORTS=1+5

               MMASK=03FE

ENDCONSOLE

;

;              Screen saver interval in seconds. (0 = disable screen saver)

;

SAVER=300

;

;              In the following section there is no limit on the number of

;              lines of text you can specify, but no line must exceed 255

;              characters.  The end of text is marked by *** on a line by itself.

;

;              This text is sent to an incoming caller.  CTFLAGS controls which

;              callers receive the text.

;

;==========================================================================

;

CTEXT

vk2dot-7 AX25/IP Router.

Welcome To The vk2dot-7 AX25/IP Router in Test Land

 

Type the following with <enter> to go to->

 

DOT = VK2DOT XRouter    | EMAIL  = VK2DOT Web Email

BBS = VK2DOT BPQ BBS    | XR     = VK2DOT XRouter

FBB = VK2DOT FBB BBS    |

CHT = VK2DOT BPQ32 Chat | BPQ    = VK2DOT BPQ Node

 

Type ? for list of commands.

***

;

;==========================================================================

;

INFOTEXT

vk2dot-7 - Test XRouter 32bit Node

 

Netrom Node (vk2dot-7:DOTDED) - TCP/IP 44.136.16.19

 

(B)ye       - Disconnects From Node_Router

(C)onnect   - To Connect To A Netrom Node - Use C Nodecall

            - To Connect To A AX25 Station - Type C (Port) Callsign

(MH)eard    - Stations Recently Heard On Node Ports

(N)odes     - Lists Known Nodes

(P)orts     - Ports Description On This Node

(R)outes    - Lists Routes To Known Nodes

(U)sers     - Lists Currently Connected Users

 

Type the following with <enter> to go to->

 

DOT = VK2DOT XRouter    | EMAIL  = VK2DOT Web Email

BBS = VK2DOT BPQ BBS    | XR     = VK2DOT XRouter

FBB = VK2DOT FBB BBS    |

CHT = VK2DOT BPQ32 Chat | BPQ    = VK2DOT BPQ Node

***

;

;==========================================================================

;

IDTEXT

!3323.21S/15121.42E# Niagara Park Test Node - (VK2DOT-7) 44.136.16.19

***

;

;              CTFLAGS controls which connects receive CTEXT.

;              Add together the following numbers:

;

;                              1             Send ctext if connect is to Node/port alias

;                              2             Send ctext if call is to Node/port call

;                              4             Send ctext on L4 connects.

;                              8             Send ctext to TCP (TELNET) callers.

;

;              Default is 9 (Alias and TCP only).

;

; CTFLAGS=1

;

NUMCONSOLES=3                             ; No. of virtual consoles (max=5)

;

LOG=0

;

SESSLIMIT=255

;

;                              0             Show directly heard stations

;                              1             Show digipeated stations

;

DXFLAGS=0

;

;                              Y             Command is unrestricted.

;                              A             Only applications may use the command.

;                              N             No-one may use the command.

;

; ENABLE_LINKED=A

;

;=======================================================================

;              PROXY'S

;=======================================================================

;

;PROXY=VK2DOT-0  DUMMY 0 DOTBBS    18

;PROXY=VK2DOT-3  DUMMY 0 VK2DOT-3  18

;PROXY=VK2DOT-0  DOTBBB 220 VK2DOT 18

;PROXY=VK2DOT-10 DOTRMS 220 VK2DOT-10 18

;PROXY=VK2DOT-11 DOTCHT 220 VK2DOT-11 18

;

;=======================================================================

;              L4 PARAMETERS

;=======================================================================

;

L4TIMEOUT=90

;

L4DELAY=10

;

L4WINDOW=4

;

L4RETRIES=3

;

;              L3 PARAMETERS

;              =============

;

;              Obsolescence counter initial value

;

OBSINIT=5

;

;              Obsolescence counter minimum to broadcast

;

OBSMIN=3

;

NODESINTERVAL=5           ; Mins between nodes b/casts. (0 = disable)

L3TTL=25                             ; Max L3 hops

;

;              If this is set to 1, nodes whose alias begins with "#" will

;              not be displayed.

;

HIDENODES=1

;

;              Minimum quality to add to node table.  This is the global value

;              which will apply to all ports unless overridden by a port minqual.

;              If not specified, the default is 10.

;

MINQUAL=160

;

;              Netrom quality derating by callsign.  Allows you to reduce the

;              quality of "foreign" nodes on your system.

;              Syntax: QUALADJUST <call | "default"> <0-255>

;

; QUALADJUST default 120

; QUALADJUST G* 255

; QUALADJUST M* 255

; QUALADJUST 2E* 255

; QUALADJUST ZL* 200

;

;              Maximum nodes to include in table (default=200)

;

MAXNODES=350

;

;              Maximum acceptable trip time.  May be overridden by port maxtt.

;              Default is 5000 (50 seconds)

;

; MAXTT=5000

;

;              Maximum acceptable hops.  May be overridden by port maxhops.

;              Default is 30

;

; MAXHOPS=30

;

; =======================================================================

;              Ax25 Level 2 Global Parameters

; =======================================================================

;

T3=180                                  ; Link check interval in secs (180).

IDLETIME=900                    ; Idle link shutdown timer in secs (900)

IDINTERVAL=3                   ; Minutes between ID broadcasts (0=disable)

PACLEN=120                       ; Global paclen (default=120)

; MAXLINKS=20                  ; Max. simultaneous L2 links (default=30)

;

; =======================================================================

; Interface definitions - These MUST come before any port definitions

; =======================================================================

;

INTERFACE=1

               TYPE=ASYNC

               COM=1

               PROTOCOL=KISS

               SPEED=9600

               MTU=256

ENDINTERFACE

;

;-----------------------------------------------------------------------------

;

INTERFACE=9

               TYPE=ASYNC

               COM=9

               PROTOCOL=KISS

               SPEED=9600

               MTU=256

ENDINTERFACE

;

;-----------------------------------------------------------------------------

;

INTERFACE=10

               TYPE=ASYNC

               COM=10

               PROTOCOL=KISS

               SPEED=9600

               MTU=256

ENDINTERFACE

;

;-----------------------------------------------------------------------------

;

;INTERFACE=3

;              TYPE=LOOPBACK

;              PROTOCOL=KISS

;              MTU=576

;ENDINTERFACE

;

;-----------------------------------------------------------------------------

;

INTERFACE=14

               TYPE=AXUDP

               MTU=256

ENDINTERFACE

;

; =====================================================================

; Port definitions. Each one begins with PORT=n and ends with ENDPORT

; =====================================================================

;

; ---------------------------------------------------

PORT=9

               ID=KISS Port to WinFbb

               INTERFACENUM=9

               FRACK=7000

               RESPTIME=200

               MHEARD=10

               QUALITY=190

ENDPORT

;

; ---------------------------------------------------

PORT=10

               ID=KISS Port to BPQ32

               INTERFACENUM=10

               FRACK=7000

               RESPTIME=200

               MHEARD=10

               QUALITY=190

ENDPORT

;

; ---------------------------------------------------

;PORT=3

;              ID=Internal Loopback

;              INTERFACENUM=3

;ENDPORT

;

; ---------------------------------------------------

;PORT=4

;              ID=External loopback

;              INTERFACENUM=4

;ENDPORT

;

; ---------------------------------------------------

;

PORT=18

       ID=AXUDP link to VK2DOT-1 - Niagara Park, Australia.

       INTERFACENUM=14

;       IPLINK=vk2dot.dyndns.org

;       IPLINK=220.245.50.125 

       IPLINK=192.168.1.6

       UDPREMOTE=93

       UDPLOCAL=93

       MHEARD=10

               RFBAUDS=128000

               FRACK=2000

               RESPTIME=200

               MAXTT=5000

        QUALITY=220

               MINQUAL=160

               MINTXQUAL=160

ENDPORT

;

;

; ====================================================================

;

;APPL=3

;              APPLNAME=BBB

;              APPLCALL=VK2DOT-9

;              APPLALIAS=DOTDED

;              APPLQUAL=100                  ; Netrom quality to broadcast

;              APPLFLAGS=4

;ENDAPPL

;

; ===================================================================

ROUTES

;

;VK2DOT-8  4  220 !

***

;

;=======================================================================

;              Sysop-defined commands:

;=======================================================================

;

COMMAND=BBS     C 10 VK2DOT-4

COMMAND=CHT     C 10 DOTCHT-1

COMMAND=BPQ     C 10 VK2DOT-8

; --------------------------------------------------------------------------

 

 

BPQ32:   BPQ32.cfg

 

; File BPQ32.CFG

 

; 22-Aug-2012 This is a test version to go with XR32 on the same machine.

 

LOCATOR=-33.38557,151.35823

;See LOCATOR details at:

;http://www.cantab.net/users/john.wiseman/Documents/BPQNodeMap.htm

 

NODECALL=VK2DOT-8               ; Node callsign

NODEALIAS=DOTBPQ                  ; Node alias (6 characters max)

BBSCALL=VK2DOT-4                   ; Replaced by APPL1CALL following APPLICATIONS=

BBSALIAS=DOTBBM                     ; Replaced by APPL1ALIAS following APPLICATIONS=

;------------------------------------------------------------------------------

IDMSG:                                              ; UI broadcast text from NODECALL to fixed dest ID

This is the IDMSG text.

***                                                       ; Denotes end of IDMSG text

;------------------------------------------------------------------------------

BTEXT:                                              ; UI broadcast text from BCALL to destination UNPROTO=

This is the BTEXT text.

***                                        ; Denotes end of BTEXT text

;------------------------------------------------------------------------------

INFOMSG:                         ; The INFO command text follows:

This is the INFOMSG text.

***                                        ; Denotes end of INFOMSG text

;------------------------------------------------------------------------------

CTEXT:                                              ; The CTEXT text follows:

DOTBPQ:VK2DOT-8} CHAT CONNECT BBS BYE FBB INFO NODES ROUTES PORTS USERS MHEARD XR

***                                        ; 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=60    ; Nodes broadcast interval in minutes

IDINTERVAL=60                             ; '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=128                             ; Max nodes in nodes table

MAXROUTES=64                            ; Max adjacent nodes

MAXCIRCUITS=128                       ; Max L4 circuits

MINQUAL=168                  ; 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)

 /*

PACLEN is a problem! The ideal size depends on the link(s) over which a packet

will be sent. For a session involving another node, we have no idea what is at

the far end. Ideally each node should have the capability to combine and then

refragment messages to suit each link segment - maybe when there are more BPQ

nodes about than 'other' ones, I'll do it. When the node is accessed directly,

things are a bit easier, as we know at least something about the link. So,

currently there are two PACLEN params, one here and one in the PORTS section.

This one is used to set the initial value for sessions via other nodes and for

sessions initiated from here. The other is used for incoming direct (Level 2)

sessions. In all cases the TNC PACLEN command can be used to override the

defaults.

 */

 

;------------------------------------------------------------------------------

; 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=Y                     ; Controls processing of *** LINKED command

                                              ; Y = allows unrestricted use

                                              ; A = allows use by application program

                                              ; N = disabled

 

;=======================PORTS SECTIONS=========================================

;

PORT

 PORTNUM=4                    ; Optional but sets port number if stated

 ID=XRouter Link              ; Displayed by PORTS command

 TYPE=ASYNC                 ; Port is RS232 Com

 PROTOCOL=KISS                          ; TNC is used in KISS (or JKISS) mode

                                              ; See ..\RelatedFiles\KissRoms\KissRoms.zip.

 FULLDUP=0                     ; Only meaningful for KISS (or JKISS) devices

 IOADDR=4                        ; 1 = SERIAL PORT COM1 ETC.

 SPEED=9600                     ; RS232 COM PORT SPEED

 CHANNEL=A                   ; A for single channel TNC, A or B for multichannel

 PERSIST=64                      ; PERSIST=256/(# of transmitters-1)

 SLOTTIME=100                              ; CMSA interval timer in milliseconds

 TXDELAY=30                  ; Transmit keyup delay in milliseconds

 TXTAIL=3                         ; 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=168                 ; 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=5000                    ; Level 2 timout in milliseconds

 RESPTIME=1000                             ; Level 2 delayed ack timer in milliseconds

 RETRIES=5                       ; Level 2 maximum retry value

 PACLEN=236                    ; Default max packet length for this port

 UNPROTO=BPQP1                         ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]]

 BCALL=MYCALL-10                    ; 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

ENDPORT

 

;========================AXUDP PORT============================================

 

PORT

 PORTNUM=10                  ; Optional but sets port number if stated

 ID=AX/IP/UDP                  ; Displayed by PORTS command

 TYPE=EXTERNAL                        ; Calls an external module

 DLLNAME=BPQAXIP.DLL         ; Uses BPQAXIP.DLL

 QUALITY=150                  ; Quality factor applied to node broadcasts heard on

                                              ; this port, unless overridden by a locked route

                                              ; entry. Setting to 0 stops node broadcasts

 MINQUAL=168                 ; Entries in the nodes table with qualities greater or

                                              ; equal to MINQUAL will be sent on this port. A value

                                              ; of 0 sends everything.(Typical 168)

 MAXFRAME=7                ; Max outstanding frames (1 thru 7)

 FRACK=3000                    ; Level 2 timout in milliseconds

 RESPTIME=200                               ; Level 2 delayed ack timer in milliseconds

 RETRIES=5                       ; Level 2 maximum retry value

 PACLEN=236                    ; Max = 236

 

CONFIG

  MHEARD                ;Opens AXIP MHEARD window

  UDP 10095

 

  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 N9PMO-11              n9pmo.dyndns.org              UDP  10095 B  ; Mike

  MAP 9Y4PJ     9y4pj.dyndns.org        UDP  10095 B  ; Peter  Cunipa, Central Trinidad

  MAP VE3UIL-ii ve3uil.dyndns.org               UDP  10095 B  ; Mike

ENDPORT

 

;======================ROUTES SECTION==========================================

 

ROUTES:                                           ; Locked routes (31 maximum)

; CALLSIGN,QUALITY,PORT[,MAXFRAME,FRACK,PACLEN,INP3Enable]

 

 VK2DOT-9,250,4

 VE3UIL-11,190,10

 N9PMO-11,190,10

 9Y4P3,150,10

***                                        ; Denotes end of locked routes

 

;=====================APPLICATIONS SECTION=====================================

 

APPLICATION 1,FBB,C 4  VK2DOT-2,,,

APPLICATION 2,CHAT,,VK2DOT-11,DOTCHT,255

APPLICATION 3,BBS,,VK2DOT-4,DOTBBM,255

APPLICATION 4,XR,C 4 VK2DOT-9,,,

 

;==============================================================================

 

XR32:    IPROUTE.SYS

 

; IPROUTE.SYS

;

; IP routing tables for Xrouter v185g and above

;

; IP ROUTE <default> <portnum> [<gateway> [<mode>] ]

; ===============================================

; (mode defaults to datagram)

;

; Try all unknown routes via windows

;

ip route default 0 * w

;

;;

<eof>