SLATTACH(8C) — NEWS-OS Programmer’s Manual
NAME
slattach − attach serial lines as network interfaces
SYOPNSIS
/etc/slattach ttyname [ baudrate ]
/etc/slattach ttyname [+c|-c|+e|-e|+i|-i] local-addr remote-addr [ baudrate ]
DESCRIPTION
slattach is used to assign a tty line to a network interface, and to define the network source and destination addresses. The ttyname parameter is a string of the form “ttyXX”, or “/dev/ttyXX”. The optional baudrate parameter is used to set the speed of the connection. If not specified, the default of 9600 is used.
Only the super-user may attach a network interface.
The following options are available:
+c Compress TCP header.
−c Do not compress TCP header.
+e Compress TCP header when receiving a compressed TCP header from a peer.
−e Do not compress TCP header even when receiving a compressed TCP header from a peer.
+i Ignore ICMP packet.
−i Do not ignore ICMP packet.
To detach the interface, use ‘ifconfig interface-name down’ after killing off the slattach process. interface-name is the name that is shown by netstat(1)
EXAMPLES
/etc/slattach ttyh01
/etc/slattach /dev/tty01 4800
/etc/slattach tty01 192.43.189.1 192.43.189.2
/etc/slattach tty01 192.43.189.1 192.43.189.2 9600
DIAGNOSTICS
Messages indicating the specified interface does not exit, the requested address is unknown, the user is not privileged and tried to alter an interface’s configuration.
SEE ALSO
rc(8), intro(4N), netstat(1), ifconfig(8C)
NEWS-OSRelease 4.1C