Click to See Complete Forum and Search --> : couldn't establish ppp connection


Nabin Limbu
07-12-2003, 10:35 AM
My problem:
In RH 8, while trying to establish dialup connection via ppp-on script, I
got following error message in /var/log/message. It seems that ppp server
is expecting for login and ppp client is not able to send username. How
can I solve the problem. I know that I have correctly entered username,
phone number and password in ppp-on file.

I have also tried via wvdail and kppp but the problem is same.

Please help.

/var/log/messages
---------------------------
Jul 12 21:53:22 mailhost pppd[1036]: pppd 2.4.1 started by root, uid 0
Jul 12 21:53:23 mailhost chat[1037]: timeout set to 3 seconds
Jul 12 21:53:23 mailhost chat[1037]: abort on (\nBUSY\r)
Jul 12 21:53:23 mailhost chat[1037]: abort on (\nNO ANSWER\r)
Jul 12 21:53:23 mailhost chat[1037]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jul 12 21:53:23 mailhost chat[1037]: send (rAT^M)
Jul 12 21:53:23 mailhost chat[1037]: expect (OK)
Jul 12 21:53:23 mailhost chat[1037]: rAT^M^M
Jul 12 21:53:23 mailhost chat[1037]: OK
Jul 12 21:53:23 mailhost chat[1037]: -- got it
Jul 12 21:53:23 mailhost chat[1037]: send (ATH0^M)
Jul 12 21:53:23 mailhost chat[1037]: timeout set to 30 seconds
Jul 12 21:53:23 mailhost chat[1037]: expect (OK)
Jul 12 21:53:23 mailhost chat[1037]: ^M
Jul 12 21:53:23 mailhost chat[1037]: ATH0^M^M
Jul 12 21:53:23 mailhost chat[1037]: OK
Jul 12 21:53:23 mailhost chat[1037]: -- got it
Jul 12 21:53:23 mailhost chat[1037]: send (ATDT4428835^M)
Jul 12 21:53:23 mailhost chat[1037]: expect (CONNECT)
Jul 12 21:53:23 mailhost chat[1037]: ^M
Jul 12 21:53:39 mailhost chat[1037]: ATDT4428835^M^M
Jul 12 21:53:39 mailhost chat[1037]: CONNECT
Jul 12 21:53:39 mailhost chat[1037]: -- got it
Jul 12 21:53:39 mailhost chat[1037]: send (^M)
Jul 12 21:53:39 mailhost chat[1037]: expect (ogin:)
Jul 12 21:53:39 mailhost chat[1037]: 38400^M
Jul 12 21:53:40 mailhost chat[1037]: ^M
Jul 12 21:53:40 mailhost chat[1037]: Welcome to HealthNet Nepal(your Health Information Server)^M
Jul 12 21:54:09 mailhost chat[1037]: alarm
Jul 12 21:54:09 mailhost chat[1037]: send (^M)
Jul 12 21:54:09 mailhost chat[1037]: expect (ogin:)
Jul 12 21:54:09 mailhost chat[1037]: ^M
Jul 12 21:54:39 mailhost chat[1037]: alarm
Jul 12 21:54:39 mailhost chat[1037]: Failed
Jul 12 21:54:39 mailhost pppd[1036]: Connect script failed
Jul 12 21:54:40 mailhost pppd[1036]: Exit.

JerryW
07-16-2003, 06:50 PM
I use Slackware 8.1 so please pardon me if the names of the files are different. At the end of your "pppscript" file (usually found in /etc/ppp/ directory) is the line CONNECT

Try changing that line to read:
CONNECT "CLIENT"

On the ISP I use that line switches the MS server over to the PAP/CHAP authentication instead of using the command line intereactive login (which never seems to work no matter what username and password you give it)