| 1 | .\" Copyright (c) 1986 The Regents of the University of California. |
| 2 | .\" All rights reserved. |
| 3 | .\" |
| 4 | .\" Redistribution and use in source and binary forms are permitted |
| 5 | .\" provided that the above copyright notice and this paragraph are |
| 6 | .\" duplicated in all such forms and that any documentation, |
| 7 | .\" advertising materials, and other materials related to such |
| 8 | .\" distribution and use acknowledge that the software was developed |
| 9 | .\" by the University of California, Berkeley. The name of the |
| 10 | .\" University may not be used to endorse or promote products derived |
| 11 | .\" from this software without specific prior written permission. |
| 12 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
| 13 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 14 | .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | .\" |
| 16 | .\" @(#)slattach.8 6.2 (Berkeley) %G% |
| 17 | .\" |
| 18 | .TH SLATTACH 8 "" |
| 19 | .UC 6 |
| 20 | .SH NAME |
| 21 | slattach \- attach serial lines as network interfaces |
| 22 | .SH SYOPNSIS |
| 23 | .B /etc/slattach |
| 24 | ttyname [ |
| 25 | .I baudrate |
| 26 | ] |
| 27 | .SH DESCRIPTION |
| 28 | .I Slattach |
| 29 | is used to assign a tty line to a network interface, |
| 30 | and to define the network source and destination addresses. The |
| 31 | .I ttyname |
| 32 | parameter is a string of the form ``ttyXX'', or ``/dev/ttyXX''. |
| 33 | The optional |
| 34 | .I baudrate |
| 35 | parameter is used to set the speed of the connection. If not specified, the |
| 36 | default of 9600 is used. |
| 37 | .PP |
| 38 | Only the super-user may attach a network interface. |
| 39 | .PP |
| 40 | To detach the interface, use `ifconfig |
| 41 | .I interface-name |
| 42 | down' after killing off the |
| 43 | .I slattach |
| 44 | process. |
| 45 | .I interface-name |
| 46 | is the name that is shown by |
| 47 | .B netstat(1) |
| 48 | .SH EXAMPLES |
| 49 | .ta 8 |
| 50 | /etc/slattach ttyh8 |
| 51 | .br |
| 52 | /etc/slattach /dev/tty01 4800 |
| 53 | .SH DIAGNOSTICS |
| 54 | Messages indicating the specified interface does not exit, the |
| 55 | requested address is unknown, the user is not privileged and |
| 56 | tried to alter an interface's configuration. |
| 57 | .SH "SEE ALSO" |
| 58 | netstat(1), netintro(4), ifconfig(8), rc(8) |