Fedora Linux Support Community & Resources Center
  #1  
Old 6th December 2008, 04:56 PM
distress Offline
Registered User
 
Join Date: Dec 2008
Posts: 5
pptp vpn to win2003

Hi
after network manager failed to connect i just ignore it and want to make connection manually

1) ppp_mppe kernel module is not loaded by default... loading:
Code:
[root@dis peers]# modprobe ppp_mppe

[root@dis peers]# lsmod | grep mppe
ppp_mppe               10116  0 
ppp_generic            23324  3 ppp_mppe,ppp_synctty,ppp_async
mppe loaded...

2) adding login and pass to /etc/ppp/chap-secret
Code:
[root@dis ppp]# cat ./chap-secrets 
dis * mypass123 *
3) creating and configuring peer file
Code:
[root@dis peers]# cat ./isp 
pty "pptp 192.168.0.2 --nolaunchpppd"
name dis
file /etc/ppp/options.pptp
require-mppe-128
4) starting...
Code:
[root@dis peers]# pppd call isp
and the reply of failed connection(in /var/log/messages) is:
Code:
Dec  6 18:24:02 dis pppd[23233]: pppd 2.4.4 started by root, uid 0
Dec  6 18:24:02 dis pppd[23233]: Using interface ppp0
Dec  6 18:24:02 dis pppd[23233]: Connect: ppp0 <--> /dev/pts/14
Dec  6 18:24:02 dis pptp[23234]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Dec  6 18:24:02 dis pptp[23243]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Dec  6 18:24:02 dis pptp[23243]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Dec  6 18:24:02 dis pptp[23243]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Dec  6 18:24:03 dis pptp[23243]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Dec  6 18:24:03 dis pptp[23243]: anon log[pptp_read_some:pptp_ctrl.c:551]: read error: Connection reset by peer
Dec  6 18:24:03 dis pptp[23243]: anon log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
Dec  6 18:24:03 dis pptp[23243]: anon log[pptp_send_ctrl_packet:pptp_ctrl.c:622]: write error: Broken pipe
Dec  6 18:24:03 dis pptp[23243]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Dec  6 18:24:03 dis kernel: pptpcm[23243]: segfault at c0ddf448 ip 0804c62d sp bfab8cb0 error 7 in pptp[8047000+e000]
Dec  6 18:24:03 dis pppd[23233]: Child process pptp 192.168.0.2 --nolaunchpppd (pid 23234) terminated with signal 15
Dec  6 18:24:03 dis pppd[23233]: Modem hangup
Dec  6 18:24:03 dis pppd[23233]: Connection terminated.
Dec  6 18:24:03 dis pppd[23233]: Exit.
P.S.: using Fedora 10
Reply With Quote
  #2  
Old 11th December 2008, 08:47 PM
gloom Offline
Registered User
 
Join Date: Dec 2005
Posts: 3
Hi all

Having the same king of issue.

What I try to do is following from home to hosted server

| Home computer |-------| route/fw |----{ internet }-----| Server w/ iptable |---------| 2003 in vmware |

So always did a VPN connection from XP/Vista to Windows 2003 without any trouble using previous schema.

Now trying to setup same kind of vpn connection using NetworkManager and PPTP plugin under fedora 10
No succes for connecting.

On windows side I'm getting :
Quote:
A connection between the VPN server and the VPN client xxx.xxx.xxx.xxx has been established, but the VPN connection cannot be completed. The most common cause for this is that a firewall or router between the VPN server and the VPN client is not configured to allow Generic Routing Encapsulation (GRE) packets (protocol 47). Verify that the firewalls and routers between your VPN server and the Internet allow GRE packets. Make sure the firewalls and routers on the user's network are also configured to allow GRE packets. If the problem persists, have the user contact the Internet service provider (ISP) to determine whether the ISP might be blocking GRE packets.
Iptables on my home computer is stopped so no difference regarding firewall and internet acces between xp boot or fedora boot.

On linux side, messages file contains :
Quote:
Dec 11 21:21:30 tinyhellfire NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Dec 11 21:21:30 tinyhellfire NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 8043
Dec 11 21:21:30 tinyhellfire NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Dec 11 21:21:30 tinyhellfire NetworkManager: <info> VPN plugin state changed: 1
Dec 11 21:21:30 tinyhellfire NetworkManager: <info> VPN plugin state changed: 3
Dec 11 21:21:30 tinyhellfire NetworkManager: <info> VPN connection 'OVH' (Connect) reply received.
Dec 11 21:21:30 tinyhellfire pppd[8046]: Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Dec 11 21:21:30 tinyhellfire pppd[8046]: pppd 2.4.4 started by root, uid 0
Dec 11 21:21:30 tinyhellfire pppd[8046]: Using interface ppp0
Dec 11 21:21:30 tinyhellfire pppd[8046]: Connect: ppp0 <--> /dev/pts/1
Dec 11 21:21:30 tinyhellfire pptp[8047]: nm-pptp-service-8043 log[mainptp.c:314]: The synchronous pptp option is NOT activated
Dec 11 21:21:30 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Dec 11 21:21:30 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_dispptp_ctrl.c:739]: Received Start Control Connection Reply
Dec 11 21:21:30 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_dispptp_ctrl.c:773]: Client connection established.
Dec 11 21:21:31 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Dec 11 21:21:31 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_dispptp_ctrl.c:858]: Received Outgoing Call Reply.
Dec 11 21:21:31 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_dispptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 62204).
Dec 11 21:22:01 tinyhellfire pppd[8046]: LCP: timeout sending Config-Requests
Dec 11 21:22:01 tinyhellfire pppd[8046]: Connection terminated.
Dec 11 21:22:01 tinyhellfire NetworkManager: <info> VPN plugin failed: 1
Dec 11 21:22:01 tinyhellfire pptp[8047]: nm-pptp-service-8043 warn[decaps_hdlcptp_gre.c:204]: short read (-1): Input/output error
Dec 11 21:22:01 tinyhellfire pptp[8047]: nm-pptp-service-8043 warn[decaps_hdlcptp_gre.c:216]: pppd may have shutdown, see pppd log
Dec 11 21:22:01 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[callmgr_mainptp_callmgr.c:234]: Closing connection (unhandled)
Dec 11 21:22:01 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Dec 11 21:22:01 tinyhellfire pptp[8056]: nm-pptp-service-8043 log[call_callbackptp_callmgr.c:79]: Closing connection (call state)
Dec 11 21:22:01 tinyhellfire NetworkManager: <info> VPN plugin failed: 1
Dec 11 21:22:01 tinyhellfire pppd[8046]: Modem hangup
Dec 11 21:22:01 tinyhellfire pppd[8046]: Exit.
Dec 11 21:22:01 tinyhellfire NetworkManager: <info> VPN plugin failed: 1
Dec 11 21:22:01 tinyhellfire NetworkManager: <info> VPN plugin state changed: 6
Dec 11 21:22:01 tinyhellfire NetworkManager: <info> VPN plugin state change reason: 0
Dec 11 21:22:01 tinyhellfire NetworkManager: <WARN> connection_state_changed(): Could not process the request because no VPN connection was active.
Dec 11 21:22:01 tinyhellfire NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
I don't understand why I'm getting : "Dec 11 21:22:01 tinyhellfire pppd[8046]: LCP: timeout sending Config-Requests"

Any idea please?
Reply With Quote
Reply

Tags
pptp, vpn, win2003

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
win2003 server won't boot with F11 cd 1 NewToNix Installation and Live Media 0 29th June 2009 11:40 PM
Xen and Win2003 server Maluura Using Fedora 0 6th September 2007 07:55 PM
FC5 NTLM against ADS (Win2003) mwengenroth Servers & Networking 0 12th April 2006 03:42 PM
winbind & win2003 tom@persofrance Servers & Networking 0 28th November 2005 01:09 PM
SSO (single sign on) to Win2003 AD via FC3 phil1861 Servers & Networking 4 6th June 2005 04:26 PM


Current GMT-time: 06:18 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat