From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 06:46:28 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 57E2C16A4BF for ; Mon, 1 Sep 2003 06:46:28 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BDB743FFB for ; Mon, 1 Sep 2003 06:46:27 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp104-131.lns1.adl1.internode.on.net [150.101.104.131])h81DkPia019954; Mon, 1 Sep 2003 23:16:25 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "Michael Vondung" , Date: Mon, 1 Sep 2003 23:16:25 +0930 User-Agent: KMail/1.4.3 References: <002001c3708c$e454c940$0100a8c0@equilibrium> In-Reply-To: <002001c3708c$e454c940$0100a8c0@equilibrium> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200309012316.25143.malcolm.kay@internode.on.net> Subject: Re: 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:46:28 -0000 On Mon, 1 Sep 2003 22:58, Michael Vondung wrote: > 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 relev= ant > bit from /var/log/ppp.log: The string is interpreted twice -- first by ppp itself which reduces '\\'= to=20 '\' so caht sees only one '\'. Sould work if you use '\\\\', that is: AT&F\\\\N9 which the first interpretation reduces to: AT&F\\N9 Malcolm