Problems connecting to remote ISDN-site

Forum zu aktuellen Geräten der LANCOM Router/Gateway Serie

Moderator: Lancom-Systems Moderatoren

Antworten
Henry
Beiträge: 32
Registriert: 24 Feb 2005, 10:11

Problems connecting to remote ISDN-site

Beitrag von Henry »

I have some problem connecting to a remote ISDN-dialup site. Below is the ppp-trace:

Code: Alles auswählen

[PPP] 2008/08/12 12:09:33,700
Change phase to ESTABLISH
Lower-Layer-Up event for LCP
Initializing LCP restart timer to 3000 milliseconds
Waiting up to 200ms for connection
Starting LCP restart timer with 200 milliseconds


[PPP] 2008/08/12 12:09:33,900
Positive Restart-Timeout event for LCP
Stop waiting for connection
Initializing LCP restart timer to 3000 milliseconds
Generating LCP configure-request for peer HEERENVEEN
Inserting local MRU 1504
Inserting local authentication protocol CHAP with MD5 encryption
Inserting local magic number 2da039f8
Inserting local option protocol field compression
Inserting local option address- and controlfield compression
Inserting local callback via callback control protocol
Sending LCP configure-request with ID 00 and length 26 to peer HEERENVEEN (channel 9)
Starting LCP restart timer with 3000 milliseconds


[PPP] 2008/08/12 12:09:33,940

Received LCP frame from peer HEERENVEEN (channel 9)
Evaluate configure-request with ID 09 and size 28
Peer requests authentication protocol CHAP with MD5 encryption, accepted
Peer magic number 42126c6f accepted
Negative Configure-Request-Received event for LCP
Sending LCP configure-reject with ID 09 and length 17 to peer HEERENVEEN (channel 9)


[PPP] 2008/08/12 12:09:33,940

Received LCP frame from peer HEERENVEEN (channel 9)
Evaluate configure-ack with ID 00 and size 26
Configure-Ack-Received event for LCP
Initializing LCP restart timer to 3000 milliseconds


[PPP] 2008/08/12 12:09:33,980

Received LCP frame from peer HEERENVEEN (channel 9)
Evaluate configure-request with ID 0a and size 15
Peer requests authentication protocol CHAP with MD5 encryption, accepted
Peer magic number 42126c6f accepted
Positive Configure-Request-Received event for LCP
Sending LCP configure-ack with ID 0a and length 15 to peer HEERENVEEN (channel 9)
Stopping LCP restart timer
This-Layer-Up action for LCP
Change phase to AUTHENTICATE

Sending CHAP-Challenge to peer HEERENVEEN (channel 9)
Challenge = 2a 4a 65 6e 73 2a 00 00 03 d4 39 10 04 00 00 13


[PPP] 2008/08/12 12:09:34,030

Received CHAP frame from peer HEERENVEEN (channel 9)
Got CHAP-Challenge from peer HEERENVEEN
Challenge = 7f 88 6c a3 ff 8e a2 25 96 0e 87 f2 74 4d 0a 22
Found peer-id HEERENVEEN in PPP table
Sending CHAP-response to peer HEERENVEEN (channel 9), length = 16


[PPP] 2008/08/12 12:09:34,080

Received CHAP frame from peer HEERENVEEN (channel 9)
Got CHAP-Fail from peer HEERENVEEN
Embedded message: uthentication failure4åfj¾Pü¶
Administrativ-Close event for LCP
This-Layer-Down action for LCP
Lower-Layer-Down event for BACP
Lower-Layer-Down event for CCP
Lower-Layer-Down event for IPCP
Lower-Layer-Down event for IPXCP
Initializing LCP restart timer to 3000 milliseconds
Change phase to TERMINATE
Sending LCP terminate-request with ID 03 and length 4 to peer HEERENVEEN (channel 9)
Starting LCP restart timer with 3000 milliseconds


[PPP] 2008/08/12 12:09:34,080

Received LCP frame from peer HEERENVEEN (channel 9)
Terminate-Request-Received event for LCP
Sending LCP terminate-ack with ID 0b and length 4 to peer HEERENVEEN (channel 9)


[PPP] 2008/08/12 12:09:34,120

Received LCP frame from peer HEERENVEEN (channel 9)
Terminate-Ack-Received event for LCP
Stopping LCP restart timer
This-Layer-Finish action for LCP
Disconnecting because LCP was finished


[PPP] 2008/08/12 12:09:34,120
Change phase to DEAD
Stopping LCP restart timer
Stopping IPXCP restart timer
Stopping IPCP restart timer
Stopping CCP restart timer
Stopping BACP restart timer
The problems seem to be related to the fact that the remote site request CHAP with MD5 encryption. Is there a solution for this?
backslash
Moderator
Moderator
Beiträge: 7132
Registriert: 08 Nov 2004, 21:26
Wohnort: Aachen

Beitrag von backslash »

Hi Henry,

your problem is here

Code: Alles auswählen

Received CHAP frame from peer HEERENVEEN (channel 9) 
Got CHAP-Fail from peer HEERENVEEN 
Embedded message: uthentication failure4åfj¾Pü¶ 
that points to a wrong username and/or password

Because you do a crossauthentication (your lancom also requests authentication via CHAP from the remote site) you have to consider that the set the local username must be set to the remote station's "Device-name" entry in the PPP table and vice versa:

Code: Alles auswählen

local:

Device-name       Authent.  Key        (...) Username                    
--------------------------------------       -----------------------------
HEERENVEEN        CHAP      *                USERNAME



remote:

Device-name       Authent.  Key        (...) Username                    
--------------------------------------       -----------------------------
USERNAME          CHAP      *                HEERENVEEN
regards
Backslash
Henry
Beiträge: 32
Registriert: 24 Feb 2005, 10:11

Beitrag von Henry »

Thanks,

It's working again.
Antworten