You wrote: > Robert-Jan Kuijvenhoven: > > ppp.log: > ... > > send (ATZ^M) > > expect (OK) > > ^M > > NO CARRIER > > -- Failed > > Failed (NO CARRIER) > > Connect script failed > > exit. > > That sounds as if ppp (or chat) is sending `ATZ' to the modem, expecting to > get back `OK' but getting `NO CARRIER' instead. Is that right? > > That'd definitely be a problem, but I'm not sure how it'd come about; why > would a modem respond to `ATZ' with `NO CARRIER'?
Simple enough - the modem wasn't in command mode, it was at the end of the previous dial (that failed) but somehow the modem wasn't put back in command mode when ppp or whatever gave up. (It is a good idea setting the modem up to automatically hang up and go to command mode when DTR drops. That should avoid this problem.) So dialer sends ATZ to a modem that is dialling already. This normally makes the modem give up the dialling asap, and return NO CARRIER. Trying ATZ again will usually work. Helge Hafting