| 1 |
.TH AX25IPD.CONF 5 "7 July 1997" Linux "Linux Programmer's Manual" |
| 2 |
.SH NAME |
| 3 |
ax25ipd.conf \- Control the operation of @@@ax25ipd@@@. |
| 4 |
.SH DESCRIPTION |
| 5 |
.LP |
| 6 |
The |
| 7 |
.B ax25ipd.conf |
| 8 |
file controls the operation of the @@@ax25ipd@@@(8) program. The operation of the |
| 9 |
config file can best be seen in an example: |
| 10 |
.LP |
| 11 |
# |
| 12 |
.br |
| 13 |
# @@@ax25ipd@@@ configuration file for station floyd.vk5xxx.ampr.org |
| 14 |
.br |
| 15 |
# |
| 16 |
.br |
| 17 |
# Select axip transport. 'ip' is what you want for compatibility |
| 18 |
.br |
| 19 |
# with most other gates ... |
| 20 |
.br |
| 21 |
# |
| 22 |
.br |
| 23 |
socket ip |
| 24 |
.br |
| 25 |
# |
| 26 |
.br |
| 27 |
# Set @@@ax25ipd@@@ mode of operation. (digi or tnc) |
| 28 |
.br |
| 29 |
# |
| 30 |
.br |
| 31 |
mode tnc |
| 32 |
.br |
| 33 |
# |
| 34 |
.br |
| 35 |
# If you selected digi, you must define a callsign. If you selected |
| 36 |
.br |
| 37 |
# tnc mode, the callsign is currently optional, but this may change |
| 38 |
.br |
| 39 |
# in the future! (2 calls if using dual port kiss) |
| 40 |
.br |
| 41 |
# |
| 42 |
.br |
| 43 |
# mycall vk5xxx-4 |
| 44 |
.br |
| 45 |
# mycall2 vk5xxx-5 |
| 46 |
.br |
| 47 |
# |
| 48 |
.br |
| 49 |
# In digi mode, you may use an alias. (2 for dual port) |
| 50 |
.br |
| 51 |
# |
| 52 |
.br |
| 53 |
# myalias svwdns |
| 54 |
.br |
| 55 |
# myalias2 svwdn2 |
| 56 |
.br |
| 57 |
# |
| 58 |
.br |
| 59 |
# Send an ident every 540 seconds ... |
| 60 |
.br |
| 61 |
# |
| 62 |
.br |
| 63 |
# beacon after 540 |
| 64 |
.br |
| 65 |
# btext ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway |
| 66 |
.br |
| 67 |
# |
| 68 |
.br |
| 69 |
# Serial port, ethertap interface, or pipe connected to a kissattach in my case |
| 70 |
.br |
| 71 |
# alternatively, if you have the kernel module bpqether: |
| 72 |
.br |
| 73 |
# if you use tun/tap or ethertap instead of kissattach you may say, without |
| 74 |
.br |
| 75 |
# leading slashes (!! - that's how @@@ax25ipd@@@ considers using the tty kiss |
| 76 |
.br |
| 77 |
# driver or tun/tap or ethertap): |
| 78 |
.br |
| 79 |
# with tun/tap: |
| 80 |
.br |
| 81 |
# device foobar |
| 82 |
.br |
| 83 |
# with ethertap (obsolete): |
| 84 |
.br |
| 85 |
# device tap0 |
| 86 |
.br |
| 87 |
# make sure you set a mycall above, or say axparms foobar -setcall te1st |
| 88 |
.br |
| 89 |
# note: the device will be up when you assign an ip address |
| 90 |
.br |
| 91 |
# _after_ starting ax25rtd (which initializes the device), start ax25d |
| 92 |
.br |
| 93 |
# with bpqether or pty, you do not need to care about the speed |
| 94 |
.br |
| 95 |
# tun/tap: as described in /usr/src/linux/Documentation/networking/tuntap.txt, |
| 96 |
.br |
| 97 |
# make a device # like this: |
| 98 |
.br |
| 99 |
# crw-r--r-- 1 root root 10, 200 Nov 26 13:32 tun |
| 100 |
.br |
| 101 |
# with the command mknod /dev/net/tun c 10 200 |
| 102 |
.br |
| 103 |
# As serial port, you could assign physical ports like ttyS0 or ptys. |
| 104 |
.br |
| 105 |
# @@@ax25ipd@@@ supports BSD-style pseudo-terminals as well as the Unix98 pty's. |
| 106 |
.br |
| 107 |
# If the tty argument is "/dev/ptmx", then Unix98 behaviour |
| 108 |
.br |
| 109 |
# will automatically take effect. With Unix98 pty's, the slave tty name |
| 110 |
.br |
| 111 |
# could not be forseen. That's why @@@ax25ipd@@@ will print the corresponding |
| 112 |
.br |
| 113 |
# slave pty name as a separate line on stdout. |
| 114 |
.br |
| 115 |
# |
| 116 |
.br |
| 117 |
#device ampr |
| 118 |
.br |
| 119 |
device /dev/ttyp0 |
| 120 |
.br |
| 121 |
# |
| 122 |
.br |
| 123 |
# Set the device speed |
| 124 |
.br |
| 125 |
# |
| 126 |
.br |
| 127 |
speed 9600 |
| 128 |
.br |
| 129 |
# |
| 130 |
.br |
| 131 |
# loglevel 0 - no output |
| 132 |
.br |
| 133 |
# loglevel 1 - config info only |
| 134 |
.br |
| 135 |
# loglevel 2 - major events and errors |
| 136 |
.br |
| 137 |
# loglevel 3 - major events, errors, and AX25 frame trace |
| 138 |
.br |
| 139 |
# loglevel 4 - all events |
| 140 |
.br |
| 141 |
# log 0 for the moment, syslog not working yet ... |
| 142 |
.br |
| 143 |
# |
| 144 |
.br |
| 145 |
loglevel 4 |
| 146 |
.br |
| 147 |
# |
| 148 |
.br |
| 149 |
# If we are in digi mode, we might have a real tnc here, so use param to |
| 150 |
.br |
| 151 |
# set the tnc parameters ... |
| 152 |
.br |
| 153 |
# |
| 154 |
.br |
| 155 |
# param 1 20 |
| 156 |
.br |
| 157 |
# |
| 158 |
.br |
| 159 |
# Broadcast Address definition. Any of the addresses listed will be forwarded |
| 160 |
.br |
| 161 |
# to any of the routes flagged as broadcast capable routes. |
| 162 |
.br |
| 163 |
# |
| 164 |
.br |
| 165 |
broadcast QST-0 NODES-0 |
| 166 |
.br |
| 167 |
# |
| 168 |
.br |
| 169 |
# ax.25 route definition, define as many as you need. |
| 170 |
.br |
| 171 |
# format is route (call/wildcard) (ip host at destination) |
| 172 |
.br |
| 173 |
# ssid of 0 routes all ssid's |
| 174 |
.br |
| 175 |
# |
| 176 |
.br |
| 177 |
# route <destcall> <destaddr> [flags] |
| 178 |
.br |
| 179 |
# |
| 180 |
.br |
| 181 |
# Valid flags are: |
| 182 |
.br |
| 183 |
# b - allow broadcasts to be transmitted via this route |
| 184 |
.br |
| 185 |
# d - this route is the default route |
| 186 |
.br |
| 187 |
# |
| 188 |
.br |
| 189 |
route vk2sut-0 44.136.8.68 b |
| 190 |
.br |
| 191 |
route vk5asf 44.136.188.221 b |
| 192 |
.br |
| 193 |
route vk2abc 44.1.1.1 d |
| 194 |
.br |
| 195 |
# |
| 196 |
.br |
| 197 |
# |
| 198 |
.br |
| 199 |
.LP |
| 200 |
More to come ... |
| 201 |
.br |
| 202 |
For the |
| 203 |
.I speed |
| 204 |
statement 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, |
| 205 |
19200, 38400, 57600, 115200, 230400, 460800, 500000, 576000, 1000000, 1152000, |
| 206 |
1500000, 2000000, 2500000, 3000000, 3500000 and 4000000 are supported on |
| 207 |
all architectures on Linux. On |
| 208 |
.B SPARC |
| 209 |
in addition to these line speeds 76800, 153600, 307200, 614400 and 921600 bits |
| 210 |
per second are also supported. If a system does not support a particular line |
| 211 |
speed, a speed of 9600 bits per second will be set instead. |
| 212 |
.SH FILES |
| 213 |
.LP |
| 214 |
/etc/ax25/ax25ipd.conf |
| 215 |
.SH "SEE ALSO" |
| 216 |
.BR @@@ax25ipd@@@ (8). |