Re: ng_ppp: how to send NGM_PPP_SET_CONFIG?

From: Archie Cobbs (archie_at_dellroad.org)
Date: 06/28/03

  • Next message: Ying-Chieh Liao: "Re: something wrong with fxp driver ?"
    To: Gleb Smirnoff <glebius@cell.sick.ru>
    Date: Sat, 28 Jun 2003 09:57:14 -0500 (CDT)
    
    

    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
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Ying-Chieh Liao: "Re: something wrong with fxp driver ?"

    Relevant Pages

    • MPD 3.18 Trouble
      ... I've got MPD v3.18 up and running on my FreeBSD 4.9. ... dc0: flags=8843mtu 1500 ... can see the ping come through from dc0 to ng0, ... machine) saying "Destination host unreachable". ...
      (freebsd-net)
    • Re: connecting via broadband?
      ... > Ping statistics for 193.252.22.137: ... >> mail server and that it is responsive so you get a mail session ... >> host that responds to 'ping' does NOT mean the server program is ... >> actually running or responsive on that host. ...
      (microsoft.public.outlook.general)
    • Re: host availability
      ... >>>google.com, my default gateway, comcast's mail server etc. ... a host was "up or down". ... If you don't get an answer to a ping request, ... happened to reset the interface right then, remote system got trojaned ...
      (comp.security.firewalls)
    • RE: ICMP (Ping)
      ... I do like your reasoning that others do not generally have a business need ... to ping your hosts, however I still prefer to allow this service not simply ... how many hosts do not respond to ICMP echo. ... DHCP server should be able to assume that if the IP were in use a host would ...
      (Security-Basics)
    • RE: Determine if Virtual PC is running
      ... I've just checked my source code and my code for PING actually derives from ... when pinging a local pc by host name, ... that IP-address will probably respond. ... We can check for SystemName via WMI hostname check for additional security. ...
      (microsoft.public.vb.general.discussion)