From owner-freebsd-net Fri Jan 25 12: 0:22 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 2ECEA37B404 for ; Fri, 25 Jan 2002 12:00:19 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020125200018.DYGN26243.rwcrmhc51.attbi.com@InterJet.elischer.org>; Fri, 25 Jan 2002 20:00:18 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA33000; Fri, 25 Jan 2002 11:57:29 -0800 (PST) Date: Fri, 25 Jan 2002 11:57:28 -0800 (PST) From: Julian Elischer To: ome ome Cc: freebsd-net@freebsd.org Subject: Re: Netgraph In-Reply-To: <20020125170448.44965.qmail@web20104.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you need to attach the tty node to a tty using the regular terminal "line disciplin" methods. (similar to the way the ppp protocol handler is attached to a tty for kernel ppp) Archie has some sample code in Mpd that I'm sure he could send to you. On Fri, 25 Jan 2002, ome ome wrote: > Hello, > > I'm trying to create a tty node with netgraph under > FreeDSB 3.5. > > with mkpeer, i've got the following error : > > "Operation not supported" > > I think that there no tty with a NETGRAPH line > discipline > > So, I would like to know how to set a line discipline > or if > there is another way to do that you need to set teh line disciplin on a particular terminal Usually that requires C code. > > Thanks, > Olivier > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message