Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 11:18:04 -0800
From:      Jerry Toung <jtoung@arc.nasa.gov>
To:        hackers <freebsd-hackers@freebsd.org>
Cc:        Archie Cobbs <archie@dellroad.org>
Subject:   ng_tty problem
Message-ID:  <200503211118.04155.jtoung@arc.nasa.gov>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503211118.04155.jtoung>