modem problem
Wm. Brian McCane
news at brian386.UUCP
Mon Jan 30 07:10:07 AEST 1989
In article <787 at hawkmoon.MN.ORG> root at hawkmoon.MN.ORG (Admin) writes:
>Ok -- here's the scoop. I'm calling the site "elric" (with Uutry) and i'm doing
>it over a bidirectional serial port, /dev/cul0, using uugetty:
>
> [ deleted ]
>
> As soon as i issue the +++, the carrier drops the carrier like a hot
>potato. What the heck am i doing wrong here? The USR manual mentions nothing
>like:
> "As soon as the +++ is entered the modem not only
> enters the command state, but also immediatly
> drops the carrier like a hot potato"
>
>Has anyone else run into this or is this just yet another fundamental mis-
>understanding of the way the modem/uugetty is supposed to work (not a terribly
>unusual situation, i might add (:-))
>
>usrpwc24 =W-, "" \r\r\r\r\dATZ "" ATV1Q0E1 "" AT
>OK-\d\d+++\d\dATH\r\dATV1Q0E1-OK ATX6M0DTW6816634 CONNECT\s2400 \r ""
>\d\d+++\d\d OK ATQ1V0E0 "" ATO "" \r tion:--tion: \D\r\c
>Connected-\r\d\D\r\c-Connected--in:--in:
I cut out most of the boring stuff. Anyway, your problems are many fold
I believe. First, the modem at the other end, is most likely using your
same ESCAPE code "+++". So it also enters command mode when it gets
this message. So even if you do get most of the other rather involved
instructions to work, he is now ignoring you. Second, I have had to put
a \d between my escape characters for the necessary time out. My
version of your dialup script would be:
usrpwc24 =W-, "" \r\rATZ "" ATV1Q0E1S2=27 OK\r AT OK\r
ATX6M0DTW6816634 CONNECT\s2400 \r "" \d\d\033\d\033\d\033 OK\r
ATQ1V0E0S2=43O "" \010\010\010\r tion:--tion: \D\r\c
Connected-\r\d\D\r\c-Connected--in:--in:
Okay, so I cut out some of the embellishments, but you get the picture.
I first set my escape code to something else, and then I dial the name
and use my new escape code to get back to command mode. Then I reset it
to the original. I hope this helps. (By the way, this is how I do it
too. If my modem is not gagged, it picks up then phone and immediately
hangs up again.)
brian
More information about the Comp.unix.microport
mailing list