|
|
1.1 root 1: .TH SLCONF 8C "28 November 1984"
2: .UC 4
3: .SH NAME
4: slconfig \- configure network serial interface parameters
5: .SH SYNOPSIS
6: .B /etc/slconfig
7: -a ttyname source-hostname destination-hostname [baudrate]
8:
9: Or
10:
11: .B /etc/slconfig
12: -d interface-name
13: .SH DESCRIPTION
14: .I Slconfig
15: is used to define or to tear down a point-to-point link
16: between two hosts via a serial interface. It
17: must be used at boot time to define the network address
18: of each serial interface present on a machine; it may also be used
19: to redefine an interface's address at a later time.
20: .PP
21: To add or redefine a serial interface, evoke
22: .I slconfig
23: with the flag -a. To detach an interface from the network, evoke
24: .I slconfig
25: with the flag -d.
26: .PP
27: The
28: .I ttyname
29: parameter is a terminal-device name, e.g., '/dev/ttyxx' or 'ttyxx'.
30: .I Slconfig
31: assigns a network interface name to the added serial line, e.g., the
32: first added serial interface will be assigned
33: interface name 'sl0', the second 'sl1', and so on. The user must specify
34: the assigned interface name when tearing down the link.
35: .PP
36: The
37: .I source-hostname
38: and
39: .I destination-hostname
40: parameters specifies the source and destination hostnames which must
41: be defined in the database
42: .I /etc/hosts.
43: .PP
44: The
45: .I interface-name
46: parameter is a string of the form 'slx', e.g. 'sl0'.
47: .PP
48: The
49: .I baudrate
50: parameter is optional; the default baudrate is 9600.
51: The file
52: .I <sys/ttydev.h>
53: contains the valid baudrates except for
54: .I EXTB.
55: WARNING: The baudrate selected has to be matched in both source and
56: destination hosts for the serial interface to work properly.
57: .PP
58: Only the super-user may modify the configuration of a network interface.
59: .SH DIAGNOSTICS
60: Messages indicating the specified interface does not exit; the
61: requested address is unknown; the ttyname is invalid; the source,
62: destination hostname are bad values;
63: the user is not privileged and tried to alter an interface's configuration.
64: .SH "SEE ALSO"
65: ifconfig(8), rc(8), intro(4N), netstat(1), nstat(8)
66: .SH "BUGS"
67: .I
68: .I Slconfig
69: does not restore terminal-line attributes (line descipline and baudrate)
70: when unable to set the source and destination addresses.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.