Re: PnP via RS232? Need info...

Riley Williams (rhw@BigFoot.Com)
Sat, 3 Apr 1999 16:22:42 +0100 (GMT)


Hi all.

>> the modem goes on hook but does not dial. I can hear the "please
>> dial"-tone :-) but nothing else. Killing chat and trying a second
>> time succeeds. Cause my father

> That sounds like your initialisation strings are not quite right
> and you get an error on something the first time around - make
> chat log.

This sounds like a problem I had with one modem a while back, where
the modem sometimes started up with basically random settings. I
learned from that to always start any autodial scripts with AT&Fx
suitable for that modem - usually AT&F0 but on some modems AT&F1
instead.

I then wait for the OK response, then pause for at least a second
(some modems need a pause after sending the OK response to the AT&F
command for some reason), then send the commands needed to tweak the
settings to those desired, breaking each line to be not more than 31
characters since some modems ignore commands longer than that.

Finally, I use the following dial string:

ATX4TDxxx

This sets the correct results mode in the dial command, as required by
some modems, and it also movs the selection of tone dialling out of
the dial string, thus ensuring that the stupidly low limits on dial
string lengths of some modems aren't needlessly compromised...

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/