summaryrefslogtreecommitdiffstats
path: root/ax25ipd/ax25ipd.conf.5
blob: cc142c9e07ace24fcab4c7b69cfc32b23d9612af (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
.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 consideres 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 descriped in /usr/src/linux/Documentatioa/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 automaticaly take effekt. 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 ...
.SH FILES
.LP
/etc/ax25/ax25ipd.conf
.SH "SEE ALSO"
.BR ax25ipd (8).