Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

slattach(8) [debian 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)

Check Out this Related Man Page

GETTY(8)						    BSD System Manager's Manual 						  GETTY(8)

NAME
getty, uugetty -- set terminal modes for system access SYNOPSIS
getty [type [tty]] uugetty [type [tty]] DESCRIPTION
The getty program is called by init(8) to open and initialize the tty line, read a login name, and invoke login(1). The devices on which to run getty are normally determined by ttys(5). The getty program can also recognize a Point to Point Protocol (PPP) negotiation, and, if the pp attribute in gettytab(5) is set, invoke the program given by that string, e.g., pppd(8), instead of login(1). This makes it possible to use a single serial port for either a "shell" account with command line interface, or a PPP network link. The argument tty is the special device file in /dev to open for the terminal (for example, "ttyh0"). If there is no argument or the argument is '-', the tty line is assumed to be open as file descriptor 0. The type argument can be used to make getty treat the terminal line specially. This argument is used as an index into the gettytab(5) data- base, to determine the characteristics of the line. If there is no argument, or there is no such table, the default table is used. If there is no /etc/gettytab a set of system defaults is used. If indicated by the table located, getty will clear the terminal screen, print a ban- ner heading, and prompt for a login name. Usually either the banner or the login prompt will include the system hostname. getty uses the ttyaction(3) facility with an action of "getty" and user "root" to execute site-specific commands when it starts. Most of the default actions of getty can be circumvented, or modified, by a suitable gettytab(5) table. The getty program can be set to timeout after some interval, which will cause dial up lines to hang up if the login name is not entered rea- sonably quickly. The uugetty program is the same, except that it uses pidlock(3) to respect the locks in /var/spool/lock of processes that dial out on that tty. FILES
/etc/gettytab /etc/ttys /var/spool/lock/LCK..ttyXX DIAGNOSTICS
ttyxx: No such device or address. ttyxx: No such file or address. A terminal which is turned on in the ttys(5) file cannot be opened, likely because the requisite lines are either not configured into the system, the associated device was not attached during boot-time system configuration, or the special file in /dev does not exist. SEE ALSO
login(1), ioctl(2), pidlock(3), ttyaction(3), tty(4), gettytab(5), ttys(5), init(8), pppd(8) HISTORY
A getty program appeared in Version 6 AT&T UNIX. BSD
December 12, 1998 BSD
Man Page