Index Index for Section 8
Index Alphabetical listing for S



slattach - Attaches a serial line to a network interface


/usr/sbin/slattach [{+|-} {c|e|i}] ttyname [baudrate]


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.


{+|-}c Enables (+) or disables (-) TCP header compression. {+|-}e 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. {+|-}i 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.


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.


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


/usr/sbin/slattach Specifies the command path /var/run/ Contains the slattach process ID


Commands: netstat(1), ifconfig(8) Specifications: SLIP is described in RFC1055. TCP header compression is described in RFC1144.