[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: external modem not echoing OK
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: external modem not echoing OK
- From: ppruett <ppruett_(_at_)_webengr_(_dot_)_com>
- Date: Tue, 24 Apr 2001 19:59:19 +0000 (GMT)
I think it was simple afterall,,, after all day...;(
I din't spend enough time on the expect strings
because it worked on one i386 machine I expected the
same ext. modem to behave the same with same ppp.conf
file on the other.... I ass-umed
I included some notes just in case some one else
is searching for the same answer.
The short answer was to get ATE1Q0 to the modem
so it would echo back on those 2 machines, wasn't
needed on the other ... weird.
-apologies
paul <ppruett at webengr.com>
On Tue, 24 Apr 2001, ppruett wrote:
>
> external modem setup problem - results not echoed on one machine
> but are on the other.
something like this in /etc/ppp/ppp.conf
worked getting the external generic modems to respond, I would recommend
tweaking though... like timeout (5) may suffice.
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cua00
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 20 \"\" ATE1Q0V1X1M1L2
OK-ATEQ0-OK \\dATDT\\T TIMEOUT 40 CONNECT"
----------
excerpt from http://www.daemonnews.org/199908/answerman.html
ATE1 Q0 V1 X1 M1 L2 AT&W
Some minimalist notes on the generic Hayes command-set follow.
AT is the modem ATtention prefix
E1 tells the modem to echo the results to the screen.
Q0 enables result codes to the DTE (Default) QQQ
X1 Disables monitoring of busy tones unless forced otherwise by country
requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER,
and CONNECT 115200. Blind dialing enabled/disabled by country
parameters. If busy tone detection is enforced and busy tone is detected,
NO CARRIER will be reported instead of BUSY.
M1 turns the speaker on during dialing, and until connection established,
then off.
V1 Enables long-form (verbose) result codes.
L2 sets the speaker volume to ``medium''
AT&W (or &W, actually) writes these commands to the modem's non-volitile
memory.
If you enter these commands separately, the modem should answer with
OK
Visit your host, monkey.org