From owner-freebsd-net Sat Jun 29 23:15:10 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2914D37B400 for ; Sat, 29 Jun 2002 23:15:02 -0700 (PDT) Received: from brainlink.com (mail.brainlink.com [66.228.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B5643E13 for ; Sat, 29 Jun 2002 23:15:01 -0700 (PDT) (envelope-from anthonyv@brainlink.com) Received: from [24.189.7.159] (account anthonyv HELO brainlink.com) by brainlink.com (CommuniGate Pro SMTP 3.5.3) with ESMTP id 14342367 for freebsd-net@freebsd.org; Sun, 30 Jun 2002 02:04:34 -0400 Message-ID: <3D1EA1E3.3010103@brainlink.com> Date: Sun, 30 Jun 2002 02:14:59 -0400 From: Anthony Volodkin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: problems with mpd as a pptp server Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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