Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

spattach(8) [debian man page]

KISSATTACH(8)						   Linux System Managers Manual 					     KISSATTACH(8)

NAME
kissattach, spattach - Attach a KISS or 6PACK interface SYNOPSIS
kissattach [-b] [-6] [-l] [-m mtu] [-v] tty port [inetaddr] spattach [-b] [-l] [-m mtu] [-v] tty port [inetaddr] DESCRIPTION
Attach a KISS or a 6PACK interface to what is normally a tty line connected to a TNC in KISS or 6PACK mode. This program will turn itself into a background process. To down an interface send its attach process a SIGTERM. Kissattach takes many of the parameters for the port from the axports(5) file. If the speed parameter in the file is not equal to zero then it is used for the serial port speed, a zero value means that no speed is set. The paclen parameter is used for the device mtu unless over- ridden by a value on the command line. The tty argument will typically be that of a serial port with a KISS or 6PACK TNC attached, although it could be a pseudo tty or a KISS port emulator such as an SCC card. Kissattach supports BSD-style pseudo-terminals as well as the Unix98 pty's. If the tty argument is "/dev/ptmx", then Unix98 behaviour will automaticaly take effekt. With Unix98 pty's, the slave tty name could not be forseen. That's why kissattach will print the corresponding slave pty name as a separate line on stdout. The port argument is the name of a port as given in the axports(5) file. The optional inetaddr argument is the IP address of the new interface. Some time it was mandatory argument (although due to historical rea- sons this restriction is lifted if the old -i option is used). But there's really not a need for the interface to have an IP address assigned to. OPTIONS
-6 Use the 6PACK line discipline instead of KISS. This is the default if the program is called as spattach. -i inetaddr Set the internet address of the interface. This address may either be a dotted decimal address or a host name. This option is now depreciated and the program will complain about it, though still work. -l Log messages to the system log, the default is not to. -b Allow broadcasts on the interface (default no - because for e.g. samba broadcasts are a pain..) -m mtu Sets the mtu of the interface. If this value is not given then the value is taken from the paclen parameter in axports. -v Display the version. SEE ALSO
kill(1), stty(1), ax25(4), axparms(4), axports(5), ifconfig(8). AUTHOR
Alan Cox GW4PTS <alan@cymru.net> Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk> Linux 4 July 1999 KISSATTACH(8)

Check Out this Related 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)
Man Page