Manigandan Varadharajan <vm@myw.ltindia.com> wrote:
Hi,
Both the mistakes you pointed are careless typing mistake (I am sorry), but
in actual system they (noth) are perfect as you said…
The log below, suggest you refused to Authenticate yourself (with PAP).
but how to do it … ?
in option I have given auth + pap …
I am not sure whether my ISP uses PAP or CHAP ,Should I give both, when I
dial ISP from my demodisk floppy I found both PAP & CHAP secret files …But
I cant find the /etc/ppp/options file in demodisk floppy (Any suggestion)
As a client, you don’t need “+pap” or “+chap”, these options are used to
enforce the otherside authenticate himself to you (which is not your case).
As long as you have /etc/ppp/pap-secrets, you will response to peers request.
And yes, your ISP DOES request pap.
Make sure you (as root) start pppd as "pppd … name userid ", otherwise,
pppd will trying match your hostname in /etc/ppp/pap-secrets.
-xtang
“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:a4dthe$35v$> 1@nntp.qnx.com> …
Manigandan Varadharajan <> vm@myw.ltindia.com> > wrote:
Yes,as rightly pointed by you I made mistake in chat script…But now I
corrected my chat script, even now i could not clear
authentication…You
can refer my new log file which says that i had established ppp
connection
but I could not auth …
Any suggestions …
The log below, suggest you refused to Authenticate yourself (with PAP).
I check your earlier post (sorry, I should notice this earlier), there is:
in my /etc/pap-secrets file i have
"userid * “password” *
First of all, the file should be /etc/ppp/pap-secrets;
Second, there is only one (") before userid (I hope that
is a typo).
-xtang
Thankyou
Manigandan
Log message from syslogd (PPPD)
Feb 13 19:29:45 nto chat[2252835-1]: send (AT&F1^M)
Feb 13 19:29:45 nto chat[2252835-1]: expect (OK)
Feb 13 19:29:45 nto chat[2252835-1]: AT&F1^M^M
Feb 13 19:29:45 nto chat[2252835-1]: OK
Feb 13 19:29:45 nto chat[2252835-1]: – got it
Feb 13 19:29:45 nto chat[2252835-1]: send (ATDT0172222^M)
Feb 13 19:29:45 nto chat[2252835-1]: expect (CONNECT)
Feb 13 19:29:45 nto chat[2252835-1]: ^M
Feb 13 19:30:12 nto chat[2252835-1]: ATDT0172222^M^M
Feb 13 19:30:12 nto chat[2252835-1]: CONNECT
Feb 13 19:30:12 nto chat[2252835-1]: – got it
Feb 13 19:30:12 nto chat[2252835-1]: send (c\d^M)
Feb 13 19:30:13 nto pppd[2244642-1]: Serial connection established.
Feb 13 19:30:13 nto pppd[2244642-1]: Using interface ppp0
Feb 13 19:30:13 nto pppd[2244642-1]: Connect: ppp0 <–> /dev/ser1
Feb 13 19:30:14 nto pppd[2244642-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0
auth pap> <magic 0x4a39f29> ]
Feb 13 19:30:17 nto pppd[2244642-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0
auth pap> <magic 0x4a39f29> ]
Feb 13 19:30:18 nto pppd[2244642-1]: rcvd [LCP ConfReq id=0x59 <asyncmap
0xa0000> <magic 0xd78b027e> ]
Feb 13 19:30:18 nto pppd[2244642-1]: sent [LCP ConfRej id=0x59 ]
Feb 13 19:30:18 nto pppd[2244642-1]: rcvd [LCP ConfReq id=0x5a <asyncmap
0xa0000> <magic 0xd78b027e> ]
Feb 13 19:30:18 nto pppd[2244642-1]: sent [LCP ConfRej id=0x5a ]
Feb 13 19:30:18 nto pppd[2244642-1]: rcvd [LCP ConfReq id=0x5b <asyncmap
0xa0000> <magic 0xd78b027e> ]
Feb 13 19:30:18 nto pppd[2244642-1]: sent [LCP ConfRej id=0x5b ]
Feb 13 19:30:18 nto pppd[2244642-1]: rcvd [LCP ConfReq id=0x5c <asyncmap
0xa0000> <magic 0xd78b027e> ]
Feb 13 19:30:18 nto pppd[2244642-1]: sent [LCP ConfRej id=0x5c ]
Feb 13 19:30:19 nto pppd[2244642-1]: rcvd [LCP ConfReq id=0x5d <asyncmap
0xa0000> <magic 0xd78b027e> ]
Feb 13 19:30:19 nto pppd[2244642-1]: sent [LCP ConfRej id=0x5d ]
Feb 13 19:30:20 nto pppd[2244642-1]: sent [LCP ConfReq id=0x1 <asyncmap
0x0
auth pap> <magic 0x4a39f29> ]
Feb 13 19:30:35 nto last message repeated 5 times
Feb 13 19:30:37 nto pppd[2244642-1]: Hangup (SIGHUP)
Feb 13 19:30:37 nto pppd[2244642-1]: sent [LCP TermReq id=0x2 “User
request”]
Feb 13 19:30:40 nto pppd[2244642-1]: sent [LCP TermReq id=0x3 “User
request”]
Feb 13 19:30:43 nto pppd[2244642-1]: Connection terminated.
Feb 13 19:30:44 nto pppd[2244642-1]: Exit.
“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:a4bb87$50e$> 1@nntp.qnx.com> …
This log suggest you are failed in “chat”, make sure your /etc/dial_isp
have correct sequence/keyword.
-xtang