[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PPP Connection Problems



It looks like your modem is taking a very long time to respond
to commands. Are you sure you have the correct irq, port, and such
specified, using setserial?

See below for more.

On Tue, 20 Jul 1999, Cheshire wrote:

> Hello all, I've a potentially elementary situation to present. I have
> an internal Zoom56k dualmode modem on ttyS2. I have, with the
> assistance of a linux friend of mine irl, got my internet connection
> working before, so I know it isn't the hardware but I'll just throw
> that in anyways. I've got debian 2.1 installed on a new hard drive,
> and I simply can't get my net connection going again. I even copied
> all of the scripts and config files from the old hd, and still, no
> connection. I can get it to dial and sorta connect, but even with
> that, the initialization process seems to take forever, whereas my
> previous setup was very quick. Sorry, I'll quit my rambling and give
> you something to work with--I resorted to 'pon' and, well below you
> see a section of my ppp.log, on of the connection attempts. Could
> someone please give me a hint as to what's going on? :)
>  
> Jul 20 00:51:28 cheshire pppd[300]: pppd 2.3.5 started by root, uid 0
> Jul 20 00:51:29 cheshire chat[304]: abort on (BUSY)
> Jul 20 00:51:29 cheshire chat[304]: abort on (NO CARRIER)
> Jul 20 00:51:29 cheshire chat[304]: abort on (VOICE)
> Jul 20 00:51:29 cheshire chat[304]: abort on (NO DIALTONE)
> Jul 20 00:51:29 cheshire chat[304]: abort on (NO ANSWER)
> Jul 20 00:51:29 cheshire chat[304]: send (ATZ^M)
> Jul 20 00:51:29 cheshire chat[304]: expect (OK)
> Jul 20 00:51:38 cheshire chat[304]: 
> Jul 20 00:51:48 cheshire chat[304]: OK

My guess is that this OK is replying to something that happened even
before you tried to connect...

> Jul 20 00:51:48 cheshire chat[304]:  -- got it 
> Jul 20 00:51:48 cheshire chat[304]: send (ATDT7770591^M)
> Jul 20 00:51:48 cheshire chat[304]: expect (CONNECT)
> Jul 20 00:51:48 cheshire chat[304]: ^M
> Jul 20 00:51:58 cheshire chat[304]: ATZ^M^M
> Jul 20 00:51:58 cheshire chat[304]: OK^M

... Then this ATZ and OK are the echo and response to your ATZ command
nearly 30 seconds earlier! The modem shouldn't take this long to reply to
a simple ATZ command, which makes me wonder if you've properly told the
computer how to talk to the modem. If you have set the proper irq, you
should also make sure there isn't an irq conflict.

For more info, check the Linux Modem howto, especially section 12. This
howto should be in /usr/doc/HOWTO/Modem-HOWTO.gz if you have the
doc-linux-text package installed, or /usr/doc/HOWTO/Modem-HOWTO.html if
you have the doc-linux-html package. It can also be found on the web, use
a search engine.



Reply to: