You are not logged in.

#1 2007-05-11 09:57:23

dids22
Member
Registered: 2007-01-02
Posts: 251

prob with pptp dialer

hi
i follow the wiki orders to configure pptp dialer
but sad

its not working

/var/log/daemon.log

May  8 10:43:47 myhost pppd[5031]: pppd 2.4.4 started by root, uid 0
May  8 10:43:47 myhost pptp[5032]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated
May  8 10:43:47 myhost pptp[5036]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
May  8 10:43:47 myhost pppd[5031]: Using interface ppp0
May  8 10:43:47 myhost pppd[5031]: Connect: ppp0 <--> /dev/pts/1
May  8 10:43:47 myhost pptp[5036]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
May  8 10:43:47 myhost pptp[5036]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
May  8 10:43:48 myhost pptp[5036]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
May  8 10:43:48 myhost pptp[5036]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
May  8 10:43:48 myhost pptp[5036]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 30622).
May  8 10:43:49 myhost pptp[5036]: anon log[ctrlp_disp:pptp_ctrl.c:928]: Call disconnect notification received (call id 30622)
May  8 10:43:49 myhost pptp[5036]: anon log[ctrlp_disp:pptp_ctrl.c:787]: Received Stop Control Connection Request.
May  8 10:43:49 myhost pptp[5036]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
May  8 10:43:49 myhost pptp[5036]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
May  8 10:43:49 myhost pptp[5036]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
May  8 10:43:49 myhost pptp[5036]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
May  8 10:43:49 myhost pppd[5031]: Modem hangup
May  8 10:43:49 myhost pppd[5031]: Connection terminated.
May  8 10:43:49 myhost pppd[5031]: Exit.

chap-secrets

# Secrets for authentication using CHAP
# client    server    secret            IP addresses
av88  pns.barak.net.il yk1234 *

~/peers/myCon

remotename TheServer
ipparam myCon
pty "pptp pns.barak.net.il --nolaunchpppd"
name av88
usepeerdns
require-mppe-128
refuse-eap
noauth
file /etc/ppp/options.pptp

what i do wrong?

Offline

#2 2007-05-15 18:49:00

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: prob with pptp dialer

guys?

Offline

#3 2007-05-15 19:11:07

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: prob with pptp dialer

Hi dids22,
usually I follow this guide:
http://pptpclient.sourceforge.net/howto … re_by_hand

Offline

#4 2007-05-16 09:40:57

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: prob with pptp dialer

i tallk my isp now and they said that it's need to use pap and not chap
how can i do it?

ty

Offline

#5 2007-05-16 11:20:35

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: prob with pptp dialer

Try to specify username/password in pap-secrets instead of chap-secrets

Offline

#6 2007-05-16 11:34:16

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: prob with pptp dialer

the problem was with the dialer
with this line

remotename TheServer

(it's should be uncomment)
however the problems didn't over

- the dialer take more then 50% cpue usage (not talking about the the lan useage) see pic`
- about 2 minutes after i connected - the connection lost

i dont know what i did, but the log daemon.log not update anymore therefor i cant give u the log, maybe u know what i did?:P

here the pic (i didnt diconnect the dialer)
http://img524.imageshack.us/my.php?imag … torvd5.png

Last edited by dids22 (2007-05-16 17:22:42)

Offline

#7 2007-05-16 17:40:14

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: prob with pptp dialer

Hi dids22,
to further diagnose a failure start the connection with this command:

pon myCom debug dump logfd 2 nodetach

and post the output

Offline

#8 2007-05-16 17:48:44

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: prob with pptp dialer

pppd options in effect:
debug           # (from command line)
nodetach                # (from command line)
logfd 2         # (from command line)
dump            # (from command line)
noauth          # (from /etc/ppp/peers/013)
name av88               # (from /etc/ppp/peers/013)
                # (from /etc/ppp/options)
pty pptp pns.barak.net.il --nolaunchpppd                # (from /etc/ppp/peers/013)
crtscts         # (from /etc/ppp/options)
                # (from /etc/ppp/options)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
ipparam 013             # (from /etc/ppp/peers/013)
proxyarp                # (from /etc/ppp/options)
noipx           # (from /etc/ppp/options)
using channel 27
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3d65c7ad> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth pap> <magic 0xea83a52f>]
sent [LCP ConfAck id=0x1 <auth pap> <magic 0xea83a52f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3d65c7ad> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3d65c7ad> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x3d65c7ad]
sent [PAP AuthReq id=0x1 user="av88" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0xea83a52f]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 172.26.255.17>]
sent [IPCP ConfAck id=0x1 <addr 172.26.255.17>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 82.166.109.163>]
sent [IPCP ConfReq id=0x3 <addr 82.166.109.163>]
rcvd [IPCP ConfAck id=0x3 <addr 82.166.109.163>]
Cannot determine ethernet address for proxy ARP
local  IP address 82.166.109.163
remote IP address 172.26.255.17
Script /etc/ppp/ip-up started (pid 8069)
Script /etc/ppp/ip-up finished (pid 8069), status = 0x0
Modem hangup
Connect time 1.8 minutes.
Sent 2130304240 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 8075)
Connection terminated.
Script pptp pns.barak.net.il --nolaunchpppd finished (pid 8065), status = 0x0
Script /etc/ppp/ip-down finished (pid 8075), status = 0x0

Offline

#9 2007-05-16 19:10:28

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: prob with pptp dialer

Do you have some firewall enabled?

Offline

#10 2007-05-16 19:35:47

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: prob with pptp dialer

nop

Offline

Board footer

Powered by FluxBB