From owner-freebsd-net@FreeBSD.ORG Sat Jun 28 08:00:08 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7E0037B401 for ; Sat, 28 Jun 2003 08:00:08 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEF6743FBD for ; Sat, 28 Jun 2003 08:00:07 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (remote-archie.dellroad.org [10.2.2.240]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id HAA51032; Sat, 28 Jun 2003 07:57:31 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.8/8.12.8) with ESMTP id h5SEvGaP017112; Sat, 28 Jun 2003 09:57:17 -0500 (CDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.8/8.12.8/Submit) id h5SEvEV0017111; Sat, 28 Jun 2003 09:57:14 -0500 (CDT) From: Archie Cobbs Message-Id: <200306281457.h5SEvEV0017111@arch20m.dellroad.org> In-Reply-To: <20030627141126.GA13409@cell.sick.ru> To: Gleb Smirnoff Date: Sat, 28 Jun 2003 09:57:14 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@FreeBSD.ORG Subject: Re: ng_ppp: how to send NGM_PPP_SET_CONFIG? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2003 15:00:09 -0000 Gleb Smirnoff wrote: > ngctl << > mkpeer iface dummy ipx > msg ng0: point2point {}; > mkpeer .:dummy ppp inet inet > name .:dummy.inet ppp0 > connect ppp0: cp0: link0 rawdata > > ifconfig ng0 x.x.x.x x.x.x.y up > > Trying to ping x.x.x.y i get: Device not configured > Trying to ping x.x.x.x i get: No route to host > > If I connect to ppp0's bypass hook, I see data coming in. > > In ng_ppp(4) it is said that node needs to be configured first, but > I can't find the way to send NGM_PPP_SET_CONFIG message in ASCII form. You need a userland daemon, such as mpd (see ports), to control the ng_ppp node. With mpd try the "ng" device type. -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com