erock23175 wrote,
>I have? gnome-ppp all set up, it recognizes my modem, and even dials
>out when I try to sign online. But it then disconnects immediately
>afterward!!?? So far I have yet to find an answer on the web, you guys
>got anything??

See if you can add the option "debug" to your PPP configuration.  On my
system, I do this by editing /etc/ppp/options and adding the word "debug"
on a line all by itself.  Gnome-ppp probably puts it somewhere else, but
there should be some way to get the debug option into the configuration.

Once you've got debug mode turned on, PPP will log a transcript of what
it's trying to do.  On my system the transcript shows up in the file
/var/log/messages.  (Again, it could be in a different place on your
system.)

As an example, a few weeks ago I had a dialup failure that produced this
transcript in /var/log/messages:
Jul  3 22:06:40 anunnaki pppd[2837]: pppd 2.4.4 started by root, uid 0
Jul  3 22:06:41 anunnaki chat[2839]: timeout set to 60 seconds
Jul  3 22:06:41 anunnaki chat[2839]: abort on (ERROR)
Jul  3 22:06:41 anunnaki chat[2839]: abort on (BUSY)
Jul  3 22:06:41 anunnaki chat[2839]: abort on (NO CARRIER)
Jul  3 22:06:41 anunnaki chat[2839]: abort on (NO DIALTONE)
Jul  3 22:06:41 anunnaki chat[2839]: send (AT&F1L0H0^M)
Jul  3 22:06:42 anunnaki chat[2839]: expect (OK)
Jul  3 22:06:42 anunnaki chat[2839]: AT&F1L0H0^M^M
Jul  3 22:06:42 anunnaki chat[2839]: OK
Jul  3 22:06:42 anunnaki chat[2839]:  -- got it 
Jul  3 22:06:42 anunnaki chat[2839]: send (atdt6844070^M)
Jul  3 22:06:42 anunnaki chat[2839]: timeout set to 75 seconds
Jul  3 22:06:42 anunnaki chat[2839]: expect (CONNECT)
Jul  3 22:06:42 anunnaki chat[2839]: ^M
Jul  3 22:07:08 anunnaki chat[2839]: atdt6844070^M^M
Jul  3 22:07:08 anunnaki chat[2839]: CONNECT
Jul  3 22:07:08 anunnaki chat[2839]:  -- got it 
Jul  3 22:07:08 anunnaki pppd[2837]: Serial connection established.
Jul  3 22:07:08 anunnaki pppd[2837]: Using interface ppp0
Jul  3 22:07:08 anunnaki pppd[2837]: Connect: ppp0 <--> /dev/modem
Jul  3 22:08:00 anunnaki pppd[2837]: CHAP authentication failed: 
Jul  3 22:08:00 anunnaki pppd[2837]: Connection terminated.
Jul  3 22:08:00 anunnaki pppd[2837]: Exit

This showed that the modem was successfully dialing and connecting, but
the connection was failing a the "CHAP authentication failed" line.  "CHAP
authentication" is when it verifies the username and password.  I hadn't
changed the username and password in my configuration, so I concluded that
my ISP's password server had probably crashed.  (Note the 52-second
gap between "Connect: ppp0 <--> /dev/modem" and "CHAP authentication
failed"...that was the wait for the non-responding password server.)

The next day I got a slightly different transcript:
Jul  4 16:30:39 anunnaki pppd[2670]: pppd 2.4.4 started by root, uid 0
Jul  4 16:30:40 anunnaki chat[2672]: timeout set to 60 seconds
Jul  4 16:30:40 anunnaki chat[2672]: abort on (ERROR)
Jul  4 16:30:40 anunnaki chat[2672]: abort on (BUSY)
Jul  4 16:30:40 anunnaki chat[2672]: abort on (NO CARRIER)
Jul  4 16:30:40 anunnaki chat[2672]: abort on (NO DIALTONE)
Jul  4 16:30:40 anunnaki chat[2672]: send (AT&F1L0H0^M)
Jul  4 16:30:40 anunnaki chat[2672]: expect (OK)
Jul  4 16:30:40 anunnaki chat[2672]: AT&F1L0H0^M^M
Jul  4 16:30:40 anunnaki chat[2672]: OK
Jul  4 16:30:40 anunnaki chat[2672]:  -- got it 
Jul  4 16:30:40 anunnaki chat[2672]: send (atdt6844070^M)
Jul  4 16:30:40 anunnaki chat[2672]: timeout set to 75 seconds
Jul  4 16:30:40 anunnaki chat[2672]: expect (CONNECT)
Jul  4 16:30:40 anunnaki chat[2672]: ^M
Jul  4 16:30:44 anunnaki chat[2672]: atdt6844070^M^M
Jul  4 16:30:44 anunnaki chat[2672]: NO DIALTONE
Jul  4 16:30:44 anunnaki chat[2672]:  -- failed
Jul  4 16:30:44 anunnaki chat[2672]: Failed (NO DIALTONE)
Jul  4 16:30:45 anunnaki pppd[2670]: Exit.

Aargh.  That wasn't a good week.

This one turned out to be the phone company's fault.  Notice the "NO
DIALTONE" message...my phone didn't work at all that afternoon, and I had
to go to my office and call Qwest's service number from my work phone.

If you can obtain a similar transcript of your problem, post it here...it
will help a LOT in diagnosing what's going wrong.

              - Neil Parker
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to