John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:radio:dormant:mini_igate

Older Topics

Mini Igate

A small portable fill-in iGate

Deployed to improve APRS coverage in Lerwick.

Hardware

  • Raspberry Pi
    • Raspberry Pi 3 Model B Rev 1.2g
  • CM108 Sound card, modified for GPIO in/out
  • IC-2E
  • TP-Link MiFi router

Software

  • direwolf
  • autossh
  • tmux

Config & scripts

direwolf.conf

ADEVICE  plughw:1,0
 
#GPSD
 
 
CHANNEL 0
 
MYCALL GM4SLV-11
 
MODEM 1200
 
FIX_BITS 1
 
PTT GPIO 25
 
AGWPORT 8000
KISSPORT 8001
 
#TBEACON EVERY=15 SYMBOL="igate" overlay="T" comment="Mini IGate
#TBEACON sendto=IG EVERY=30 SYMBOL="igate" overlay="T" comment="Mini IGate
 
IBEACON every=30 via=WIDE1-1
IBEACON sendto=IG every=60
 
PBEACON every=10 overlay=T symbol="igate" lat=60^09.33N long=001^08.76W comment="Mini IGate" via=WIDE1-1,WIDE2-1
 
DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
 
FILTER IG 0 r/60.2/-1.4/150 | ( ! t/t )
 
IGSERVER euro.aprs2.net
 
IGLOGIN GM4SLV-11 19626
 
IGFILTER m/150
 
PBEACON sendto=IG every=15:00 symbol="igate" overlay=T lat=60^09.33N long=001^08.76W comment="Mini IGate"
 
IGTXVIA 0 WIDE1-1,WIDE2-1
 
IGMSP 10
IGTXLIMIT 12 20

start_direwolf.sh

#!/bin/bash
 
session="Igate"
 
tmux start-server
 
tmux new-session -d -s $session
 
tmux rename-window "direwolf"
 
tmux selectp -t 0
tmux send-keys "direwolf -t 1 -T "%c" -c /home/gm4slv/direwolf.conf" C-m
  • crontab entry @reboot sleep 60 && sudo -u gm4slv /home/gm4slv/start_direwolf.sh >/dev/null 2>&1

autossh tunnel

see svxlink hotspot for details

#!/bin/bash
 
autossh -M 20000 -N -T gm4slv_tunnel

ssh config

Host gm4slv_tunnel
        HostName gm4slv.plus.com
        User xxxxx
        Port xxxxx
        RemoteForward 4446 localhost:22
        RemoteForward 8080 192.168.0.1:80
  • crontab entry : @reboot sleep 60 && sudo -u gm4slv /home/gm4slv/tunnel.sh 2>&1

Page created Thu May 26 12:41:10 2022 by John Pumford-Green

Page last updated: 06/03/25 06:49 GMT

public/radio/dormant/mini_igate.txt · Last modified: 06/03/25 06:49 GMT by 127.0.0.1