Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

slattach(8) [osf1 man page]

slattach(8)						      System Manager's Manual						       slattach(8)

NAME
slattach - Attaches a serial line to a network interface SYNOPSIS
/usr/sbin/slattach [{+|-} {c|e|i}] ttyname [baudrate] DESCRIPTION
The slattach command assigns a tty line to a network interface, allowing terminal devices to communicate across a network. The ttyname argument is the name of any valid tty device in /dev. This can be either the full path name (for example, /dev/tty01) or the name in /dev (for example, tty01). The optional baudrate argument is used to set the speed of the connection. The default speed is 9600 baud. The tty line is attached to the first available network interface (sl0, sl1, already be configured with the local and remote addresses of each end of the SLIP connection (see ifconfig(8)). Only a person with superuser authority can attach a network interface. To detach the interface, use the ifconfig interface_id down command after terminating the slattach process. interface_id is the name that is shown by the netstat command. FLAGS
Enables (+) or disables (- TCP header compression. Enables (+) or disables (- automatic TCP header compression. If enabled and the remote system is using TCP header compression, TCP header compression is automatically enabled on the local system. If both local and remote sys- tems have enabled this flag, TCP header compression is not used. One system must force the use of TCP header compression. Enables (+) or disables (- ICMP traffic suppression. If enabled, ICMP traffic (like that generated by ping(8)) is not allowed to pass over the SLIP con- nection. When the system is booted, all flags are initially disabled. Once a flag is enabled, it remains enabled until the system is rebooted or until another slattach command is issued with the flag disabled. NOTES
The slattach command requires the Serial Line Internet Protocol (SLIP), which the kernel must support. If making a SLIP connection to another Tru64 UNIX system, both systems must run slattach. If making a SLIP connection to a system not running the Tru64 UNIX operating system, the other system must support the SLIP protocol. EXAMPLES
To attach a tty device to a network interface, enter: /usr/sbin/slattach /dev/tty01 4800 This command attaches tty01 to a network interface to be used by the Serial Line Internet Protocol (SLIP). The connection speed is 4800 baud. To attach a tty device to a network interface at 19200 bits per second (bps), with TCP header compression enabled and ICMP traffic suppres- sion disabled, enter: /usr/sbin/slattach +c -i /dev/tty01 19200 FILES
Specifies the command path Contains the slattach process ID RELATED INFORMATION
Commands: netstat(1), ifconfig(8) Specifications: SLIP is described in RFC1055. TCP header compression is described in RFC1144. delim off slattach(8)

Check Out this Related Man Page

SLATTACH(8)															       SLATTACH(8)

NAME
slattach - attach a network interface to a serial line SYNOPSIS
slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty] DESCRIPTION
Slattach is a tiny little program that can be used to put a normal terminal ("serial") line into one of several "network" modes, thus allowing you to use it for point-to-point links to other computers. OPTIONS
[-c command] Execute command when the line is hung up. This can be used to run scripts or re-establish connections when a link goes down. [-d] Enable debugging output. Useful when determining why a given setup doesn't work. [-h] Exit when the carrier is lost. This works on both /dev/tty and /dev/cua devices by directly monitoring the carrier status every 15 seconds. [-v] Enable verbose output. Useful in shell scripts. [-q] Operate in quiet mode - no messages at all. [-l] Create an UUCP-style lockfile for the device in /var/lock. [-n] Equivalent to the "mesg n" command. [-m] Do not initialize the line into 8 bits raw mode. [-e] Exit right after initializing device, instead of waiting for the line to hang up. [-L] Enable 3 wire operation. The terminal is moved into CLOCAL mode, carrier watching is disabled. [-p proto] Set a specific kind of protocol to use on the line. The default is set to cslip, i.e. compressed SLIP. Other possible values are slip (normal SLIP), adaptive (adaptive CSLIP/SLIP), ppp (Point-to-Point Protocol) and kiss (a protocol used for communicating with AX.25 packet radio terminal node controllers). The special argument tty can be used to put the device back into normal serial oper- ation. Using 'ppp' mode is not normally useful as ppp requires an additional ppp daemon pppd to be active on the line. For kiss connections the axattach program should be used. [-s speed] Set a specific line speed, other than the default. If no arguments are given, the current terminal line (usually: the login device) is used. Otherwise, an attempt is made to claim the indi- cated terminal port, lock it, and open it. FILES
/dev/cua* /var/lock/LCK.* BUGS
None known. SEE ALSO
axattach(8), dip(8) pppd(8), sliplogin(8). AUTHORS
Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> Alan Cox, <Alan.Cox@linux.org> Miquel van Smoorenburg, <miquels@drinkel.ow.org> George Shearer, <gshearer@one.net> Yossi Gottlieb, <yogo@math.tau.ac.il> 10 Oct 2006 SLATTACH(8)
Man Page