From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 21 19:23:21 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D0B816A4CE for ; Mon, 21 Mar 2005 19:23:21 +0000 (GMT) Received: from arc.nasa.gov (pony2pub.arc.nasa.gov [128.102.31.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 251AE43D2F for ; Mon, 21 Mar 2005 19:23:21 +0000 (GMT) (envelope-from jtoung@arc.nasa.gov) Received: from mrcrab.nas.nasa.gov ([129.99.139.47] verified) by pony2pub.arc.nasa.gov (CommuniGate Pro SMTP 4.2.8) with ESMTP id 17805135; Mon, 21 Mar 2005 11:18:58 -0800 From: Jerry Toung To: hackers Date: Mon, 21 Mar 2005 11:18:04 -0800 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503211118.04155.jtoung@arc.nasa.gov> cc: Archie Cobbs Subject: ng_tty problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jtoung@arc.nasa.gov List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 19:23:21 -0000 Hello List, I want to monitor traffic on serial port /dev/cuaa0. I am trying to build the following netgraph. socket <---> tee node <---> tty node I run ngctl manually with the error message below: + mkpeer . tee hook1 left + name .:hook1 mytee + mkpeer mytee: tty right hook ngctl : send msg: Operation not permitted Why is this? Although kldstat -v shows ng_socket.ko, ng_tty.ko and ng_tee.ko + list command only shows socket and tee nodes. What is the righ way of using ng_tty? Thank you in advance. Jerry