marufloor
2008-02-26 05:39:20 UTC
helps, i can't ppp connection.
I think <auth chap MD5> problem.
I don't know why received message is No auth is possible
platform : Linux Redhat Enterprise 4 AS.
--------------------------------------------- problem
----------------------------------------------------------------
[***@rhel4 ppp]# ./ppp-
on
Serial connection established.
using channel 14
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <pcomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <auth pap> <magic 0x541566f7>
<asyncmap 0xa0000> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth pap> <magic 0x541566f7> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <auth chap MD5> <magic 0x4dad7caf>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x2 <auth chap MD5> <magic 0x4dad7caf>]
rcvd [LCP ConfReq id=0x3 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x3 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x4 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x4 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x5 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x5 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x6 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x6 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x7 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x7 <auth chap MD5> <magic 0x65ad34af>]
Terminating on signal 2.
sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP ConfReq id=0x8 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
rcvd [LCP TermAck id=0x2]
Connection terminated.
------------------------------------------------- ppp-on file
---------------------------------------------
[***@rhel4 ppp]# more ppp-on
#!/bin/sh
TELEPHONE=*99#
export TELEPHONE
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug \
/dev/ttyS0 9600 \
lock \
noauth \
noccp \
nomagic \
refuse-chap \
defaultroute \
asyncmap 0 \
-crtscts \
-ac \
-vj \
-vjccomp \
-detach \
-d \
-bsdcomp \
-chap \
-pap \
connect $DIALER_SCRIPT
------------------------------------------------- ppp-on-dialer file
---------------------------------------------
#!/bin/sh
/usr/sbin/chat -v \
TIMEOUT 6 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \\rAT \
'OK-+++\c-OK' ATM1L3 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT ''
-------------------------------------------------------------------------------------------------------------------------
reference site : http://korea.gnu.org/people/chsong/klug/linux-kr.org/PPP-HOWTO.html#toc27
but, ppp connection success on Windows xp platform.
follows ppp connection options on window
- disable 'HARDWARE FLOWCONTOL'
- disable 'LCP extention'
- disable 'Software compress use'
- disable 'IP Compressed Header use'
thank you any helps.
:)
I think <auth chap MD5> problem.
I don't know why received message is No auth is possible
platform : Linux Redhat Enterprise 4 AS.
--------------------------------------------- problem
----------------------------------------------------------------
[***@rhel4 ppp]# ./ppp-
on
Serial connection established.
using channel 14
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <pcomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <auth pap> <magic 0x541566f7>
<asyncmap 0xa0000> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth pap> <magic 0x541566f7> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <auth chap MD5> <magic 0x4dad7caf>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x2 <auth chap MD5> <magic 0x4dad7caf>]
rcvd [LCP ConfReq id=0x3 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x3 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x4 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x4 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x5 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x5 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x6 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x6 <auth chap MD5> <magic 0x65ad34af>]
rcvd [LCP ConfReq id=0x7 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
No auth is possible
sent [LCP ConfRej id=0x7 <auth chap MD5> <magic 0x65ad34af>]
Terminating on signal 2.
sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP ConfReq id=0x8 <mru 1500> <auth chap MD5> <magic 0x65ad34af>
<asyncmap 0xa0000> <pcomp>]
rcvd [LCP TermAck id=0x2]
Connection terminated.
------------------------------------------------- ppp-on file
---------------------------------------------
[***@rhel4 ppp]# more ppp-on
#!/bin/sh
TELEPHONE=*99#
export TELEPHONE
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug \
/dev/ttyS0 9600 \
lock \
noauth \
noccp \
nomagic \
refuse-chap \
defaultroute \
asyncmap 0 \
-crtscts \
-ac \
-vj \
-vjccomp \
-detach \
-d \
-bsdcomp \
-chap \
-pap \
connect $DIALER_SCRIPT
------------------------------------------------- ppp-on-dialer file
---------------------------------------------
#!/bin/sh
/usr/sbin/chat -v \
TIMEOUT 6 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \\rAT \
'OK-+++\c-OK' ATM1L3 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT ''
-------------------------------------------------------------------------------------------------------------------------
reference site : http://korea.gnu.org/people/chsong/klug/linux-kr.org/PPP-HOWTO.html#toc27
but, ppp connection success on Windows xp platform.
follows ppp connection options on window
- disable 'HARDWARE FLOWCONTOL'
- disable 'LCP extention'
- disable 'Software compress use'
- disable 'IP Compressed Header use'
thank you any helps.
:)