Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2002 02:14:59 -0400
From:      Anthony Volodkin <anthonyv@brainlink.com>
To:        freebsd-net@freebsd.org
Subject:   problems with mpd as a pptp server
Message-ID:  <3D1EA1E3.3010103@brainlink.com>

next in thread | raw e-mail | index | archive | help
Hi,

Julian Elischer suggested that I use mpd to setup a pptp link instead of 
PoPtoP (thank you)
I am now having problems with mpd. I configured it as a pptp server 
accoring to instructions, but it never responds to requests. 
 Furthermore, I doubt it even listens for them, because it does not 
appear in the output of 'sockstat' as bound to a socket (like apache, 
and others do).  How can I get it to bind to a port and listen? I did 
specify my external ip in the mpd.links file. On an unrelated note, if i 
start mpd and run 'show link', i get the following:

[pptp1:pptp1] show link
Link pptp1:
Configuration
        MRU            : 1500 bytes
        Ctrl char map  : 0x000a0000 bytes
        Retry timeout  : 2 seconds
        Max redial     : 0 connect attempts
        Bandwidth      : 64000 bits/sec
        Latency        : 2000 usec
        Keep-alive     : every 10 secs, timeout 60
        Ident string   : ""
Link level options
        Name            Self            Peer
        ----------------------------------------
        pap             disable         deny
        chap            enable          deny
        acfcomp         enable          accept
        protocomp       enable          accept
        magicnum        enable
        passive         disable
        check-magic     enable
        no-orig-auth    disable
        callback        disable
Traffic stats:
        Octets input   :        0
        Frames input   :        0
        Octets output  :        0
        Frames output  :        0
        Bad protocols  :        0
        Runts          :        0
        Dup fragments  :        0
        Drop fragments :        0
Device specific info:
mpd: caught fatal signal segv
mpd: fatal error, exiting
[pptp0] IPCP: Down event
[pptp0] IFACE: Close event
[pptp1] IPCP: Down event
[pptp1] IFACE: Close event
mpd: process 870 terminated


I am running -STABLE built from 062802 (I can post kernel config if you 
want).  mpd 1.8.

Here is my configuration:
mpd.conf:

default:
        load client0
        load client1

client0:
        new -i ng0 pptp0 pptp0
        set ipcp ranges 192.168.1.1/32 192.168.1.101/32
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set bundle enable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp dns 66.228.0.17
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless

client1:
        new -i ng1 pptp1 pptp1
        set ipcp ranges 192.168.1.1/32 192.168.1.102/32
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set bundle enable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp dns 66.228.0.17
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless
---------------------
mpd.links:

pptp:
        set link type pptp
        set pptp self 24.152.7.133
        set pptp enable incoming
        set pptp disable originate



--
Anthony Volodkin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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