Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

slattach(8) [redhat 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 hangup. [-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> 12 Feb 1994 SLATTACH(8)

Check Out this Related Man Page

SL(4)							   BSD Kernel Interfaces Manual 						     SL(4)

NAME
sl -- Serial Line IP (SLIP) network interface SYNOPSIS
pseudo-device sl DESCRIPTION
The sl interface allows asynchronous serial lines to be used as IPv4 network interfaces using the SLIP protocol. To use the sl interface, the administrator must first create the interface and assign a tty line to it. The sl interface is created using the ifconfig(8) create subcommand, and slattach(8) is used to assign a tty line to the interface. Once the interface is attached, network source and destination addresses and other parameters are configured via ifconfig(8). The sl interface can use Van Jacobson TCP header compression and ICMP filtering. The following flags to ifconfig(8) control these properties of a SLIP link: link0 Turn on Van Jacobson header compression. -link0 Turn off header compression. (default) link1 Don't pass through ICMP packets. -link1 Do pass through ICMP packets. (default) link2 If a packet with a compressed header is received, automatically enable compression of outgoing packets. (default) -link2 Don't auto-enable compression. DIAGNOSTICS
sl%d: af%d not supported . The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped. SEE ALSO
inet(4), intro(4), ppp(4), strip(4), ifconfig(8), slattach(8), sliplogin(8), slstats(8) J. Romkey, A Nonstandard for Transmission of IP Datagrams over Serial Lines: SLIP, RFC, 1055, June 1988. Van Jacobson, Compressing TCP/IP Headers for Low-Speed Serial Links, RFC, 1144, February 1990. HISTORY
The sl device appeared in NetBSD 1.0. BUGS
SLIP can only transmit IPv4 packets between preconfigured hosts on an asynchronous serial link. It has no provision for address negotiation, carriage of additional protocols (e.g. XNS, AppleTalk, DECNET), and is not designed for synchronous serial links. This is why SLIP has been superseded by the Point-to-Point Protocol (PPP), which does all of those things, and much more. BSD
July 9, 2006 BSD
Man Page