ng_ppp: how to send NGM_PPP_SET_CONFIG?

Archie Cobbs archie at dellroad.org
Sat Jun 28 08:00:09 PDT 2003


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


More information about the freebsd-net mailing list