Discussion:
IPCP terminated by peer
(too old to reply)
mr.krash
2008-08-20 09:34:33 UTC
Permalink
Hi,
i have a trouble to connect with my vpn pptp.
My connection hung with IPCP terminated by peer (Unauthorized remote
IP address).
This is log:

pppd[20820]: pppd 2.4.4 started by root, uid 0
pppd[20820]: Using interface ppp0
pppd[20820]: Connect: ppp0 <--> /dev/pts/1
pppd[20820]: Warning - secret file /etc/ppp/pap-secrets has world and/
or group access
pppd[20820]: MPPE 128-bit stateless / Deflate (15) compression enabled
pppd[20820]: local IP address 10.0.10.2
pppd[20820]: remote IP address 10.0.10.1
pppd[20820]: IPCP terminated by peer (Unauthorized remote IP address)
pppd[20820]: Connect time 0.0 minutes.
pppd[20820]: Sent 0 bytes, received 34 bytes.
pppd[20820]: LCP terminated by peer (No network protocols running)
pptp[20817]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned
zero, peer has closed
pptp[20817]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing
connection (shutdown)
pptp[20817]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet
type is 12 'Call-Clear-Request'
pptp[20817]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned
zero, peer has closed
pptp[20817]: anon log[call_callback:pptp_callmgr.c:78]: Closing
connection (call state)
pppd[20820]: Connection terminated.
Aug 20 11:28:07 anavi pppd[20820]: Modem hangup
Aug 20 11:28:07 anavi pppd[20820]: Exit.
Aug 20 11:28:07 anavi pptp[20823]: anon warn[decaps_hdlc:pptp_gre.c:
197]: short read (-1): Input/output error
Aug 20 11:28:07 anavi pptp[20823]: anon warn[decaps_hdlc:pptp_gre.c:
209]: pppd may have shutdown, see pppd log

This is option file:

lock
noipdefault

and pap-secrets

user * pawd *

I have tried insert ipcp-accept-remote and ipcp-accept-local, but
error don't change.
Any idea?
James Carlson
2008-09-03 12:52:36 UTC
Permalink
Post by mr.krash
pppd[20820]: pppd 2.4.4 started by root, uid 0
pppd[20820]: Using interface ppp0
pppd[20820]: Connect: ppp0 <--> /dev/pts/1
pppd[20820]: Warning - secret file /etc/ppp/pap-secrets has world and/
or group access
Try running with the "debug" option enabled and with "daemon.debug"
directed to a file via /etc/syslog.conf. (Or use the "updetach"
option to have the debug messages printed to the tty where you invoke
pppd.)
Post by mr.krash
pppd[20820]: IPCP terminated by peer (Unauthorized remote IP address)
appears to indicate a problem with the peer, not with the local
system. You'll probably end up needing to check with the
administrator of that remote system to find out why it is doing this.

It could possibly be a problem with the user name and password used.
Some strange systems return success during authentication, and check
the user name only _after_ negotiating IPCP. The result is bizarre
failures like the one you're describing if (say) the password is
incorrect.
Post by mr.krash
lock
noipdefault
and pap-secrets
user * pawd *
Those alone look good. Do you have any *other* options set anywhere?
At a guess, you're not invoking pppd directly, but instead are using
some sort of script that starts up PPTP and that starts up pppd.
--
James Carlson, Solaris Networking <***@sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Loading...