LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-11-2009, 08:54 PM   #1
redhatwannabe
Member
 
Registered: Dec 2008
Posts: 41

Rep: Reputation: 15
Why is my pptp vpn not working?


I'm using ubantu version 8

I am trying to set up a client pptp vpn connection to a remote private network.

Why is my client pptp vpn connection not working?

here's what I log

tail -f /var/log/message

tail: cannot open `/var/log/message' for reading: No such file or directory
tail: no files remaining
chunhung@chunhung-desktop:~$ tail -f /var/log/messages
Jan 12 10:32:38 chunhung-desktop pppd[6197]: CHAP authentication succeeded
Jan 12 10:32:40 chunhung-desktop pppd[6197]: local IP address 192.168.1.190
Jan 12 10:32:40 chunhung-desktop pppd[6197]: remote IP address 63.216.144.163
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Terminating on signal 15
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Connect time 0.8 minutes.
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Sent 1800 bytes, received 540 bytes.
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Child process /usr/sbin/pptp 63.216.144.163 --nolaunchpppd --logstring nm-pptp-service-6194 (pid 6198) terminated with signal 15
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Modem hangup
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Connection terminated.
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Exit.
Jan 12 10:36:27 chunhung-desktop pppd[6269]: Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Jan 12 10:36:27 chunhung-desktop pppd[6269]: pppd 2.4.4 started by root, uid 0
Jan 12 10:36:27 chunhung-desktop pppd[6269]: Using interface ppp0
Jan 12 10:36:27 chunhung-desktop pppd[6269]: Connect: ppp0 <--> /dev/pts/2
Jan 12 10:36:42 chunhung-desktop pppd[6269]: CHAP authentication succeeded
Jan 12 10:36:46 chunhung-desktop pppd[6269]: local IP address 192.168.1.190
Jan 12 10:36:46 chunhung-desktop pppd[6269]: remote IP address 63.216.144.163
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Terminating on signal 15
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Child process /usr/sbin/pptp 63.216.144.163 --nolaunchpppd --logstring nm-pptp-service-6266 (pid 6270) terminated with signal 15
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Connect time 3.3 minutes.
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Sent 6720 bytes, received 2786 bytes.
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Modem hangup
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Connection terminated.
Jan 12 10:40:00 chunhung-desktop pppd[6269]: Exit.


here is what I get from /var/log/syslog

tail -f /var/log/syslog
Jan 12 10:33:26 chunhung-desktop avahi-daemon[4529]: New relevant interface eth0.IPv4 for mDNS.
Jan 12 10:33:26 chunhung-desktop avahi-daemon[4529]: Registering new address record for 192.168.123.102 on eth0.IPv4.
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Child process /usr/sbin/pptp 63.216.144.163 --nolaunchpppd --logstring nm-pptp-service-6194 (pid 6198) terminated with signal 15
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Modem hangup
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Connection terminated.
Jan 12 10:33:26 chunhung-desktop pppd[6197]: Exit.
Jan 12 10:33:27 chunhung-desktop NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Jan 12 10:33:27 chunhung-desktop NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Jan 12 10:33:27 chunhung-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' disappeared, cancelling connections
Jan 12 10:33:27 chunhung-desktop nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
Jan 12 10:36:27 chunhung-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jan 12 10:36:27 chunhung-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 6266
Jan 12 10:36:27 chunhung-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Jan 12 10:36:27 chunhung-desktop NetworkManager: <info> VPN plugin state changed: 3
Jan 12 10:36:27 chunhung-desktop pppd[6269]: Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Jan 12 10:36:27 chunhung-desktop NetworkManager: <info> VPN connection 'smshub' (Connect) reply received.
Jan 12 10:36:27 chunhung-desktop pppd[6269]: pppd 2.4.4 started by root, uid 0
Jan 12 10:36:27 chunhung-desktop pppd[6269]: Using interface ppp0
Jan 12 10:36:27 chunhung-desktop pppd[6269]: Connect: ppp0 <--> /dev/pts/2
Jan 12 10:36:27 chunhung-desktop pptp[6272]: nm-pptp-service-6266 log[mainptp.c:314]: The synchronous pptp option is NOT activated
Jan 12 10:36:29 chunhung-desktop pptp[6278]: nm-pptp-service-6266 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan 12 10:36:30 chunhung-desktop pptp[6278]: nm-pptp-service-6266 log[ctrlp_dispptp_ctrl.c:739]: Received Start Control Connection Reply
Jan 12 10:36:30 chunhung-desktop pptp[6278]: nm-pptp-service-6266 log[ctrlp_dispptp_ctrl.c:773]: Client connection established.
Jan 12 10:36:30 chunhung-desktop pptp[6278]: nm-pptp-service-6266 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 12 10:36:31 chunhung-desktop pptp[6278]: nm-pptp-service-6266 log[ctrlp_dispptp_ctrl.c:858]: Received Outgoing Call Reply.
Jan 12 10:36:31 chunhung-desktop pptp[6278]: nm-pptp-service-6266 log[ctrlp_dispptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 715).
Jan 12 10:36:42 chunhung-desktop pppd[6269]: CHAP authentication succeeded
Jan 12 10:36:46 chunhung-desktop pppd[6269]: Cannot determine ethernet address for proxy ARP
Jan 12 10:36:46 chunhung-desktop pppd[6269]: local IP address 192.168.1.190
Jan 12 10:36:46 chunhung-desktop pppd[6269]: remote IP address 63.216.144.163
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> VPN connection 'smshub' (IP Config Get) reply received.
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> VPN Gateway: 63.216.144.163
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> Tunnel Device: ppp0
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> Internal IP4 Address: 192.168.1.190
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> Internal IP4 Prefix: 32
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> Internal IP4 Point-to-Point Address: 0.0.0.0
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> Maximum Segment Size (MSS): 0
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> DNS Domain: '(none)'
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> Login Banner:
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> -----------------------------------------
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> (null)
Jan 12 10:36:46 chunhung-desktop NetworkManager: <info> -----------------------------------------
Jan 12 10:36:47 chunhung-desktop NetworkManager: <info> VPN connection 'smshub' (IP Config Get) complete.

I only see that there's lock icon on top of the wired connection on the right hand corner.

also whenever I enable vpn I have to disable vpn in order to connect to internet. Why this is so? and how to have both internet connection and connection to my private network siumltaneiously?

many thanks in advance.
 
  


Reply

Tags
client, pptp, vpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN using PPTP WolfCub Linux - Networking 0 09-28-2008 05:52 PM
vpn pptp kristhor Linux - Networking 3 09-08-2008 01:40 PM
pptp vpn connetion from behind non vpn router paind Linux - Networking 0 07-18-2008 02:44 PM
Network Manager pptp vpn working only with roaming mode hulf Linux - Software 0 04-29-2008 12:21 PM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM


All times are GMT -5. The time now is 01:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration