tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Additions to slattach.8 and sliplogin.8 Manpages




Hi,

I would like to suggest some additions to the slattach and sliplogin manpages after recently working on setting up a SLIP connection on the tech-users mailing list.

Please see the diffs below from the manuals in HEAD. The sliplogin.8 manual includes the recent addition of /usr/src/usr.sbin/slip.login script to /usr/share/examples/slip/slip.login on November 9 (http://mail-index.netbsd.org/source-changes/2018/11/09/msg100476.html).


--- slattach.8	2006-07-08 13:22:14.000000000 -0400
+++ slattach.8.new	2018-11-11 15:17:25.000000000 -0500
@@ -62,6 +62,8 @@
The network source and destination addresses and other interface parameters
 are configured via
 .Xr ifconfig 8 .
+The resulting point-to-point link is not a broadcast interface
+and normally has a netmask of 255.255.255.255.
 .Pp
 The following operands are supported by
 .Nm :
@@ -117,8 +119,13 @@
 .Xr netstat 1 .
 .Sh EXAMPLES
 .Bd -literal -offset indent -compact
-slattach ttyh8
-slattach \-s 4800 /dev/tty01
+Lock, initialize, and attach a local line:
+.Pp
+cu -t -F [hard|soft] -l /dev/dty00
+ifconfig sl0 create
+slattach -l -t slip /dev/dty00
+ifconfig sl0 inet 10.0.0.2 10.0.0.1 netmask 255.255.255.255
+repeat ifconfig and slattach on gateway
 .Ed
 .Sh DIAGNOSTICS
Messages indicating that the specified interface is not configured or created,
@@ -139,6 +146,8 @@
 .Nm
 command appeared in
 .Bx 4.3 .
+Support for local lines without hardware flow control was added in
+.Nx 1.4 .
 .Sh BUGS
There is no way to specify the interface name (sl%d etc.) to be attached by the
 .Nm


--- sliplogin.8	2003-08-07 07:25:43.000000000 -0400
+++ sliplogin.8.new	2018-11-11 15:11:21.000000000 -0500
@@ -166,6 +166,16 @@
 and mode 4550 (setuid root, only group
 .Em slip
 can execute binary).
+.Sh FILES
+.Bl -item -offset indent
+.It Pa
+/usr/share/examples/slip/slip.login
+Sample slip.login script
+.It Pa
+/etc/sliphome/slip.login.\fIloginname\fR
+.It Pa
+/etc/sliphome/slip.hosts
+.El
 .Sh DIAGNOSTICS
 .Nm
 logs various information to the system log daemon,



Thank you,

Dan Plassche

--
Dan Plassche


Home | Main Index | Thread Index | Old Index