On Thu, 14 Sep 2000, Aaron Binns wrote:
> >Solution was to set the S2 register from 43 to 255 so that it totally
> >ignores the "+++", and use the hardware signal drop to initiate the
> >hangup, which it was doing anyway.
>
>
> This might seem a stupid question.. but for those who dont know how to do that..
>
> How do you change the registers on your modem and why is it necessary to do so?
The "how" is easy - fire up a terminal program {minicom, telix,
hyperterminal}, connect to the modem, and type the following
AT {You should get an "OK" reply}
ATS0=3 {Again, you should get an OK reply from the modem}
This changes the specified S register {in this case = S0 is the number of
rings to wait until the modem answers the phone} TEMPORARILY - until
either the modem is powered off, an over-riding command is entered {I.E.
the ATS0=x command is entered again}, or until the modem is reset using
the ATZ command.
If you want to make this change permanent, you need to save it to NVRAM.
The usual command for this is AT&W - but you should NOT play with this
unless you know what you're doing.
As for WHY you'd want to change them - well, S registers are part of the
commands which control how your modem behaves under defined circumstaces.
For example, your modem might default to not answering the phone
automatically - ATS0=0 - and you might want to tell it to answer the phone
after 2 rings - ATS0=2.
All S registers control how the modem behaves - things like how long to
wait for carrier detect before giving up, how long to accept a detected
carrier as valid before actually reporting as connected, even what
messages to send to the DTE equiptment on connection.
For more detailk, read the modem manual - it's the best way to find out.
DaZZa
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug