Date: Sun, 17 Dec 1995 02:29:19 +0200 From: Dmitry Kohmanyuk <dk@dog.farm.org> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/897: cannot watch the slattach'ed tty Message-ID: <199512170029.CAA04377@dog> Resent-Message-ID: <Pine.ULT.3.91.951216191920.15534B@ucvg.med.utah.edu>
next in thread | raw e-mail | index | archive | help
>Number: 897 >Category: kern >Synopsis: cannot watch(1) the slattach(1)'ed tty >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 16 17:10:01 PST 1995 >Last-Modified: >Originator: Dmitry Kohmanyuk >Organization: FARM Computing Association >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: uname -a: FreeBSD dog.farm.org 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #20: Sat Dec 2 14:58:22 EET 1995 dk@dog.farm.org:/usr/src/sys/compile/FARM i386 V.32bis external modem. PCI board, ISA serial card, no FIFO. real SLIP connection (no slip emulator) >Description: the watch(1) over a line used by slattach cannot be run; syslog diagnostics: Dec 17 02:19:27 dog /kernel: Snoop: bad attached tty data. >How-To-Repeat: # script to start slip: HOST=monolit PORT=/dev/cuaa1 export HOST PORT slattach -c -h -s 38400 -z -r "/etc/slip/slipchat $PORT $HOST" \ $PORT # slipchat script: # usage: $0 port host port=$1 host=$2 logger -t slipchat -p kern.notice slipchat to $host on $port iport=`echo $port | sed -e 's/\([a-z][0-9]*\)$/i\1/'` stty <$iport cs8 -istrip -parenb cread crtscts chat -v -f /etc/slip/chat/$host <$port >$port && \ /etc/slip/config/$host 0 0 # chat script: (not shown, hopefully irrelevant) # slip/config script: : # called as: $0 old-sl# new-sl# #SRC=193.124.54.195 #DEST=193.124.54.227 SRC=193.124.48.230 DEST=193.124.48.241 NETMASK=0xffffffe0 logger -p kern.notice -t slip-config "slip sl$1 connected ($SRC -> $DEST)" ifconfig sl$1 down ifconfig sl$2 inet $SRC $DEST netmask $NETMASK ifconfig sl$2 up route add default $DEST >Fix: I don't know. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512170029.CAA04377>