TheSkywaves


GB7CIP Amateur Radio International Gateway.

Mail forwarding over AX25, NetRom, IP and SMTP  via HF PACTOR over
Amateur Radio Short Wave bands, VHF, UHF, amprnet wireless and internet links.

G4APL MaintainedUK AX25 BBS Listings 
G4APL MaintainedGB7CIP Forwarding (pdf)

Adobe Reader icon

QRZ callsign lookup:

HF PACTOR GB7CIP

First of all the Shortwave Amateur Radio transceiver being used is a Kenwood TS-480-SAT.  This is used with a SCS PTC-ii ex (November 2005) (PTC) Multi-communication PACTOR Controller. Later replaced with SCS PTC ii pro.after being requested to join the HF forwarding PACTOR network by other HS SysOps

The support from Radio Amateurs that are already running PACTOR Gateway systems was very helpful.  Drawing attention to some gotcha's that even catch out those in the Private, Public sector, that use PACTOR to send Emails by wireless over the Shortwave bands

From df7ml
"Very important to add a short wire connection from the PTC (Pactor Controller) case to the Transceiver case.  Otherwise the HF modulation could (WILL) be distorted" - (It was the case here).

"Use a 5cm 2 to inch cable (the shortest I could use was 6 inches) and about 5mm diameter wire with crimp tags at each end."

"Use one of the screw's from the RS232 plug of the PTC for the wire and one on the transceiver case on top, side of the TS-480-sat.  Place the on top or side.  Important to keep the earth cable very short."

"You can hear the bad modulation if you plug in the head phones into the Transceiver.  You will hear a 'little noise' while transmitting.  The above modification will cure this.

"During the configuration and testing phase.  Advice and encouragement was given by DJ6HH, DG4FDI/DM3TT, G3NID, UA6ADV.

xFBB archives.  Patch required to xfbb 7.04j. Written up by LA7ECA 4th December 2003 to fix the TRX SCAN to make it work correctly.
11.5.2017 Currently xfbb 7.08-beta running under standard Ubuntu 14.4.3  Linux kernel 3.13.0-108-generic

xfbb PACTOR SCAN Patch.

Annotated GB7CIP configuration files
Note:  Paclen set to prevent fragmentation over amprnet internet,  Wireless network as legacy routers running on, BPQ, TheNet. NetRom and NOS can not handle large frames.  210 Bytes is a very good compromise.

Other information extracted from the Xfbb Source CHANGES file.
The following files  are located in /usr/local/etc/ax25/fbb
other systems may still be using /etc/ax25/fbb

ports.sys
# FBB7.08-beta
# do not have blank line without the # fbb will ERROR 40 look at ERROR.SYS
#
#Ports TNCs
#2 9
##2 10
# 2 8
########4 9
4         10
# 3 11
#
# Interface 6 = Windows
# Interface 7 = TCPIP
# Interface 8 = TFWin.dll
# Interface 9 = LINUX Can via serial port (D), Via AX25 domain socket (X)
# or via Telnet (T)
#
#Com Interface Address (Hex) Baud
 1         9             ****        0
# telnet port 6300
 2         9            189C       0
#
# telnet port 23
# 2       7              17         0
#
# PACTOR SCS/PTCII Pro Controller using COM12(/dev/ttyS11)
3         9             /dev/ttyS11 57600
# Added POP3 SMTP NNTP server :
## pop_hex_port:smtp_hex_port:nntp_hex_port baud
# xfbb-pop3 port (110 in use) 6110= 17de 6025= 1789 (25= 19 in use)
# xfbb-nntp port (119 in use) 6119= 17e7
# Ports                                                     baud
4          9      17de:1789:17e7                      0
#
# TNC : Number of TNC in user. Use 0 for file-forward
# NbCh : Number of channels I wan to use in the TNC
# Maximum available channels depend on the firmware
# Com : Number of the COM-port. Com1 Com2 etc
# MultCh : Number of channel if port-multiplexer is used. Otherwise 1
# : In DRSI use values from 0 to 7, by MAN use 1/VHF and 2/HF
# : When using kernel AF_AX25 socket in Linux, MultCh is the
# : interface name (e.g. ax0)
# Maxframe: The maximum nb of frames the TNC will send at a time. (2)
# NbFwd : Number of channels for OUTGOING forward at same time. (2)
# MxBloc : Size of forward-block in kb. (10)
# paclen ; remember 6 bytes are used for fbb protocol control
#
# M/P-Fwd : Minute of the hour for start of forward, and period
# (how many minutes between each forward-start).
# Mode : One of these:
# B : BBS-mode.
# G : "Guest"-mode.
# U : Normal-mode.
# Type host-mode, one of these:
# D : WA8DED
# H : TNC is in extended WA8DED emulation, SCS/PCT-II Pactor TNC
# K : KAM hostmode.
# P : PK-232
# Q : BPQ v 4.x
# S : POP3/SMTP
# T : Telnet
# X : Ethernet/Linux
# Addition: One of these letters can be used too:
# L : Send unproto beacon after each arriving mail.
# M : Telephone-modem.
# Y : Yapp allowed on this QRG.
# W : Gateway allowed TO this QRG.
# R : Read-Only acces. note EU command options EU ML
# Freq. : Text to describe this port (max 9 characters, no space)
# Same number of lines as number of TNCs.
# max 96 from xd704g 16 channels
# max NbCh = 8 seems to be the maximum, going over this get interfaces
# not released and/or invalid callsigns
# 80 ports changed to 63 and 9 interfaces 23.2.2011
# 63 and 10 Interfaces u433 25.5.2011
# 55 channels currently 1.4.2014 and added netnod/nr2
#66 channels and 9 ports 21.3.2016
# from 7.04r maximum channels recommended are 40
#TNC NbCh Com MultCh           Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode      Freq
   0      0       0       0                  0           0       0         0         00/01      ----        File-fwd.
   1    16       2       0                 190         2     10       10         08/20     TUR       TCPIP
   2      2       1    u439               210        4       1       10         10/60     XLUY     439MHz
   3      2       1    u433               210        4       1       10         16/30     XLUWY  433MHz
   4     15      1    netrm1            210        4       5       10         10/20     XUY       NETRM1
   5     18      1    netnod            210        4       6       10         11/20     XUWY    NETNOD
   6      2       1    u432               210        4       1       10         18/60     XUY       432AMHz
   7      2       1    u432b             210        2       1       10         07/60     XUWY    432BMHz
   8      1       3       0                 210        2       1       50         28/60     HWU      PACTOR
   9      8       4       0                 210        7       6       10         10/60     SU         popsmtp
#
# End of file
#
pactor.prt
# xfbb 7.08-beta
# updated 26 May 2005 gb7cip base on advice from dg4fdi Thomas
# update 17 July 2005 in preparation of using the lone PTCii
# update 27 July 2005 loan PTC-ii now Scanning
# updated 29 October 2005 now using PTC=IIPro note TYPE K 9600 V24
# updated 24.1.2008 new 40m band plan from 29 March 2009
# updated 4.7.2013 change TS480SAT Baud Rate to be compatible with DCU1X
# updated 21.11.2014 to reflect Ofcom GB7CIP Licence NOV's issued November 2014
# updated 25.2.2015 fbb-7.0.8-beta
# updated 23.1.2015
# updated 10.7.2015
# replacing inittnc8.sys
# /usr/local/etc/ax25/fbb/pactor.prt MARK Frequencies KENWOOD TS-480SAT
# using port name
# where x is the port.sys tnc number of the line containing the PACTOR
# controller i.e x=8 inittnc8.sys
# GB7CIP HF Pactor port TNC# PTC-II pro + P3 MCP PACTOR interface
#
# INITTNC for WA8DED interface option H in PORT.SYS
#
# set call GB7CIP in Pactor controller 57600bd
## set to Pactor mode (PT)
## Hostmode commands
# unpronto mail beacon will be sent to MAIL
# C MAIL
## Hostmode Commands refer PTC Manual section 10.4 Commands
## U0 means that the PACTOR/TNC Controller will not send any PTC/TNC
## messages to the user connected to the BBS
U 0
## N 10 Retry set to 10
N 10
## I (info) & U (unproto Transmissions)
## S(Control Packets) C (Monitor also while connected)
## N Monitor switched off
## frames will be shown in the monitor windows
M IUSC
## PTC commands
!MYCALL GB7CIP
######### not used !MYPACTOR GB7CIP
!MYSELC GCIP
!APO 0
!PDUPLEX 0
!BOX 0
!REMOTE 0
!MAIL 0
!CMSG 0
# Brightness note 6 = default
!BR 4
!MODE 2
!AQRG 1
!ARX 1
!BC 0
!BELL 1
!CHOB 1
!CSD 5
# Note: CWID after calling stops qrg change in fwd scan!
# This transmits ID before calling
!CWID 0 3
!CWSPEED 160
!CWWEIGHT 50
!EQU 0
# for TRX and voltage divider in millivolts
!FSKA 60
!PSKA 140
!MAXD 6
!MAXE 70
# Number of retries in pactor
!MAXSUM 30
!MAXT 2
!MAXU 4
!PDT 12
!STATUS 1
!SERBAUD 57600
#!SERBAUD 19200
#!SERBAUD 38400
#
#
!TXD 5
!TR 0
## Set pactor FSK 1400/1600 Hz regardless of MARK and SPACE using !TONES4
!TONES 4
# Note if your SCS Prom does not have the TONE 4 option
# you can set the tone Mark and Space manually using the TONE 2 option
# followed by MARK and SPACE Settings
#!TONE 2
!MARK 1600
!SPACE 1400
## Pactor Commands
##### Further entries as seen in other files
## GATEWAY INTERFACE TO 9K6 TNC GB7CIP-2
# !GATE 2:GB7CIP-2
!PT
!LISTEN 0
##P1,2,3
!MYLEVEL 3
##P1,2
###!MYLEVEL 2
#
## FBB 7.04l 7.05 sets these parameters itself
# set pactor hostmode channel default 4
##!PTC 31
##!PD 0
##!UML 0
##!BOX 0
##!REM 0
##!MA 0
##!CM 0
##########################################
### TRX Control
### Kenwood TS-480SAT
#Manually date and set-time uncomment and restart and recomment
#!DATE 01.12.14
#!TI 09:13:30
## reset the trx scan table
#!TRX TY ICOM 1200 40
#!TRX T FEFE28E997D
#!TRX T FEFE28E00101FD
#!TRX TY YAESU 9600 A
############################ TS-480SAT default 9600bd 8N1 No parity P 0
###!TRX TYPE KENWOOD 9600 A V24 (or TTL)
!TRX TY K 4800 A V24
######!TRX TY K 9600 A V24
!TRX Parity 0
!TRX OFF -1.600
!TRX DW 40
## Time the seconds that the scanner waits after end of link, before
## restarting scanning default 10 secs
##
!TRX W 10
# Make sure both PC and PTC-II clocks are corresponding
# UTC timing of PC/FBB and TNC must be kept up to date
# Note Maximum number of channels = 32 i.e No. 1 to 32
# Note Maximum number if TImers = ?
## Additional times to control additional frequencies
##!TRX TI 1 00:00-19:00
##!TRX TI 2 00:00-19:00
##!TRX TI 6 00:00-19:00
#
# 40m Chns 1 to 5
!TRX TI 3 00:00-23:59
#
!TRX CH 2 7048.00 #:T3L2
!TRX XG 2 1
!TRX XS 2 1
##
## used by OK0PBR
!TRX CH 3 7049.60 #:T3L2
!TRX XG 3 1
!TRX XS 3 1
#
#
!TRX CH 4 7050.00 #:T3L2
!TRX XG 4 1
!TRX XS 4 1
##
!TRX CH 5 7051.50 #:T3L3
!TRX XG 5 1
!TRX XS 5 1
#
# 10m Channels 6 to 9
!TRX TI 4 08:30-19:59
### used by
!TRX CH 6 28130.00 #:T4L2
!TRX XG 6 1
!TRX XS 6 1
#
### used by TA2BBS
!TRX CH 7 28306.00 #:T4L3
!TRX XG 7 1
!TRX XS 7 1
#
##
# 20m Channels 10 to 22
# PACTOR TRX CH
!TRX TI 5 00:00-23:59
#
###########################################
# EU Forwarding
!TRX CH 10 14110.50 #:T5L3
!TRX XG 10 1
!TRX XS 10 1
#
# PACTOR Shared with Multi-Tone systems
!TRX CH 11 14107.50 #:T5L3
!TRX XG 11 1
!TRX XS 11 1
#
# PACTOR used by DK0BLN and Mult-Tone Systems
!TRX CH 12 14107.00 #:T5L3
!TRX XG 12 1
!TRX XS 12 1
#
# channel currently used by DB0ZAV EU 26.12.2008
!TRX CH 13 14098.00 #:T5L2
!TRX XG 13 1
!TRX XS 13 1
#
### used by F3KT 6.12.2007
!TRX CH 14 14097.50 #:T5L2
!TRX XG 14 1
!TRX XS 14 1
#
# used by F3KT OK0PBR
!TRX CH 15 14096.60 #:T5L2
!TRX XG 15 1
!TRX XS 15 0
#
### used by
!TRX CH 16 14096.00 #:T5L2
!TRX XG 16 1
!TRX XS 16 1
#
### used by OK0PBR
#!TRX CH 17 14094.60 #:T5L2
#!TRX XG 17 1
#!TRX XS 17 1
#
### used by DK0BLN OK0PBR VK2NA
!TRX CH 18 14094.00 #:T5L2
!TRX XG 18 1
!TRX XS 18 1
#
### used by F3KT 2.11.2011
!TRX CH 19 14093.50 #:T5L2
!TRX XG 19 1
!TRX XS 19 1
#
### used by OK0PBR
!TRX CH 20 14091.60 #:T5L2
!TRX XG 20 1
!TRX XS 20 1
#
# 15m Channels 23 to 30
# used by N0XR, N0HC, TA2BBS and EU
!TRX TI 7 06:00-20:00
!TRX CH 23 21098.00 #:T7L2
!TRX XG 23 1
!TRX XS 23 1
#
### used by OK0PBR 20.11.2014
!TRX CH 24 21096.60 #:T7L2
!TRX XG 24 0
!TRX XS 24 1
#
### used by N9LYA 18.1.2012
!TRX CH 25 21098.80 #:T7L2
!TRX XG 25 0
!TRX XS 25 1
#
### used by TA2BBS and EU
!TRX CH 26 21112.00 #:T7L3
!TRX XG 26 1
!TRX XS 26 1
### set a start frequency
#!TRX F 7051.50 #:L3
!TRX F 14110.50 #:L3
#start Scanning
#
!TRX SCAN 1
# end of file
#

 
Example Forward file to forward to and from GB7CIP
/usr/local/etc/ax25/fbb/fwd/gb7cip.fwd
Note all 50plus gb7cip seperate partner forward files are in the above
above directory. e.g. n9lya.fwd
and are called by
/usr/local/etc/ax25/fbb/forward.sys
with the following entry.
< FWD\N9LYA.FWD

When the forward.sys file is scanned at the time set in ports.sys file.
i.e. for gb7cip pactor forwarding commences at 28 minutes past the hour.
Note: Some systems use /etc/ax25/fbb/fwd for their configurations.

Note: You can use multiples blocks using the conditional statement in the forwarding script. 
I have now added the following GB7CIP forwarding file example
############# Forward to GB7CIP Sysop Paul G4APL
############# Example GB7CIP PACTOR forward file       
############# PACTOR Mode 4 1400/1600Hz USB
############# i.e. PACTOR MARK 14112.000 Dial 14110.400 USB
############# for current forwarding partners and route please refer
############# to gb7cip forwarding document on web home page
############# http://www.theskywaves.net
############# 27.2.2015 updated
############# #:L3 restrict frequency connection to Max P3 #:L2 Max P2
A GB7CIP
##not sending data 7PLUS over pactor unless requested
J 2
#N 15 default
N 15
O 8
    H *GB7CIP*
    H *.GBR.EU*
    H *.EU*
## additional H entries as required to be forwarded on via gb7cip

####################################
S Connected Fail Disconnect
#S Connected Timeout Disconnect
IF C1
# port and names as defined in ports.sys xfbb version 7.08-beta
# via HF (P PACTOR)

       P PACTOR

      T S
# comment out R is not required to reverse forward connect
     R
     IF H 4-23
         X PTCTRX SCAN 0
         X PTCTRX F 14110.50 #:L3
         C C %GB7CIP
         X PTCTRX SCAN 1
     ENDIF
ENDIF
IF C2
# via HF (P PACTOR)

     P PACTOR

     T S
     R
     IF H 19-23,0,3-7
         X PTCTRX SCAN 0
         X PTCTRX F 7051.50 #:L3
         C C %GB7CIP
         X PTCTRX SCAN 1
     ENDIF
ENDIF
IF C3
# via HF (P PACTOR)

     P PACTOR
     R
     T S
     IF H 19-23,0,3-7
         X PTCTRX SCAN 0
         X PTCTRX F 7048.00 #:L2
         C C GB7CIP
         X PTCTRX SCAN 1
     ENDIF
ENDIF
IF C4
# via HF (P PACTOR)

     P PACTOR

     T S
     R
     IF H 5-19
         X PTCTRX SCAN 0
         X PTCTRX F 21112.00 #:L3
         C C %GB7CIP
         X PTCTRX SCAN 1
     ENDIF
ENDIF
IF C5
# via HF (P PACTOR)

     P PACTOR

     T S
     R
     IF H 5-19
         X PTCTRX SCAN 0
         X PTCTRX F 21098.00 #:L2
         C C GB7CIP
         X PTCTRX SCAN 1
     ENDIF
ENDIF
### Maximum of 8 fields
U GBR EU* PACTOR WW* AMSAT AR*L
G GBR
G PACTOR
G AMSAT
G AR*L
G EU*
G WW*
--------

gateway.sys
 # GATEWAY CONFIGURATION
# GB7CIP
# updated 21.11.2014 remove non revised Ofcom GB7CIP Licenced NOV's adhoc on to one qso qrg's
# reviewed 14.4.2016
# Lines are :
# BEGIN : Command executed when entering the gateway
# STOP : Command executed when leaving the gateway
# FREQ : Affectation of a frequency / TNC command
#
# This only applies to the port name PACTOR in port.sys
#
IF P PACTOR
# Stop scanning when entering the gateway
BEGIN X PTCTRX SCAN 0
#
# Between 07:00 and 22:59
#
IF H 7-22
# Default frequency between 07:00-21:00
BEGIN X PTCTRX F 14109.100 #:L3
#
# List of the frequencies displayed with the command 'F'
FREQ 1 7048.00 PTCTRX F 7048.00 #:L2 F3KT
FREQ 2 7050.00 PTCTRX F 7050.00 #:L2
FREQ 3 7051.50 PTCTRX F 7051.50 #:L3 TA2BBS
FREQ 4 14080.00 PTCTRX F 14080.00 #:L2
FREQ 5 14093.50 PTCTRX F 14093.50 #:L2
FREQ 6 14094.00 PTCTRX F 14094.00 #:L2
FREQ 7 14096.00 PTCTRX F 14096.00 #:L2
FREQ 8 14098.00 PTCTRX F 14098.00 #:L2
FREQ 9 14107.50 PTCTRX F 14107.50 #:L3
FREQ 10 14109.10 PTCTRX F 14109.10 #:L3 SV1UY VE1XY V31AE
FREQ 11 14109.40 PTCTRX F 14109.40 #:L3
FREQ 12 14110.00 PTCTRX F 14110.00 #:L3
FREQ 13 14110.50 PTCTRX F 14110.50 #:L3 IK0MIL TA2BBS UA6ADV
FREQ 14 14111.10 PTCTRX F 14111.10 #:L3
FREQ 15 14113.10 PTCTRX F 14113.00 #:L3
FREQ 16 21080.00 PTCTRX F 21080.00 #:L2
FREQ 17 21098.00 PTCTRX F 21098.00 #:L2
FREQ 18 21098.80 PTCTRX F 21098.80 #:L2
FREQ 19 21111.10 PTCTRX F 21111.10 #:L3
FREQ 20 21112.00 PTCTRX F 21112.00 #:L3
FREQ 21 28130.00 PTCTRX F 28130.00 #:L2 V31AE
FREQ 22 28306.10 PTCTRX F 28306.10 #:L3
FREQ 23 28313.10 PTCTRX F 28313.10 #:L3
FREQ 24 28111.10 PTCTRX F 28111.10 #:L2
FREQ 25 18113.10 PTCTRX F 18113.10 #:L2
#
ELSE
# default Frequency Between 22:00 - 06:59
BEGIN X PTCTRX F 14109.100 #:L3
#
FREQ 1 7048.00 PTCTRX F 7048.00 #:L2
FREQ 2 7050.00 PTCTRX F 7050.00 #:L2
FREQ 3 7051.50 PTCTRX F 7051.50 #:L3
FREQ 4 14094.00 PTCTRX F 14094.00 #:L2
FREQ 5 14096.00 PTCTRX F 14096.00 #:L2
FREQ 6 14097.00 PTCTRX F 14096.00 #:L2
FREQ 7 14098.00 PTCTRX F 14098.00 #:L2
FREQ 8 14107.50 PTCTRX F 14107.50 #:L3
FREQ 9 14109.10 PTCTRX F 14109.10 #:L3
FREQ 10 14109.40 PTCTRX F 14109.40 #:L3
FREQ 11 14110.00 PTCTRX F 14110.00 #:L3
FREQ 12 14110.50 PTCTRX F 14110.50 #:L3
FREQ 13 14111.10 PTCTRX F 14111.10 #:L3
ENDIF
# Restart scanning when leaving the gateway
STOP X PTCTRX SCAN 1
ENDIF
## End of GATEWAY.SYS file
#