Xref: utzoo comp.unix.microport:2744 comp.dcom.modems:3295 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!ogccse!littlei!uunet!amgraf!brian386!news From: news@brian386.UUCP (Wm. Brian McCane) Newsgroups: comp.unix.microport,comp.dcom.modems Subject: Re: modem problem Keywords: +++, command mode, USR Direct 2400, uugetty, 3.0e, HDB Message-ID: <246@brian386.UUCP> Date: 29 Jan 89 21:10:07 GMT References: <787@hawkmoon.MN.ORG> Reply-To: news@brian386.UUCP (Wm. Brian McCane) Organization: Harmon Electronics, Inc Grain Valley, MO Lines: 43 In article <787@hawkmoon.MN.ORG> root@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