Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

axparms(8) [linux man page]

AXPARMS(8)						   Linux System Managers Manual 						AXPARMS(8)

NAME
axparms - Configure AX.25 interfaces. SYNOPSIS
axparms --assoc|--forward|--route|--setcall|--version ... DESCRIPTION
The axparms command is designed to be a multi-function command that allows miscellaneous commands to be issued to the Linux AX.25 protocol layer. It includes the functionality of axassociate and axsetcall which this command superceedes. The different modes of the command are chosen by the first argument. Sunsequent arguments depend upon this argument and so no generalised command format can be given. --assoc Argument The format of this option is: axparms --assoc <callsign> <username> axparms --assoc <callsign> delete axparms --assoc policy [default|deny] axparms --assoc show This option mainpulates the kernel uid/callsign mapping table, allowing callsigns to be associated and dis-associated with a user. The pol- icy option permits the superuser to have all other uid's either default to the actual port name, or to block traffic. At power up the table is blank and the policy is 'default', which is thus backward compatible. --forward Argument Allows the use of many receivers with one transmitter, known as packet forwarding in many systems. The format of this command is: axparms --forward <portfrom> <portto> axparms --forward <portfrom> delete Any packets to be transmitted on port portfrom will be transmitted on port portto. This will stay in force until the second form of the command is issued which will remove the association. --route Argument This option allows the internal AX.25 routing table to be manipulated. This table is available for reading in /proc/net/ax25_route, and will be built up dynamically by stations heard. However it is possible to add, delete and list entries via this option. The formats of this option are: axparms --route add <port> <callsign> [<digis>] [--ipmode V|D] axparms --route del <port> <callsign> axparms --route list Routes added via this command will not be removed from the internal routing table when they are "old" as normal entries are. The --ipmode option sets mode vc or mode datagram for this destination. If the <callsign> argument is set to "default" then this will set the default route for all outgoing AX.25 connections which will be used when there is no specific route to the required destination. --setcall Argument The format of this option is: axparms --setcall <interface> <callsign> This changes the callsign associated at the given physical ax25 interface. Cave: The interface name is not the symbolic port name from axports, but the real interface name (from ifconfig(8)): ax0, ax1, .., sp0, .., bpq0, ... etc.. The change is permanent as long as the interface exists, or another "axparms --setcall" is issued. The interface has to exist already in order to use this option; it may be in state UP or DOWN. --version Argument This option displays the version of the AX.25 utilities that axparms belongs to. FILES
/proc/net/ax25_bpqether /proc/net/ax25_calls /etc/ax25/axports SEE ALSO
call(1), getsockopt(2), setsockopt(2), ax25(4), axctl(8), axports(5). AUTHORS
Alan Cox GW4PTS <alan@cymru.net> Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk> Joerg Reuter DL1BKE <jreuter@poboxes.com> Linux 25 July 1997 AXPARMS(8)

Check Out this Related Man Page

NRPARMS(8)						   Linux System Managers Manual 						NRPARMS(8)

NAME
nrparms - Configure the NET/ROM interface. SYNOPSIS
nrparms -nodes node +|- ident quality count port neighbour [digicall...] nrparms -routes port nodecall [digicall...] +|- quality nrparms -version DESCRIPTION
This program is used to manipulate the routing tables of the NET/ROM network layer, or to get and set many of the network and transport layer parameters for the NET/ROM protocol. The program has three basic modes of operation, node setting, neighbour setting and general parameter setting. The syntax for the node and neighbour setting is taken from the original NET/ROM manual and is therefore not very UNIXy but should be familiar to those familiar with NET/ROMs or TheNet. To set up a new route to a NET/ROM node in the routing tables you must use the nodes option. All of the parameters are needed to add the node. It is probably best to illustrate with an example: nrparms -nodes GB7BPQ + NMCLUS 120 6 vhf G8ROU-3 This creates a new route to a distant node with the callsign GB7BPQ and the alias NMCLUS, it has a quality of 120 (out of 255) and has an obsolescence count of six and packets for that node should be sent on the AX.25 port named vhf to my immediate neighbour G8ROU-3. The call- signs of the node and the neighbour may be the same. For example to set up the node G8ROU-3 which is also my immediate neighbour, I would use: nrparms -nodes G8ROU-3 + MATLCK 200 6 vhf G8ROU-3 If the ident of the remote node is not known, it is possible to add a node with a blank ident. To do this an ident of '*' must be entered on the command line. Because of the command line expansion that shells do, the * must be escaped by enclosing it in quotes. It is also possible to remove a route to a distant node with the same command except that the + is replaced by a -. The other parameters must also be present. If the node has not other routes then the node will be deleted, and the neighbour node that the connections go via may also be deleted if no other node route uses it, and it is not a locked neighbour entry. When setting up a new node, a new neighbour entry may also be created. This will have a default value. For that neighbour to be meaningful in the automatic routing process, it must have a more reasonable entry in the neighbours list. To do this the routes option of the command must be used. An example: nrparms -routes ax0 G8ROU-3 + 120 This will create (or update) the neighbour entry for G8ROU-3 with a quality of 120 and it will be locked, it will not create a node entry for the neighbour. This quality will be used by the netromd(8) program when calculating route qualities via this neighbour. Normally once a neighbour has zero node routes going via it, it will be deleted. Locking a neighbour prevents the deletion from occurring. To unlock a neighbour entry, the same command is used but with the + replaced by a -. FILES
/etc/ax25/axports /etc/ax25/nrports SEE ALSO
call(1), netrom(4), nrports(5), axparms(8), netromd(8), nrparms(8). AUTHOR
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk> Linux 25 January 1997 NRPARMS(8)
Man Page