Debian Codegraph @

ax25/axparms.8

raw
1 .TH AXPARMS 8 "19 January 2017" Linux "Linux System Managers Manual"
2 .SH NAME
3 axparms \- Configure AX.25 interfaces.
4 .SH SYNOPSIS
5 .B axparms --assoc|--forward|--route|--setcall|--version ...
6 .SH DESCRIPTION
7 .LP
8 The
9 .B axparms
10 command is designed to be a multi-function command that allows miscellaneous
11 commands to be issued to the Linux AX.25 protocol layer. The different modes
12 of the command are chosen by the first argument. Subsequent arguments depend
13 upon this argument and so no generalised command format can be given.
14 .SH "--assoc Argument"
15 .LP
16 The format of this option is:
17 .LP
18 .nf
19 .B axparms --assoc <callsign> <username|uid>
20 .br
21 .B axparms --assoc <callsign> delete
22 .br
23 .B axparms --assoc policy [default|deny]
24 .br
25 .B axparms --assoc show
26 .fi
27 .LP
28 This option manipulates the kernel uid/callsign mapping table, allowing
29 callsigns to be associated and dis-associated with a user. The
30 .B policy
31 option permits the superuser to have all other uid's either default to the
32 actual port name, or to block traffic.
33 .LP
34 At power up the table is blank and the policy is 'default', which is thus
35 backward compatible.
36 .SH "--forward Argument"
37 .LP
38 Allows the use of many receivers with one transmitter, known as packet
39 forwarding in many systems. The format of this command is:
40 .LP
41 .nf
42 .B axparms --forward <portfrom> <portto>
43 .br
44 .B axparms --forward <portfrom> delete
45 .fi
46 .LP
47 Any packets to be transmitted on port portfrom will be transmitted on port
48 portto. This will stay in force until the second form of the command is
49 issued which will remove the association.
50 .SH "--route Argument"
51 .LP
52 This option allows the internal AX.25 routing table to be manipulated. This
53 table is available for reading in /proc/net/ax25_route, and will be built up
54 dynamically by stations heard. However it is possible to add, delete and list
55 entries via this option.
56 .LP
57 The formats of this option are:
58 .LP
59 .nf
60 .B axparms --route add <port> <callsign> [<digis>] [--ipmode V|D]
61 .br
62 .B axparms --route del <port> <callsign>
63 .fi
64 .B axparms --route list
65 .fi
66 .LP
67 Routes added via this command will not be removed from the internal routing
68 table when they are \(lqold\(rq as normal entries are. The
69 .B --ipmode
70 option sets mode vc or mode datagram for this destination.
71 .LP
72 If the <callsign> argument is set to \(lqdefault\(rq then this will set the
73 default route for all outgoing AX.25 connections which will be used when there
74 is no specific route to the required destination.
75 .SH "--setcall Argument"
76 .LP
77 The format of this option is:
78 .LP
79 .B axparms --setcall <interface> <callsign>
80 .LP
81 This changes the callsign associated at the given physical ax25 interface.
82 .LP
83 Cave: The interface name is not the symbolic port name from axports, but
84 the real interface name (from ifconfig(8)):
85 ax0, ax1, .., sp0, .., bpq0, ... etc..
86 .LP
87 The change is permanent as long as the interface exists, or another \(lqaxparms
88 --setcall\(rq is issued.
89 .LP
90 The interface has to exist already in order to use this option; it
91 may be in state UP or DOWN.
92 .SH "--version Argument"
93 .LP
94 This option displays the version of the AX.25 utilities that
95 .B axparms
96 belongs to.
97 .SH FILES
98 .LP
99 /proc/net/bpqether
100 .br
101 /proc/net/ax25_calls
102 .br
103 /etc/ax25/axports
104 .SH "SEE ALSO"
105 .BR call (1),
106 .BR getsockopt (2),
107 .BR setsockopt (2),
108 .BR ax25 (4),
109 .BR axctl (8),
110 .BR axports (5).
111 .SH AUTHORS
112 .nf
113 Alan Cox GW4PTS <[email protected]>
114 .br
115 Jonathan Naylor G4KLX <[email protected]>
116 .br
117 Joerg Reuter DL1BKE <[email protected]>
118 .fi