Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 10:26:12 +0200
From:      "Eddy Ramos" <e.ramos@deepground.com>
To:        <freebsd-questions@freebsd.org>
Subject:   mpd - question 2
Message-ID:  <000101c34786$16a0e9e0$e20064c0@LAPTOP6>

next in thread | raw e-mail | index | archive | help
Hi,
I'm experiencing some troubles with mpd as well. I copied the 'mpd.conf'
from Luke and changed the IP-addresses. I have also tried adapting the
original 'mpd.conf.sample' file and a config sample I found on a HOWTO
on the internet. Still the same errors keep preventing me from starting
mpd:

# mpd -f ./ mpd.conf
  Multi-link PPP for FreeBSD, by Archie L. Cobbs.
  Based on iij-ppp, by Toshiharu OHNO.
  mpd: pid 35364, version 3.13 (root@deepground1.iae.nl 16:38
10-Jul-2003)
  mpd: warning: line too long, truncated
  mpd: warning: line too long, truncated
  mpd: warning: line too long, truncated
  mpd: can't read configuration for "mpd.conf"
  mpd: process 35364 terminated

# mpd -k
  Multi-link PPP for FreeBSD, by Archie L. Cobbs.
  Based on iij-ppp, by Toshiharu OHNO.
  mpd: pid 35365, version 3.13 (root@deepground1.iae.nl 16:38
10-Jul-2003)
  [pptp0] can't create socket node: Operation not permitted
  [pptp0] using interface
  [pptp0:pptp0] q
  [pptp0] IPCP: Down event
  [pptp0] IFACE: Close event
  [pptp0] can't shutdown ":": Bad file descriptor
  [pptp0] can't shutdown "bypass.inet": Bad file descriptor
  [pptp0] can't shutdown "bypass": Bad file descriptor
  mpd: process 35365 terminated

By the way, should I also install or run an pptp daemon? I tried
'pkg_info | grep pptp' and 'whereis pptpd', but I can't find an (already
installed?) pptp package.

Thanks,
Eddy.

-----Oorspronkelijk bericht-----
Van: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] Namens Luke Cowell
Verzonden: donderdag 10 juli 2003 17:18
Aan: freebsd-questions@freebsd.org
Onderwerp: Re: mpd - question


No, it's not dialup only.... You're on the right track using mpd, but
again that really depends on what you're trying to accomplish with your
VPN. As you've probably noticed there are several different types of VPN
setup. I use mpd for users on the road or working from home to securely
access services inside our private network.

I thought I'd include this config because I didn't think it was easy to
figure out how to enable simultaneous connections. This is set up for 2
simultaneous connections, but could easily be expanded.

s3rv3r# cat mpd/mpd.conf
default:
        load pptp0
        load pptp1



pptp0:
        new -i ng0 pptp0 pptp0
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set bundle disable 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 ranges 10.1.1.02/32 10.1.1.03/32
        set ipcp dns 192.168.10.128
        #
        # The five lines below enable Microsoft Point-to-Point
encryption
        # (MPPE) using the ng_mppc(8) netgraph node type.
        #
        #set bundle enable compression
        #set ccp yes mppc
        #set ccp yes mpp-e40
        #set ccp yes mpp-e128
        #set ccp yes mpp-stateless
pptp1:
        new -i ng1 pptp1 pptp1
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set bundle disable 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 ranges 10.1.1.12/32 10.1.1.13/32
        set ipcp dns 192.168.10.128
        #
        # The five lines below enable Microsoft Point-to-Point
encryption
        # (MPPE) using the ng_mppc(8) netgraph node type.
        #
        #set bundle enable compression
        #set ccp yes mppc
        #set ccp yes mpp-e40
        #set ccp yes mpp-e128
        #set ccp yes mpp-stateless



Luke




> From: "Darryl Hoar" <darryl@osborne-ind.com>
> Reply-To: darryl@osborne-ind.com
> Date: Thu, 10 Jul 2003 09:35:12 -0500
> To: <freebsd-questions@freebsd.org>
> Subject: mpd - question
> 
> I was reading a howto on setting up a vpn server for use with
> microsoft clients.  It discussed the mpd port.  The entire howto seem 
> to imply dailup networking and modems.  The server I'm thinking about 
> setting up would live on a DSL connection (not ADSL).  Can mpd work 
> with a DSL connection ?
> 
> I'm a newbie at VPN so still groping in the dark.
> 
> thanks
> Darryl
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c34786$16a0e9e0$e20064c0>