| 1 |
# |
| 2 |
# ax25ipd configuration file for station floyd.vk5xxx.ampr.org |
| 3 |
# |
| 4 |
# Select axip transport. 'ip' is what you want for compatibility |
| 5 |
# with most other gates ... |
| 6 |
# |
| 7 |
socket ip |
| 8 |
# |
| 9 |
# Set ax25ipd mode of operation. (digi or tnc) |
| 10 |
# |
| 11 |
mode tnc |
| 12 |
# |
| 13 |
# If you selected digi, you must define a callsign. If you selected |
| 14 |
# tnc mode, the callsign is currently optional, but this may change |
| 15 |
# in the future! (2 calls if using dual port kiss) |
| 16 |
# |
| 17 |
#mycall vk5xxx-4 |
| 18 |
#mycall2 vk5xxx-5 |
| 19 |
# |
| 20 |
# In digi mode, you may use an alias. (2 for dual port) |
| 21 |
# |
| 22 |
#myalias svwdns |
| 23 |
#myalias2 svwdn2 |
| 24 |
# |
| 25 |
# Send an ident every 540 seconds ... |
| 26 |
# |
| 27 |
#beacon after 540 |
| 28 |
#btext ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway |
| 29 |
# |
| 30 |
# |
| 31 |
# Serial port, ethertap interface, or pipe connected to a kissattach in my case |
| 32 |
# |
| 33 |
# alternatively, if you have the kernel module bpqether: |
| 34 |
# if you use tun/tap or ethertap instead of kissattach you may say, without |
| 35 |
# leading slashes (!! - that's how ax25ipd considers using the tty kiss |
| 36 |
# driver or tun/tap or ethertap): |
| 37 |
# with tun/tap: |
| 38 |
# device foobar |
| 39 |
# with ethertap (obsolete): |
| 40 |
# device tap0 |
| 41 |
# make sure you set a mycall above, or say axparms foobar -setcall te1st |
| 42 |
# note: the device will be up when you assign an ip address |
| 43 |
# _after_ starting ax25rtd (which initializes the device), start ax25d |
| 44 |
# with bpqether or pty, you do not need to care about the speed |
| 45 |
# tun/tap: as descriped in /usr/src/linux/Documentation/networking/tuntap.txt, |
| 46 |
# make a device # like this: |
| 47 |
# crw-r--r-- 1 root root 10, 200 Nov 26 13:32 tun |
| 48 |
# with the command mknod /dev/net/tun c 10 200 |
| 49 |
# As serial port, you could assign physical ports like ttyS0 or ptys. |
| 50 |
# ax25ipd supports BSD-style pseudo-terminals as well as the Unix98 pty's. |
| 51 |
# If the tty argument is "/dev/ptmx", then Unix98 behaviour |
| 52 |
# will automatically take effect. With Unix98 pty's, the slave tty name |
| 53 |
# could not be foreseen. That's why ax25ipd will print the corresponding |
| 54 |
# slave pty name as a separate line on stdout. |
| 55 |
# |
| 56 |
#device ampr |
| 57 |
device /dev/ttyp0 |
| 58 |
# |
| 59 |
# |
| 60 |
# Set the device speed |
| 61 |
# |
| 62 |
speed 9600 |
| 63 |
# |
| 64 |
# loglevel 0 - no output |
| 65 |
# loglevel 1 - config info only |
| 66 |
# loglevel 2 - major events and errors |
| 67 |
# loglevel 3 - major events, errors, and AX25 frame trace |
| 68 |
# loglevel 4 - all events |
| 69 |
# log 0 for the moment, syslog not working yet ... |
| 70 |
# |
| 71 |
loglevel 0 |
| 72 |
# |
| 73 |
# If we are in digi mode, we might have a real tnc here, so use param to |
| 74 |
# set the tnc parameters ... |
| 75 |
# |
| 76 |
#param 1 20 |
| 77 |
# |
| 78 |
# Broadcast Address definition. Any of the addresses listed will be forwarded |
| 79 |
# to any of the routes flagged as broadcast capable routes. |
| 80 |
# |
| 81 |
broadcast QST-0 NODES-0 |
| 82 |
# |
| 83 |
# ax.25 route definition, define as many as you need. |
| 84 |
# format is route (call/wildcard) (ip host at destination) |
| 85 |
# ssid of 0 routes all ssid's |
| 86 |
# |
| 87 |
# route <destcall> <destaddr> [flags] |
| 88 |
# |
| 89 |
# Valid flags are: |
| 90 |
# b - allow broadcasts to be transmitted via this route |
| 91 |
# d - this route is the default route |
| 92 |
# |
| 93 |
#route vk2sut-0 44.136.8.68 b |
| 94 |
#route vk5xxx 44.136.188.221 b |
| 95 |
#route vk2abc 44.1.1.1 |
| 96 |
# In case of axudp port 93: |
| 97 |
#route vk2abc 44.1.1.1 udp 93 |
| 98 |
# |
| 99 |
# |