From owner-freebsd-questions@FreeBSD.ORG Thu May 15 08:55:29 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 481C537B401 for ; Thu, 15 May 2003 08:55:29 -0700 (PDT) Received: from web41005.mail.yahoo.com (web41005.mail.yahoo.com [66.218.93.4]) by mx1.FreeBSD.org (Postfix) with SMTP id D04E743F85 for ; Thu, 15 May 2003 08:55:28 -0700 (PDT) (envelope-from stevenclin@yahoo.com) Message-ID: <20030515155528.99217.qmail@web41005.mail.yahoo.com> Received: from [63.220.18.130] by web41005.mail.yahoo.com via HTTP; Thu, 15 May 2003 08:55:28 PDT Date: Thu, 15 May 2003 08:55:28 -0700 (PDT) From: Steve Lin To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Dropping DTR to access command mode during ppp session 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: Thu, 15 May 2003 15:55:29 -0000 Hello, I have a need to access my modem's command mode in order to issue some AT commands to obtain line status/quality and some other queries, DURING a ppp session. According to the modem manual, dropping DTR will put the modem into command mode (while keeping the connection up, similar to doing a "+++" but with more positive control).... then in theory I should be able to do my AT commands, terminating with an ATO to put the modem back into data mode. However, there seem to be a couple problems with this: 1) Can't seem to figure out a way to get ppp itself to drop DTR and then allow me to use the "term" command to query the modem. 2) If I write an external program to drop DTR, I suspect ppp will get VERY confused... I've seen mention of the desire to do something similar in the list archives but no actual successful ways of doing it. Any ideas on how to be able to issue AT commands to my modem during a ppp session? Thanks!! Steve Lin