• November 01, 2024, 01:25:34 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Configure pptp server for dlink router  (Read 8167 times)

majo009

  • Level 1 Member
  • *
  • Posts: 2
Configure pptp server for dlink router
« on: March 09, 2014, 04:39:58 AM »

Hallo,
I have configured pptp server and I can connect windows client but when i connect dlink router client then connection is not established. Previously i have configured pptp server for this router and it worked but now i dont remember any more.
May be some networking guru can guide me in right direction.

/etc/ppp/options.ppp0
Code: [Select]
name pptpd
debug
noauth
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe
#require-mppe-128
proxyarp
nodefaultroute
lock
nobsdcomp
nodeflate
noipx
mtu 1490
mru 1490
logfile /var/log/pptpd

error log
Code: [Select]
2014-03-09T04:30:01.993166+01:00 linux-3hrp /usr/sbin/cron[6695]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-03-09T04:30:01.999435+01:00 linux-3hrp systemd[1]: Starting Session 8 of user root.
2014-03-09T04:30:02.000049+01:00 linux-3hrp systemd[1]: Started Session 8 of user root.
2014-03-09T04:30:02.045223+01:00 linux-3hrp /USR/SBIN/CRON[6695]: pam_unix(crond:session): session closed for user root
2014-03-09T04:30:15.112816+01:00 linux-3hrp pptpd[6714]: MGR: Launching /usr/sbin/pptpctrl to handle client
2014-03-09T04:30:15.115015+01:00 linux-3hrp pptpd[6714]: CTRL: local address = 192.168.0.1
2014-03-09T04:30:15.116901+01:00 linux-3hrp pptpd[6714]: CTRL: remote address = 192.168.1.100
2014-03-09T04:30:15.117923+01:00 linux-3hrp pptpd[6714]: CTRL: pppd speed = 115200
2014-03-09T04:30:15.118709+01:00 linux-3hrp pptpd[6714]: CTRL: pppd options file = /etc/ppp/options.ppp0
2014-03-09T04:30:15.119532+01:00 linux-3hrp pptpd[6714]: CTRL: Client 192.168.178.108 control connection started
2014-03-09T04:30:15.120118+01:00 linux-3hrp pptpd[6714]: CTRL: Received PPTP Control Message (type: 1)
2014-03-09T04:30:15.121908+01:00 linux-3hrp pptpd[6714]: CTRL: Made a START CTRL CONN RPLY packet
2014-03-09T04:30:15.122835+01:00 linux-3hrp pptpd[6714]: CTRL: I wrote 156 bytes to the client.
2014-03-09T04:30:15.123424+01:00 linux-3hrp pptpd[6714]: CTRL: Sent packet to client
2014-03-09T04:30:16.123143+01:00 linux-3hrp pptpd[6714]: CTRL: Received PPTP Control Message (type: 7)
2014-03-09T04:30:16.124170+01:00 linux-3hrp pptpd[6714]: CTRL: Set parameters to 10000000 maxbps, 3 window size
2014-03-09T04:30:16.127321+01:00 linux-3hrp pptpd[6714]: CTRL: Made a OUT CALL RPLY packet
2014-03-09T04:30:16.132943+01:00 linux-3hrp pptpd[6714]: CTRL: Starting call (launching pppd, opening GRE)
2014-03-09T04:30:16.134315+01:00 linux-3hrp pptpd[6714]: CTRL: pty_fd = 6
2014-03-09T04:30:16.137967+01:00 linux-3hrp pptpd[6714]: CTRL: tty_fd = 7
2014-03-09T04:30:16.140424+01:00 linux-3hrp pptpd[6714]: CTRL: I wrote 32 bytes to the client.
2014-03-09T04:30:16.143065+01:00 linux-3hrp pptpd[6714]: CTRL: Sent packet to client
2014-03-09T04:30:16.144940+01:00 linux-3hrp pptpd[6715]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
2014-03-09T04:30:16.150625+01:00 linux-3hrp pptpd[6715]: CTRL (PPPD Launcher): local address = 192.168.0.1
2014-03-09T04:30:16.154085+01:00 linux-3hrp pptpd[6715]: CTRL (PPPD Launcher): remote address = 192.168.1.100
2014-03-09T04:30:16.154625+01:00 linux-3hrp pppd[6715]: pppd 2.4.5 started by root, uid 0
2014-03-09T04:30:16.155130+01:00 linux-3hrp pppd[6715]: using channel 78
2014-03-09T04:30:16.156163+01:00 linux-3hrp pppd[6715]: Using interface ppp0
2014-03-09T04:30:16.157232+01:00 linux-3hrp pppd[6715]: Connect: ppp0 <--> /dev/pts/4
2014-03-09T04:30:16.159233+01:00 linux-3hrp pppd[6715]: sent [LCP ConfReq id=0x1 <mru 1490> <asyncmap 0x0> <auth chap MS-v2> <magic 0xd88aaf4d> <pcomp> <accomp>]
2014-03-09T04:30:18.144416+01:00 linux-3hrp pptpd[6714]: GRE: buffering packet #1 (expecting #0, lost or reordered)
2014-03-09T04:30:18.147043+01:00 linux-3hrp pptpd[6714]: GRE: buffering packet #2 (expecting #0, lost or reordered)
2014-03-09T04:30:18.157057+01:00 linux-3hrp pptpd[6714]: GRE: buffering packet #3 (expecting #0, lost or reordered)
2014-03-09T04:30:19.169803+01:00 linux-3hrp pptpd[6714]: GRE: timeout waiting for 1 packets
2014-03-09T04:30:19.170726+01:00 linux-3hrp pptpd[6714]: GRE: accepting #1 from queue
2014-03-09T04:30:19.171324+01:00 linux-3hrp pptpd[6714]: GRE: accepting #2 from queue
2014-03-09T04:30:19.174637+01:00 linux-3hrp pptpd[6714]: GRE: accepting #3 from queue
2014-03-09T04:30:19.176969+01:00 linux-3hrp pptpd[6714]: GRE: accepting packet #4
2014-03-09T04:30:18.153257+01:00 linux-3hrp pppd[6715]: sent [LCP ConfReq id=0x1 <mru 1490> <asyncmap 0x0> <auth chap MS-v2> <magic 0xd88aaf4d> <pcomp> <accomp>]
2014-03-09T04:30:19.177919+01:00 linux-3hrp pppd[6715]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfec82a2f> <pcomp> <accomp>]
2014-03-09T04:30:19.179933+01:00 linux-3hrp pppd[6715]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfec82a2f> <pcomp> <accomp>]
2014-03-09T04:30:19.182514+01:00 linux-3hrp pppd[6715]: rcvd [LCP ConfNak id=0x1 <auth chap MD5>]
2014-03-09T04:30:19.186449+01:00 linux-3hrp pppd[6715]: sent [LCP ConfReq id=0x2 <mru 1490> <asyncmap 0x0> <magic 0xd88aaf4d> <pcomp> <accomp>]
2014-03-09T04:30:19.188174+01:00 linux-3hrp pppd[6715]: rcvd [LCP ConfNak id=0x1 <auth chap MD5>]
2014-03-09T04:30:19.190235+01:00 linux-3hrp pppd[6715]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfec82a2f> <pcomp> <accomp>]
2014-03-09T04:30:19.191321+01:00 linux-3hrp pppd[6715]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfec82a2f> <pcomp> <accomp>]
2014-03-09T04:30:19.193569+01:00 linux-3hrp pptpd[6714]: GRE: accepting packet #5
2014-03-09T04:30:19.195016+01:00 linux-3hrp pptpd[6714]: GRE: accepting packet #6
2014-03-09T04:30:19.196222+01:00 linux-3hrp pppd[6715]: rcvd [LCP ConfAck id=0x2 <mru 1490> <asyncmap 0x0> <magic 0xd88aaf4d> <pcomp> <accomp>]
2014-03-09T04:30:19.197408+01:00 linux-3hrp pppd[6715]: sent [LCP EchoReq id=0x0 magic=0xd88aaf4d]
2014-03-09T04:30:19.198991+01:00 linux-3hrp pppd[6715]: peer refused to authenticate: terminating link
2014-03-09T04:30:19.200224+01:00 linux-3hrp pppd[6715]: sent [LCP TermReq id=0x3 "peer refused to authenticate"]
2014-03-09T04:30:19.202306+01:00 linux-3hrp pppd[6715]: rcvd [LCP EchoReq id=0x0 magic=0xfec82a2f]
2014-03-09T04:30:19.207907+01:00 linux-3hrp pptpd[6714]: GRE: accepting packet #7
2014-03-09T04:30:19.209935+01:00 linux-3hrp pppd[6715]: rcvd [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>]
2014-03-09T04:30:19.210770+01:00 linux-3hrp pppd[6715]: Discarded non-LCP packet when LCP not open
2014-03-09T04:30:19.211123+01:00 linux-3hrp pptpd[6714]: GRE: accepting packet #8
2014-03-09T04:30:19.211319+01:00 linux-3hrp pptpd[6714]: GRE: accepting packet #9
2014-03-09T04:30:19.213256+01:00 linux-3hrp pppd[6715]: rcvd [LCP EchoRep id=0x0 magic=0xfec82a2f]
2014-03-09T04:30:19.213463+01:00 linux-3hrp pppd[6715]: rcvd [LCP TermAck id=0x3]
2014-03-09T04:30:19.213704+01:00 linux-3hrp pppd[6715]: Connection terminated.
2014-03-09T04:30:19.214125+01:00 linux-3hrp pppd[6715]: Exit.
2014-03-09T04:30:19.214312+01:00 linux-3hrp pptpd[6714]: GRE: read(fd=6,buffer=611660,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
2014-03-09T04:30:19.214680+01:00 linux-3hrp pptpd[6714]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
2014-03-09T04:30:19.214874+01:00 linux-3hrp pptpd[6714]: CTRL: Reaping child PPP[6715]

Regards.

Majo

OS: openSUSE 13.1
Router: DVG-5121S
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Configure pptp server for dlink router
« Reply #1 on: March 11, 2014, 07:47:54 AM »

Link>Welcome!

  • What region are you located?

I recommend that you phone contact your regional D-Link support office and inquire for help and information regarding this configuration...

Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

majo009

  • Level 1 Member
  • *
  • Posts: 2
Re: Configure pptp server for dlink router
« Reply #2 on: March 11, 2014, 03:07:31 PM »

HI,
Thanks FuryNutz, I got Fixed. My Dlink router DVG-5121S only support Chap athentication and no mppe comperession.
Regards.

Majo
Munich,Germany
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Configure pptp server for dlink router
« Reply #3 on: March 11, 2014, 03:37:55 PM »

Awesome, glad you got it working and thank you for sharing the info.

Enjoy.  ;)
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.