Networking Forums

Networking Forums > Computer Networking > Linux Networking > pppd call problem

Reply
Thread Tools Display Modes

pppd call problem

 
 
Alen192
Guest
Posts: n/a

 
      11-30-2007, 06:03 PM
Hello, i have a problem with pppd, i try to connect the RAS Server Win
2003) of my factory network, but the pppd disconnect me after the
authentication. The syslog is the following, i use chap and i change
the init string of the modem and the syslog is the following (i change
in log USERNAME and PASSWORD (i think) -)


Nov 30 18:47:59 localhost pppd[3866]: Serial connection established.
Nov 30 18:47:59 localhost pppd[3866]: using channel 4
Nov 30 18:47:59 localhost pppd[3866]: Using interface ppp0
Nov 30 18:47:59 localhost pppd[3866]: Connect: ppp0 <--> /dev/ttyS0
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x12ae2fd> <pcomp> <accomp>]
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<callback CBCP> <mrru 1614> <endpoint [local:c2.b2.b3.2d.53.df.4a.
0e.b6.a0.d3.9d.79.c9.92.ef.00.00.00.00]> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfRej id=0x0
<callback CBCP> <mrru 1614> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <magic 0x12ae2fd> <pcomp> <accomp>]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92 .ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92 .ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP EchoReq id=0x0
magic=0x12ae2fd]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [EAP Request id=0x1
Identity <No message>]
Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
Identity <Name "USERNAME">]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP EchoRep id=0x0
magic=0x136b6a18]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP TermReq id=0x3 I THINK
THAT HERE THERE IS THE PASSWORD]
Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
(^Skj^X^@<M-Mt^@^@^CM-.)
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP TermAck id=0x3]
Nov 30 18:48:01 localhost pppd[3866]: Hangup (SIGHUP)
Nov 30 18:48:01 localhost pppd[3866]: Modem hangup
Nov 30 18:48:01 localhost pppd[3866]: Connection terminated.
Nov 30 18:48:02 localhost pppd[3866]: Exit.

Can you said me what is the meaning of LCP terminated by peer
(^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.
Bye
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      11-30-2007, 09:31 PM
Alen192 <(E-Mail Removed)> wrote:
> Hello, i have a problem with pppd, i try to connect the RAS Server Win
> 2003) of my factory network, but the pppd disconnect me after the
> authentication. The syslog is the following, i use chap and i change


In the log pppd accepts EAP (Extensible Authentication Protocol) whose
configuration file is /etc/ppp/srp-secrets. The format is the same
as for pap-secrets and chap-secrets but while EAP supports CHAP it is
not CHAP and the username and secret is expected to be in srp-secrets.
man srp-secrets.

If you want CHAP then you can try refusing EAP by adding the pppd option
refuse-eap . However, since the peer gets to specify the authentication
it may not work.

> the init string of the modem and the syslog is the following (i change
> in log USERNAME and PASSWORD (i think) -)


> Nov 30 18:47:59 localhost pppd[3866]: Serial connection established.
> Nov 30 18:47:59 localhost pppd[3866]: using channel 4
> Nov 30 18:47:59 localhost pppd[3866]: Using interface ppp0
> Nov 30 18:47:59 localhost pppd[3866]: Connect: ppp0 <--> /dev/ttyS0


<snip - negotiations to this point appeared reasonable>

> Nov 30 18:48:01 localhost pppd[3866]: rcvd [EAP Request id=0x1
> Identity <No message>]
> Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
> Identity <Name "USERNAME">]
> Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP EchoRep id=0x0
> magic=0x136b6a18]
> Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP TermReq id=0x3 I THINK
> THAT HERE THERE IS THE PASSWORD]


I'm not sure what your comment means. There is no sign in the log that
a password was sent and TermReq is an LCP terminate request. My _guess_
is that the RAS side doesn't like your username (or password if sent)
and so terminated LCP. That could be the case if srp-secrets isn't
configured correctly..

> Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
> (^Skj^X^@<M-Mt^@^@^CM-.)
> Nov 30 18:48:01 localhost pppd[3866]: sent [LCP TermAck id=0x3]
> Nov 30 18:48:01 localhost pppd[3866]: Hangup (SIGHUP)
> Nov 30 18:48:01 localhost pppd[3866]: Modem hangup
> Nov 30 18:48:01 localhost pppd[3866]: Connection terminated.
> Nov 30 18:48:02 localhost pppd[3866]: Exit.


> Can you said me what is the meaning of LCP terminated by peer
> (^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.


I can't say what the (...) means. Usually control characters in a log
mean the original characters had hex representations beyond 7f and the
high bit was stripped in the process of generating ascii text. But the
() enclosing something with a "." at the end does look a lot like a
comment of some sort.

Regards-
--
Clifford Kite
/* Better is the enemy of good enough. */
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
request help for PPPD problem chamleon@sina.com Linux Networking 1 06-13-2007 12:45 PM
pppd-2.4.2 + kernel-2.6.7 problem Dimitris Mandalidis Linux Networking 13 07-18-2004 09:52 PM
pppd problem again???? Theophanis Kontogiannis Linux Networking 3 05-30-2004 01:54 PM
#pppd call /etc/ppp/peers/lg, what is wrong with it ? lc Linux Networking 6 05-23-2004 07:43 AM
PPPD server routing problem? Mandrake/mgetty/pppd/D-link router martin02 Linux Networking 17 10-06-2003 03:06 PM



1 2 3 4 5 6 7 8 9 10 11