Content-type: text/html Man page of slattach

slattach

Section: Maintenance Commands (8)
Index Return to Main Contents
 

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 systems 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 connection.

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 suppression 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


 

Index

NAME
SYNOPSIS
DESCRIPTION
FLAGS
NOTES
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:29 GMT, October 02, 2010