LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-31-2005, 12:23 PM   #1
can3p
LQ Newbie
 
Registered: May 2005
Posts: 12

Rep: Reputation: 0
pppd problem: IPCP terminated by peer


OS: Slackware 10.1, kernel 2.6.11.10

Some time ago i have installed pptpclient, and it worked fine.
Now it doesn't work.

Here is the part of the /var/log/messages:
Code:
May 28 13:53:48 can3p kernel: PPP generic driver version 2.4.2
May 28 13:53:48 can3p pppd[2669]: pppd options in effect:
May 28 13:53:48 can3p pppd[2669]: debug  # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: persist # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: linkname dialog # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: dump # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: noauth # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: name PetrovD # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: remotename dialog # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: # (from /etc/ppp/options.pptp)
May 28 13:53:48 can3p pppd[2669]: pty pptp 172.19.0.2 --nolaunchpppd # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: ipparam dialog # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2669]: nobsdcomp # (from /etc/ppp/options.pptp)
May 28 13:53:48 can3p pppd[2669]: nodeflate # (from /etc/ppp/options.pptp)
May 28 13:53:48 can3p pppd[2669]: require-mppe # (from /etc/ppp/peers/dialog)
May 28 13:53:48 can3p pppd[2700]: pppd 2.4.2 started by root, uid 0
May 28 13:53:48 can3p pppd[2700]: Using interface ppp0
May 28 13:53:48 can3p pppd[2700]: Connect: ppp0 <--> /dev/pts/0
May 28 13:53:48 can3p pptp[2701]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated 
May 28 13:53:48 can3p pptp[2732]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' 
May 28 13:53:48 can3p pptp[2732]: anon log[ctrlp_disp:pptp_ctrl.c:732]: Received Start Control Connection Reply
May 28 13:53:48 can3p pptp[2732]: anon log[ctrlp_disp:pptp_ctrl.c:766]: Client connection established.
May 28 13:53:50 can3p pptp[2732]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' 
May 28 13:53:50 can3p pptp[2732]: anon log[ctrlp_disp:pptp_ctrl.c:851]: Received Outgoing Call Reply.
May 28 13:53:50 can3p pptp[2732]: anon log[ctrlp_disp:pptp_ctrl.c:890]: Outgoing call established (call ID 0, peer's call ID 29824). 
May 28 13:53:50 can3p kernel: MPPE/MPPC encryption/compression module registered
May 28 13:53:50 can3p pppd[2700]: MPPE 128-bit stateless compression enabled
May 28 13:53:50 can3p pppd[2700]: local  IP address 172.19.10.215
May 28 13:53:50 can3p pppd[2700]: remote IP address 192.168.248.1
May 28 13:53:50 can3p pppd[2700]: IPCP terminated by peer (Unauthorized remote IP address)
May 28 13:53:50 can3p pppd[2700]: LCP terminated by peer (MPPE disabled)
May 28 13:53:50 can3p pptp[2732]: anon log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
May 28 13:53:50 can3p pptp[2732]: anon log[callmgr_main:pptp_callmgr.c:253]: Closing connection
May 28 13:53:50 can3p pptp[2732]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' 
May 28 13:53:50 can3p pppd[2700]: Modem hangup
May 28 13:53:50 can3p pppd[2700]: Connection terminated.
May 28 13:53:50 can3p pppd[2700]: Connect time 0.1 minutes.
May 28 13:53:50 can3p pppd[2700]: Sent 72 bytes, received 106 bytes.
May 28 13:53:50 can3p pptp[2732]: anon log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
May 28 13:53:50 can3p pptp[2732]: anon log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
As I can see from the log, pppd starts fine, but then something goes wrong:
Code:
May 28 13:53:50 can3p pppd[2700]: IPCP terminated by peer (Unauthorized remote IP address)
May 28 13:53:50 can3p pppd[2700]: LCP terminated by peer (MPPE disabled)
But I don'y know what it is exactly.
Please, help me: where could I break the configuration?
 
Old 06-01-2005, 05:12 AM   #2
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
Quote:
May 28 13:53:50 can3p pppd[2700]: local IP address 172.19.10.215
May 28 13:53:50 can3p pppd[2700]: remote IP address 192.168.248.1
What are these two addresses


Also may be a modem problem
 
Old 06-01-2005, 07:54 AM   #3
can3p
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I Found the answer in pppd man.
When I set "noipdefault" option in the peer file, everything started working.

But I just don't know, why did it work without this option earlier?

And I have another strange effect with pppd. When I try to shut it down with kill program, it hangs my system up and only "reset" button helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
peer-to-peer( lime wire ) is not letting prozilla to download at satisfactory speed b0nd Linux - General 3 10-21-2005 01:36 PM
gprs "LCP terminated by peer" megapter Linux - Networking 0 07-12-2005 12:32 PM
peer to peer iv installed sancho-0.9.4-44-linux-fox.tar.bz2 master Linux - Software 2 07-02-2005 04:50 AM
can't browse LAN with redhat 9,2 peer to peer pcs, they ping right, newbee vinayak_shukre Linux - Networking 1 02-17-2004 09:49 PM
sharing resources on a LAN w/MS-Win98 & Linux (Peer-to-Peer) mfsjas Linux - Networking 1 12-20-2001 04:58 PM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration