Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 08:55:28 -0700 (PDT)
From:      Steve Lin <stevenclin@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Dropping DTR to access command mode during ppp session
Message-ID:  <20030515155528.99217.qmail@web41005.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515155528.99217.qmail>