Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 09:57:14 -0500 (CDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Gleb Smirnoff <glebius@cell.sick.ru>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: ng_ppp: how to send NGM_PPP_SET_CONFIG?
Message-ID:  <200306281457.h5SEvEV0017111@arch20m.dellroad.org>
In-Reply-To: <20030627141126.GA13409@cell.sick.ru>

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



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