[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: pptp ...



One of three things:

Auth type wrong
Username/password wrong
your company account not set up correctly.

Your drivers are working fine, and the connection is going through the
correct motions, it's handshaking part that is failing.

Regards,

Colin Ellis
Solution City Ltd


-----Original Message-----
From: Karoly Vegh [mailto:Karoly.Vegh@gmx.at]
Sent: 26 February 2003 10:30
To: debian-user@lists.debian.org
Subject: pptp ...



hi,

Im trying to get into my firm's LAN with pptp from a cable-provider at
homel.

what i did up to now:

1. I installed the pptp-linux client
2.: kernel compiled wiht mppe patch, the modules ar OK:

lanc@hb:~$ /sbin/lsmod
Module                  Size  Used by    Tainted: P
ppp_async               6272   0 (autoclean)
ppp_mppe               20056   0 (unused)
ppp_generic            16256   0 [ppp_async ppp_mppe]
slhc                    4384   0 [ppp_generic]
lanc@hb:~$

3. Compiled ppp, that i have mppe support in it:

lanc@hb:~$ strings /usr/sbin/pppd | grep -i mppe | wc -l
     46
lanc@hb:~$

4. config:

hb:~# cat /etc/ppp/options.pptp
lock noauth nobsdcomp nodeflate

hb:~# cat /etc/ppp/peers/tunnel
pty "pptp SERVER_IP --nolaunchpppd"
name domainname.at\\\\username
remotename PPTP
require-mschap-v2
file /etc/ppp/options.pptp
ipparam tunnel
hb:~#

and the chap-secrects:

hb:~# cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
domainname.at\\\\username PPTP password SERVER_IP
PPTP domainname.at\\\\username  password SERVER_IP
hb:~#

Now if i do a 'pon tunnel', this comes to the log

Feb 26 10:41:58 hb pppd[1271]: pppd 2.4.2b1 started by root, uid 0
Feb 26 10:41:58 hb pppd[1271]: using channel 15
Feb 26 10:41:58 hb pppd[1271]: Using interface ppp0
Feb 26 10:41:58 hb pppd[1271]: Connect: ppp0 <--> /dev/pts/2
Feb 26 10:41:59 hb pppd[1271]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x81580d82> <pcomp> <accomp>]
Feb 26 10:41:59 hb pppd[1271]: rcvd [LCP ConfReq id=0x0 <auth chap MS-v2>
<magic 0x23985ecc> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint
[local:fd.d1.c9.3b.fe.52.47.bd.9b.d4.36.a8.1f.a6.af.95.00.00.00.00]> < 17
04 00
fc>]
Feb 26 10:41:59 hb pppd[1271]: sent [LCP ConfRej id=0x0 <callback CBCP>
<mrru 1614> < 17 04 00 fc>]
Feb 26 10:41:59 hb pppd[1271]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0x81580d82> <pcomp> <accomp>]
Feb 26 10:41:59 hb pppd[1271]: rcvd [LCP ConfReq id=0x1 <auth chap MS-v2>
<magic 0x23985ecc> <pcomp> <accomp> <endpoint
[local:fd.d1.c9.3b.fe.52.47.bd.9b.d4.36.a8.1f.a6.af.95.00.00.00.00]>]
Feb 26 10:41:59 hb pppd[1271]: sent [LCP ConfAck id=0x1 <auth chap MS-v2>
<magic 0x23985ecc> <pcomp> <accomp> <endpoint
[local:fd.d1.c9.3b.fe.52.47.bd.9b.d4.36.a8.1f.a6.af.95.00.00.00.00]>]
Feb 26 10:41:59 hb pppd[1271]: sent [LCP EchoReq id=0x0 magic=0x81580d82]
Feb 26 10:41:59 hb pppd[1271]: rcvd [CHAP Challenge id=0x0
<3420b091cadcd201881c4be8fc8c0c51>, name = "PEPETEPE"]
Feb 26 10:41:59 hb pppd[1271]: sent [CHAP Response
id=0x0
<a553211e4616fe9ab63e99f006e5571100000000000000009082a2af7d4a07b387954532bdc
685d6eac33dff2e6f5def00>,
name = "domainname\\\\username"]
Feb 26 10:41:59 hb pppd[1271]: rcvd [LCP EchoRep id=0x0 magic=0x23985ecc]
Feb 26 10:41:59 hb pppd[1271]: rcvd [CHAP Failure id=0x0 "E=691 R=1
C=3BEDB47127E2081CF23A3BBDAA861AF9 V=3"]
Feb 26 10:41:59 hb pppd[1271]: Remote message: Unknown authentication
failure: E=691 R=1 C=3BEDB47127E2081CF23A3BBDAA861AF9 V=3
Feb 26 10:41:59 hb pppd[1271]: CHAP authentication failed
Feb 26 10:41:59 hb pppd[1271]: sent [LCP TermReq id=0x2 "Failed to
authenticate ourselves to peer"]
Feb 26 10:41:59 hb pppd[1271]: rcvd [LCP TermAck id=0x2 "Failed to
authenticate ourselves to peer"]
Feb 26 10:41:59 hb pppd[1271]: Connection terminated.
Feb 26 10:41:59 hb pppd[1271]: Waiting for 1 child processes...
Feb 26 10:41:59 hb pppd[1271]:   script pptp SERVER_IP --nolaunchpppd,
pid
1272
Feb 26 10:42:02 hb pppd[1271]: Script pptp SERVER_IP --nolaunchpppd
finished (pid 1272), status = 0x0
Feb 26 10:42:02 hb pppd[1271]: Exit.

what can be wrong?

tia

charlie

ps. ofcourse i changed the real IP to SERRVER_IP, useraccount to 'username'
and so on through the whola mail.

--
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: