Re: GPRS / pppd
Clifford Kite <kite@see.signature.id> writes:
>Unruh <unruh-spam@physics.ubc.ca> wrote:
>> Clifford Kite <kite@see.signature.id> writes:
>>>You might try adding "OK ATZ" just after "TIMEOUT 12" in the chat
>>>script. That should flush modem buffers and reset the default profile.
>> Uh, use AT&F (or AT&F1 if it is a Sportster modem). This loads the factory
>> defaults -- ATZ is a crap shoot. It
>> depends entirely on what setup was saved by some person or some program
>> sometime in the past.
>The idea behind the suggestion to use ATZ was to flush the "modem"
>buffers where something left-over from previous usage might cause
>the ERROR. An old modem manual claims ATZ does this and resets
>the modem to it's defaults. His chat script didn't show any AT&F
>initialization so I didn't suggest that "OK AT&F" also be added.
>Of course, this is GPRS "modem" and the old Hayes de-facto standard
>can only serve as a guide when you don't have a modem command manual.
>So ATZ may not work and/or also result in an ERROR.
Fine, except as we both know, ATZ often is implimented to recall a prior
saved setup rather than factory defaults, and can itself be the source of
grief when those saved setting are insane (which often happens). Usually
(Hayes ) AT&F sets up factor default (except on the sportster modems where
AT&F sets up software flow control, and you have to use AT&F1) and is
usually safer. However, as you point out, the modem manufacturer can do
what they damn well please and they may have AT&F igniting a charge inside
the modem. (LG did that with their CD drives. They used a command that the
standards said should be invalid on a Read only drive-- reserved for RW
drives-- and instead had it destroy the PROM memory on the read only drive. )
Ie, I would advise him to use AT&F to start with. If that is an invalid
command, use ATZ. Of course reading the manual, if it exists is an even
better idea.
|