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