1 |
I'm trying to connect to a Cisco 3650 VPN Concentrator at work. On |
2 |
Windows clients, I use the included dialup networking client and connect |
3 |
without issue using pptp. This is not a L2TP/IPSEC VPN. I want to do |
4 |
the same on a Gentoo client. |
5 |
|
6 |
I've Googled and found that pptpclient should do what I want. I've |
7 |
followed this guide: |
8 |
|
9 |
http://wiki.archlinux.org/index.php/Microsoft_VPN_client_setup_with_pptpclient |
10 |
|
11 |
I've also come across other guides that are very similar to the one above. |
12 |
|
13 |
After following the guide, I am still unable to connect. I see the |
14 |
following in /var/log/messages: |
15 |
(Please note that I have replaced the actual IP address with "<IP Address>") |
16 |
|
17 |
Feb 10 08:34:05 tagalong pppd[7781]: pppd options in effect: |
18 |
Feb 10 08:34:05 tagalong pppd[7781]: debug # (from command |
19 |
line) |
20 |
Feb 10 08:34:05 tagalong pppd[7781]: nodetach # (from command |
21 |
line) |
22 |
Feb 10 08:34:05 tagalong pppd[7781]: logfd 2 # (from command |
23 |
line) |
24 |
Feb 10 08:34:05 tagalong pppd[7781]: dump # (from command |
25 |
line) |
26 |
Feb 10 08:34:05 tagalong pppd[7781]: noauth # (from |
27 |
/etc/ppp/peers/d |
28 |
ca) |
29 |
Feb 10 08:34:05 tagalong pppd[7781]: name username # (from |
30 |
/etc/ppp |
31 |
/peers/dca) |
32 |
Feb 10 08:34:05 tagalong pppd[7781]: remotename <IP Address> # |
33 |
(from |
34 |
/etc/ppp/peers/dca) |
35 |
Feb 10 08:34:05 tagalong pppd[7781]: # (from |
36 |
/etc/ppp/options.pptp) |
37 |
Feb 10 08:34:05 tagalong pppd[7781]: pty pptp <IP Address> |
38 |
--nolaunchpppd --log |
39 |
level 2 # (from /etc/ppp/peers/vpn) |
40 |
Feb 10 08:34:05 tagalong pppd[7781]: ipparam <IP Address> # |
41 |
(from /etc/ppp/peers/dca) |
42 |
Feb 10 08:34:05 tagalong pppd[7781]: nobsdcomp # (from |
43 |
/etc/ppp/options.pptp) |
44 |
Feb 10 08:34:05 tagalong pppd[7781]: nodeflate # (from |
45 |
/etc/ppp/options.pptp) |
46 |
Feb 10 08:34:05 tagalong pppd[7781]: pppd 2.4.4 started by tomlinson_dr, |
47 |
uid 0 |
48 |
Feb 10 08:34:05 tagalong pppd[7781]: using channel 12 |
49 |
Feb 10 08:34:05 tagalong pppd[7781]: Using interface ppp0 |
50 |
Feb 10 08:34:05 tagalong pppd[7781]: Connect: ppp0 <--> /dev/pts/3 |
51 |
Feb 10 08:34:05 tagalong pptp[7782]: anon log[main:pptp.c:272]: The |
52 |
synchronous pptp option is NOT activated |
53 |
Feb 10 08:34:05 tagalong pptp[7786]: anon |
54 |
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 |
55 |
'Start-Control-Connection-Request' |
56 |
Feb 10 08:34:05 tagalong pptp[7786]: anon |
57 |
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed |
58 |
Feb 10 08:34:05 tagalong pptp[7786]: anon |
59 |
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed |
60 |
Feb 10 08:34:06 tagalong pppd[7781]: sent [LCP ConfReq id=0x1 <asyncmap |
61 |
0x0> <magic 0x550c0689> <pcomp> <accomp>] |
62 |
Feb 10 08:34:06 tagalong pptp[7788]: anon |
63 |
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 |
64 |
'Start-Control-Connection-Request' |
65 |
Feb 10 08:34:06 tagalong pptp[7788]: anon |
66 |
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed |
67 |
Feb 10 08:34:06 tagalong pptp[7788]: anon |
68 |
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed |
69 |
Feb 10 08:34:07 tagalong pptp[7790]: anon |
70 |
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 |
71 |
'Start-Control-Connection-Request' |
72 |
Feb 10 08:34:07 tagalong pptp[7790]: anon |
73 |
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed |
74 |
Feb 10 08:34:07 tagalong pptp[7790]: anon |
75 |
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed |
76 |
Feb 10 08:34:08 tagalong pptp[7782]: anon |
77 |
fatal[open_callmgr:pptp.c:439]: Could not launch call manager after 3 tries. |
78 |
Feb 10 08:34:08 tagalong pppd[7781]: Modem hangup |
79 |
Feb 10 08:34:08 tagalong pppd[7781]: Connection terminated. |
80 |
Feb 10 08:34:08 tagalong pppd[7781]: Script pptp <IP Address> |
81 |
--nolaunchpppd --loglevel 2 finished (pid 7782), status = 0x1 |
82 |
Feb 10 08:34:08 tagalong pppd[7781]: Exit. |
83 |
|
84 |
Here are the contents of my /etc/ppp/chap-secrets: |
85 |
|
86 |
# Secrets for authentication using CHAP |
87 |
# client server secret IP addresses |
88 |
#\'\' * \'\' |
89 |
username IP Address password * |
90 |
|
91 |
And finally, my connect script from /etc/ppp/peers/vpn: |
92 |
|
93 |
pty "pptp IP Address --nolaunchpppd --loglevel 2" |
94 |
name username |
95 |
remotename IP address |
96 |
file /etc/ppp/options.pptp |
97 |
noauth |
98 |
ipparam IP Address |
99 |
|
100 |
Any ideas on what I'm missing? I've been at this for two days but can |
101 |
not figure out my errors. In cases where the guide indicates using a |
102 |
VPN server name, I have tried with both a made up (but common) server |
103 |
name and the actual IP address as this VPN server does not have a |
104 |
resolvable name. |
105 |
|
106 |
Thanks, |
107 |
|
108 |
Drew |
109 |
|
110 |
-- |
111 |
Be a Great Magician! |
112 |
Visit The Alchemist's Warehouse |
113 |
|
114 |
http://www.alchemistswarehouse.com |