From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 06:28:17 2003 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 4C2C816A4BF for ; Mon, 1 Sep 2003 06:28:17 -0700 (PDT) Received: from mail-da-2.dns-solutions.net (mail-da-2.dns-solutions.net [69.12.112.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 7DF6543FE0 for ; Mon, 1 Sep 2003 06:28:16 -0700 (PDT) (envelope-from michael@vcommunities.net) Received: (qmail 17870 invoked from network); 1 Sep 2003 13:28:12 -0000 Received: from unknown (HELO equilibrium) (mvondung@vcommunities.net@62.226.52.135) by mail-da-2.dns-solutions.net - 62.226.52.135 with SMTP; 1 Sep 2003 13:28:12 -0000 From: "Michael Vondung" To: Date: Mon, 1 Sep 2003 15:28:09 +0200 Message-ID: <002001c3708c$e454c940$0100a8c0@equilibrium> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: PPP and the backslash-containing AT command in ppp.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 13:28:17 -0000 I am fairly to FreeBSD (and any kind of Unix), so please be easy on me = in case I'm overlooking the obvious. :) I've been trying to connect to my ISP with an external "Elsa Microlink ISDN/TL pro" modem. The init string that the modem requires is AT&F\N9. = I modified the following line in /etc/ppp/ppp.conf: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK AT&F\\N9 OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT The man page for chat (http://www.freebsd.org/cgi/man.cgi?query=3Dchat&sektion=3D8) says that = \\ sends a backlash character, so I figured that AT&F\\N9 would be sent as = AT&F\N9. However, it doesn't seem to send a backslash. Here's the relevant bit = from /var/log/ppp.log: Sep 1 15:01:36 catbox ppp[372]: tun1: Chat: deflink: Dial attempt 1 of = 1=20 Sep 1 15:01:36 catbox ppp[372]: tun1: Chat: Send: AT^M=20 Sep 1 15:01:36 catbox ppp[372]: tun1: Chat: Expect(5): OK=20 Sep 1 15:01:37 catbox ppp[372]: tun1: Chat: Received: AT^M^M=20 Sep 1 15:01:37 catbox ppp[372]: tun1: Chat: Received: OK^M=20 Sep 1 15:01:37 catbox ppp[372]: tun1: Chat: Send: AT&FN9^M=20 Sep 1 15:01:37 catbox ppp[372]: tun1: Chat: Expect(5): OK=20 Sep 1 15:01:37 catbox ppp[372]: tun1: Chat: Received: AT&FN9^M^M=20 Sep 1 15:01:37 catbox ppp[372]: tun1: Chat: Received: ERROR^M=20 Sep 1 15:01:42 catbox ppp[372]: tun1: Chat: Expect timeout=20 Sep 1 15:01:42 catbox ppp[372]: tun1: Warning: Chat script failed=20 I have also tried this with AT&F\N9, AT&F\\\N9 and AT&F^\N9. I'm unsure = why the script expects "timeout" and not "CONNECT". If I leave out "AT&F\\N9 = OK" before ATE1Q0, the modem will dial (the LNE LED indicates that an ISDN connection is being established), but won't get a carrier. In this case = the log looks like this: Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: deflink: Dial attempt 1 of = 1=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Send: AT^M=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Expect(5): OK=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Received: AT^M^M=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Received: OK^M=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Send: AT&F^M=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Expect(5): OK=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Received: AT&F^M^M=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Received: OK^M=20 Sep 1 14:58:43 catbox ppp[359]: tun1: Chat: Send: ATDT019102345^M=20 Sep 1 14:58:45 catbox ppp[359]: tun1: Chat: Expect(40): CONNECT=20 Sep 1 14:58:45 catbox ppp[359]: tun1: Chat: Received: ATDT019102345^M^M = Sep 1 14:58:45 catbox ppp[359]: tun1: Chat: Received: NO CARRIER^M=20 Sep 1 14:58:45 catbox ppp[359]: tun1: Warning: Chat script failed=20 Any help is greatly appreciated. Thanks!