Solved

LCP Terminated by peer when connecting to Windows 7

Posted on 2011-03-02
6
2,190 Views
Last Modified: 2012-05-11
I have a linux machine connecting via PPP to a windows 7 but it's constantly terminating the PPP connection during the LCP negotiation

CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [CCP ConfReq id=0x3 <mppe -H -M +S -L -D +C>]
sent [CCP ConfReq id=0x1]
sent [CCP ConfRej id=0x3 <mppe -H -M +S -L -D +C>]
rcvd [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 169.254.233.53>]
sent [IPCP ConfAck id=0x4 <compress VJ 0f 01> <addr 169.254.233.53>]
rcvd [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfNak id=0x1 <mppe -H -M -S -L -D -C>]
sent [CCP ConfReq id=0x2]
rcvd [LCP TermReq id=0x5 "a3\013;\000<\315t\000\000\002\346"]
LCP terminated by peer (a3^K;^@<M-Mt^@^@^BM-f)

I do not have any problems when connecting to an XP machine.
0
Comment
Question by:sjose16
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 100 total points
ID: 35029190
If I'm reading that trace correctly the two systems can't agree on the Link Control Protocol. The Windows 7 box may be using a later implementation, or it could be just broken, I can't easily say which.
0
 

Assisted Solution

by:sjose16
sjose16 earned 0 total points
ID: 35029231
This is the log on the windows 7

1868] 03-03 08:32:59:193:  
[1868] 03-03 08:32:59:193: Strong encryption
[1868] 03-03 08:32:59:193: MPPE-Send/Recv-Keys set
[1868] 03-03 08:32:59:193: Auth Attribute Domain = DFT-PANA-TEST1
[1868] 03-03 08:32:59:193: Auth Attribute Idle Timeout Seconds = 0
[1868] 03-03 08:32:59:193: AuthAttribute MaxChannelsAllowed = -1
[1868] 03-03 08:32:59:193: FsmThisLayerUp called for protocol = c223, port = 9
[1868] 03-03 08:32:59:193: NotifyCaller(hPort=9, dwMsgId=20)
[1868] 03-03 08:32:59:193: Server: Authentication successful for Guid {NA}
[1868] 03-03 08:32:59:193: NotifyCaller(hPort=9, dwMsgId=23)
[1868] 03-03 08:32:59:193: GetClientInterfaceInfo: Using Normal-filter
[1868] 03-03 08:32:59:193: GetClientInterfaceInfo: Using Normal-Ipv6filter
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=9): MS_VSA_Not_Quarantine_Capable received with value [0x1]
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=9): Received Normal v4 filters
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=41152300): RQS-RQC case
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=9): RQS-RQC: Using V4 Normal Filter as DdmNewBundle.pFilter
[3268] 03-03 08:32:59:193: PROTOCOL_MSG_DdmInterfaceInfo recvd,IPif=9,IPv6=a,Type=0

[1868] 03-03 08:32:59:193: FsmInit called for protocol = 80fd, port = 9
[1868] 03-03 08:32:59:193: FsmInit for protocol = 80fd Configuration 0x80360a
[1868] 03-03 08:32:59:193: FsmReset called for protocol = 80fd, port = 9
[1868] 03-03 08:32:59:209: FsmInit called for protocol = 8021, port = 9
[1868] 03-03 08:32:59:209: FsmInit for protocol = 8021 Configuration 0x80360a
[1868] 03-03 08:32:59:303: FsmReset called for protocol = 8021, port = 9
[1868] 03-03 08:32:59:303: FsmOpen event received for protocol 80fd on port 9
[1868] 03-03 08:32:59:303: FsmThisLayerStarted called for protocol = 80fd, port = 9
[1868] 03-03 08:32:59:303: FsmUp event received for protocol 80fd on port 9
[1868] 03-03 08:32:59:303: <PPP packet sent at 03/03/2011 16:32:59:303
[1868] 03-03 08:32:59:303: <Protocol = CCP, Type = Configure-Req, Length = 0xc, Id = 0x3, Port = 9
[1868] 08:32:59:303: <80 FD 01 03 00 0A 12 06 00 00 00 41 00 00 00 00 |...........A....|
[1868] 03-03 08:32:59:303:  
[1868] 03-03 08:32:59:303: InsertInTimerQ called portid=46,Id=3,Protocol=80fd,EventType=0,fAuth=0,Timeout=3
[1868] 03-03 08:32:59:303: FsmOpen event received for protocol 8021 on port 9
[1868] 03-03 08:32:59:303: FsmThisLayerStarted called for protocol = 8021, port = 9
[1868] 03-03 08:32:59:303: FsmUp event received for protocol 8021 on port 9
[1868] 03-03 08:32:59:303: <PPP packet sent at 03/03/2011 16:32:59:303
[1868] 03-03 08:32:59:303: <Protocol = IPCP, Type = Configure-Req, Length = 0x12, Id = 0x4, Port = 9
[1868] 08:32:59:303: <80 21 01 04 00 10 02 06 00 2D 0F 01 03 06 0A 0A |.!.......-......|
[1868] 08:32:59:303: <0A 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:32:59:303:  
[1868] 03-03 08:32:59:303: InsertInTimerQ called portid=46,Id=4,Protocol=8021,EventType=0,fAuth=0,Timeout=3
[1644] 03-03 08:33:00:707: Packet received (24 bytes) for hPort 9
[1868] 03-03 08:33:00:707: >PPP packet received at 03/03/2011 16:33:00:707
[1868] 03-03 08:33:00:707: >Protocol = IPCP, Type = Configure-Req, Length = 0x18, Id = 0x1, Port = 9
[1868] 08:33:00:707: >80 21 01 01 00 16 03 06 00 00 00 00 81 06 00 00 |.!..............|
[1868] 08:33:00:707: >00 00 83 06 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:707:  
[1868] 03-03 08:33:00:707: <PPP packet sent at 03/03/2011 16:33:00:707
[1868] 03-03 08:33:00:707: <Protocol = IPCP, Type = Configure-Reject, Length = 0x12, Id = 0x1, Port = 9
[1868] 08:33:00:707: <80 21 04 01 00 10 81 06 00 00 00 00 83 06 00 00 |.!..............|
[1868] 08:33:00:707: <00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:707:  
[1644] 03-03 08:33:00:753: Packet received (6 bytes) for hPort 9
[1868] 03-03 08:33:00:753: >PPP packet received at 03/03/2011 16:33:00:753
[1868] 03-03 08:33:00:753: >Protocol = CCP, Type = Configure-Req, Length = 0x6, Id = 0x1, Port = 9
[1868] 08:33:00:753: >80 FD 01 01 00 04 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:753:  
[1868] 03-03 08:33:00:753: <PPP packet sent at 03/03/2011 16:33:00:753
[1868] 03-03 08:33:00:753: <Protocol = CCP, Type = Configure-Nak, Length = 0xc, Id = 0x1, Port = 9
[1868] 08:33:00:753: <80 FD 03 01 00 0A 12 06 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:753:  
[1644] 03-03 08:33:00:769: Packet received (12 bytes) for hPort 9
[1868] 03-03 08:33:00:769: >PPP packet received at 03/03/2011 16:33:00:769
[1868] 03-03 08:33:00:769: >Protocol = CCP, Type = Configure-Reject, Length = 0xc, Id = 0x3, Port = 9
[1868] 08:33:00:769: >80 FD 04 03 00 0A 12 06 00 00 00 41 00 00 00 00 |...........A....|
[1868] 03-03 08:33:00:769:  
[1868] 03-03 08:33:00:769: The control protocol for 80fd on port 9 returned error 732
[1868] 03-03 08:33:00:769: Encryption is required
[1868] 03-03 08:33:00:769: FsmClose event received for protocol c021 on port 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=1,Protocol=c021,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: FsmThisLayerDown called for protocol = c021, port = 9
[1868] 03-03 08:33:00:769: FsmDown event received for protocol 80fd on port 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=3,Protocol=80fd,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: FsmReset called for protocol = 80fd, port = 9
[1868] 03-03 08:33:00:769: FsmDown event received for protocol 8021 on port 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=4,Protocol=8021,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: FsmReset called for protocol = 8021, port = 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=0,Protocol=c029,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: <PPP packet sent at 03/03/2011 16:33:00:769
[1868] 03-03 08:33:00:769: <Protocol = LCP, Type = Terminate-Req, Length = 0x12, Id = 0x5, Port = 9
[1868] 08:33:00:769: <C0 21 05 05 00 10 14 B2 5F 2A 00 3C CD 74 00 00 |.!......_*.<.t..|
[1868] 08:33:00:769: <02 E6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:769:  
[1868] 03-03 08:33:00:769: InsertInTimerQ called portid=46,Id=5,Protocol=c021,EventType=0,fAuth=0,Timeout=3
[1644] 03-03 08:33:00:800: Packet received (12 bytes) for hPort 9
[1868] 03-03 08:33:00:800: >PPP packet received at 03/03/2011 16:33:00:800
[1868] 03-03 08:33:00:800: >Protocol = IPCP, Type = Configure-Reject, Length = 0xc, Id = 0x4, Port = 9
[1868] 08:33:00:800: >80 21 04 04 00 0A 02 06 00 2D 0F 01 00 00 00 00 |.!.......-......|
[1868] 03-03 08:33:00:800:  
[1868] 03-03 08:33:00:800: Non-LCP packet received when LCP is not opened
[1868] 03-03 08:33:00:800: Packet being silently discarded
[1644] 03-03 08:33:02:142: Packet received (12 bytes) for hPort 9
[1868] 03-03 08:33:02:142: >PPP packet received at 03/03/2011 16:33:02:142
[1868] 03-03 08:33:02:142: >Protocol = IPCP, Type = Configure-Req, Length = 0xc, Id = 0x2, Port = 9
[1868] 08:33:02:142: >80 21 01 02 00 0A 03 06 00 00 00 00 00 00 00 00 |.!..............|
[1868] 03-03 08:33:02:142:  
[1868] 03-03 08:33:02:142: Non-LCP packet received when LCP is not opened
[1868] 03-03 08:33:02:142: Packet being silently discarded
[1644] 03-03 08:33:02:142: Packet received (6 bytes) for hPort 9
[1868] 03-03 08:33:02:142: >PPP packet received at 03/03/2011 16:33:02:142
[1868] 03-03 08:33:02:142: >Protocol = CCP, Type = Configure-Req, Length = 0x6, Id = 0x2, Port = 9
[1868] 08:33:02:142: >80 FD 01 02 00 04 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:02:142:  
[1868] 03-03 08:33:02:142: Non-LCP packet received when LCP is not opened
[1868] 03-03 08:33:02:142: Packet being silently discarded
[1644] 03-03 08:33:02:204: Packet received (6 bytes) for hPort 9
[1868] 03-03 08:33:02:204: >PPP packet received at 03/03/2011 16:33:02:204
[1868] 03-03 08:33:02:204: >Protocol = LCP, Type = Terminate-Ack, Length = 0x6, Id = 0x5, Port = 9
[1868] 08:33:02:204: >C0 21 06 05 00 04 00 00 00 00 00 00 00 00 00 00 |.!..............|
[1868] 03-03 08:33:02:204:  
[1868] 03-03 08:33:02:204: RemoveFromTimerQ called portid=46,Id=5,Protocol=c021,EventType=0,fAuth=0
[1868] 03-03 08:33:02:204: FsmThisLayerFinished called for protocol = c021, port = 9
[1868] 03-03 08:33:02:204: FsmThisLayerFinished called for protocol = 80fd, port = 9: 0
[1868] 03-03 08:33:02:204: FsmThisLayerFinished called for protocol = 8021, port = 9: 0
[1868] 03-03 08:33:02:204: NotifyCaller(hPort=9, dwMsgId=21)
[1644] 03-03 08:33:05:823: PROTOCOL_MSG_LineDown recvd, hPort=9

[1868] 03-03 08:33:05:823: Line down event occurred on port 9
[1868] 03-03 08:33:05:823: FsmDown event received for protocol c021 on port 9
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=5,Protocol=c021,EventType=0,fAuth=0
[1868] 03-03 08:33:05:823: FsmReset called for protocol = c021, port = 9
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=3,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=7,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=2,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=1,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=4,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=6,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=c029,EventType=0,fAuth=0
[1868] 03-03 08:33:05:823: LcpEnd
[4036] 03-03 08:33:05:823: Stopping Accounting for port 9
[1868] 03-03 08:33:07:836: Post line down event occurred on port 9
[1868] 03-03 08:33:07:836: NotifyCaller(hPort=9, dwMsgId=25)
0
 

Accepted Solution

by:
sjose16 earned 0 total points
ID: 35029434
The issue was the Incoming Connections Properties has "Require all users to secure their passwords and data" enabled.  Un-checking this checkbox made everything work
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 40

Expert Comment

by:jlevie
ID: 35029444
What Linux (and ppp) are you using and which side is initiating the connection?
0
 

Author Comment

by:sjose16
ID: 35030227
Linux 2.6.32 armv7l, ppd version 2.4.5

I would like to support the case when the server enables encryption. Linux side is the client and Windows is server
0
 

Author Closing Comment

by:sjose16
ID: 35067797
Require all users to secure their passwords and data requires to be encrypted which is enabled on default on Windows 7.  Client connecting from Linux machine was not supporting this.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question