#! /bin/sh

#
# Start up my sl0 device on /dev/ttyS3 at 9600 Baud with callsign G4KLX-1
# This port has the name '144'.
#
axattach -i 44.131.4.1 /dev/ttyS3 144

#
# Start up my sl1 device on /dev/ttyS4 at 9600 Baud with callsign G4KLX-2
# This port has the name '432'
#
axattach -i 44.131.4.2 /dev/ttyS4 432

#
# Start a BPQ Ether port on device eth0 with callsign G4KLX-10
# This port has the name 'ether'
#
ifconfig eth0 44.131.4.10 arp
axparms -dev eth0 ether

#
# Start a NET/ROM port with callsign G4KLX
# This port has the name 'netrom'
#
nrattach -i 44.131.4.5 netrom

#
# Create a manual NET/ROM route to MATLCK:G8LOW on port 432
#
nrparms -nodes G8LOW + MATLCK 120 6 432 G8LOW

#
# IP packets to 44.1.4.7 is IP over NET/ROM via NET/ROM node MATLCK
#
route add 44.131.4.7 nr0
arp -t netrom -s 44.131.4.7 G8LOW

#
# All other IP goes over device sl0
#
route add default sl0

#
# One of the local routers is an X1J router, it needs a manual ARP entry.
#
arp -t ax25 -s 44.131.4.9 G8LOW-1

exit 0
