From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 21:17:29 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64F3116A4CE for ; Fri, 17 Dec 2004 21:17:29 +0000 (GMT) Received: from mail.ibch.ru (mail.ibch.ru [194.85.9.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30DA843D1D for ; Fri, 17 Dec 2004 21:17:28 +0000 (GMT) (envelope-from dima@ibch.ru) Received: (qmail 65306 invoked by uid 0); 18 Dec 2004 00:10:39 +0300 Received: from unknown (HELO localhost) (194.85.9.203) by localhost (qmail 1.03 + ejcp v11) with SMTP; 18 Dec 2004 00:10:39 +0300 X-AntiVirus: Checked by Dr.Web [version: 4.32b, engine: 4.32b, virus records: 61095, updated: 12.12.2004] Date: Sat, 18 Dec 2004 00:17:51 +0300 From: Dmitry Tolstov X-Mailer: The Bat! (v1.62r) X-Priority: 3 (Normal) Message-ID: <732972602.20041218001751@ibch.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: mpd as a dial-in server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dmitry Tolstov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 21:17:29 -0000 Hello, I am trying to configure mpd-3.18_2 as a dial-in server with USR Sportster voice modem. It works perfectly, but if connection dies during authentication mpd says "waiting for ring" but keeps on attempts: ... AUTHPROTO CHAP MD5 [usr] LCP: rec'd Terminate Request #3 link 0 (Ack-Sent) [usr] LCP: state change Ack-Sent --> Req-Sent [usr] LCP: SendTerminateAck #8 [usr] LCP: SendConfigReq #9 ACFCOMP PROTOCOMP ACCMAP 0x000a0000 MRU 1500 MAGICNUM 765bac42 AUTHPROTO CHAP MD5 [usr] LCP: rec'd Terminate Request #4 link 0 (Req-Sent) [usr] LCP: SendTerminateAck #10 [usr] LCP: SendConfigReq #11 ACFCOMP PROTOCOMP ACCMAP 0x000a0000 MRU 1500 MAGICNUM 765bac42 AUTHPROTO CHAP MD5 [usr] carrier detect (CD) signal lost [usr] device: DOWN event in state UP [usr] device is now in state DOWN [usr] link: DOWN event [usr] LCP: Down event [usr] LCP: state change Req-Sent --> Starting [usr] LCP: phase shift ESTABLISH --> DEAD [usr] device: OPEN event in state DOWN [usr] pausing 7 seconds before open [usr] device is now in state DOWN [usr] chat: Waiting for ring... [usr] device: OPEN event in state DOWN [usr] pausing 2 seconds before open [usr] device is now in state DOWN [usr] device: OPEN event in state DOWN [usr] device is now in state OPENING [usr] chat script succeeded [usr] device: UP event in state OPENING [usr] device is now in state UP [usr] link: UP event [usr] link: origination is remote [usr] LCP: Up event [usr] LCP: state change Starting --> Req-Sent [usr] LCP: phase shift DEAD --> ESTABLISH [usr] LCP: SendConfigReq #12 ACFCOMP PROTOCOMP ACCMAP 0x000a0000 MRU 1500 MAGICNUM 1ee9dd8a AUTHPROTO CHAP MD5 MP MRRU 1600 MP SHORTSEQ ENDPOINTDISC [802.1] 00 80 48 c4 43 b1 [usr] carrier detect (CD) signal lost [usr] device: DOWN event in state UP [usr] device is now in state DOWN [usr] link: DOWN event [usr] LCP: Down event [usr] LCP: state change Req-Sent --> Starting [usr] LCP: phase shift ESTABLISH --> DEAD [usr] device: OPEN event in state DOWN [usr] pausing 9 seconds before open [usr] device is now in state DOWN [usr] chat: Detected USR Sportster modem. [usr] chat: Waiting for ring... [usr] device: OPEN event in state DOWN [usr] device is now in state OPENING [usr] chat script succeeded [usr] device: UP event in state OPENING [usr] device is now in state UP [usr] link: UP event [usr] link: origination is remote [usr] LCP: Up event [usr] LCP: state change Starting --> Req-Sent [usr] LCP: phase shift DEAD --> ESTABLISH [usr] LCP: SendConfigReq #13 ACFCOMP PROTOCOMP ACCMAP 0x000a0000 MRU 1500 MAGICNUM 0682471d AUTHPROTO CHAP MD5 MP MRRU 1600 MP SHORTSEQ ENDPOINTDISC [802.1] 00 80 48 c4 43 b1 [usr] carrier detect (CD) signal lost [usr] device: DOWN event in state UP [usr] device is now in state DOWN [usr] link: DOWN event [usr] LCP: Down event [usr] LCP: state change Req-Sent --> Starting [usr] LCP: phase shift ESTABLISH --> DEAD [usr] device: OPEN event in state DOWN [usr] pausing 9 seconds before open [usr] device is now in state DOWN [usr] chat: Detected USR Sportster modem. [usr] chat: Waiting for ring... [usr] device: OPEN event in state DOWN [usr] device is now in state OPENING [usr] chat script succeeded [usr] device: UP event in state OPENING [usr] device is now in state UP [usr] link: UP event [usr] link: origination is remote [usr] LCP: Up event [usr] LCP: state change Starting --> Req-Sent [usr] LCP: phase shift DEAD --> ESTABLISH [usr] LCP: SendConfigReq #14 ACFCOMP PROTOCOMP ACCMAP 0x000a0000 MRU 1500 MAGICNUM b52aae59 AUTHPROTO CHAP MD5 MP MRRU 1600 MP SHORTSEQ ENDPOINTDISC [802.1] 00 80 48 c4 43 b1 [usr] carrier detect (CD) signal lost [usr] device: DOWN event in state UP [usr] device is now in state DOWN [usr] link: DOWN event [usr] LCP: Down event [usr] LCP: state change Req-Sent --> Starting [usr] LCP: phase shift ESTABLISH --> DEAD [usr] device: OPEN event in state DOWN [usr] pausing 7 seconds before open [usr] device is now in state DOWN ... and so on When I try to redial mpd answers the phone and hangs up immediately. mpd.conf default: load dialin dialin: new -i ng0 dialin usr set iface addrs 192.168.1.210 192.168.1.1 set iface idle 0 set iface session 0 set bundle enable noretry set ipcp dns 194.85.9.11 set ipcp ranges 192.168.1.210/32 192.168.1.1/32 set ipcp yes vjcomp set link enable chap-md5 set link disable pap chap-msv1 chap-msv2 set link deny chap pap set link yes acfcomp protocomp set modem idle-script AnswerCall mpd.links usr: set link type modem set modem device /dev/cuaa1 set modem speed 115200 Thanks, -Dmitry.