public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Help With pptpclient
@ 2009-02-10 16:57 Drew Tomlinson
  2009-02-10 17:19 ` [gentoo-user] Help With pptpclient -- SOLVED Drew Tomlinson
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Tomlinson @ 2009-02-10 16:57 UTC (permalink / raw
  To: gentoo-user

I'm trying to connect to a Cisco 3650 VPN Concentrator at work.  On
Windows clients, I use the included dialup networking client and connect
without issue using pptp.  This is not a L2TP/IPSEC VPN.  I want to do
the same on a Gentoo client.

I've Googled and found that pptpclient should do what I want.  I've
followed this guide:

http://wiki.archlinux.org/index.php/Microsoft_VPN_client_setup_with_pptpclient

I've also come across other guides that are very similar to the one above.

After following the guide, I am still unable to connect.  I see the
following in /var/log/messages:
(Please note that I have replaced the actual IP address with "<IP Address>")

Feb 10 08:34:05 tagalong pppd[7781]: pppd options in effect:
Feb 10 08:34:05 tagalong pppd[7781]: debug              # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: nodetach           # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: logfd 2            # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: dump               # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: noauth             # (from
/etc/ppp/peers/d
ca)
Feb 10 08:34:05 tagalong pppd[7781]: name username           # (from
/etc/ppp
/peers/dca)
Feb 10 08:34:05 tagalong pppd[7781]: remotename <IP Address>           #
(from
/etc/ppp/peers/dca)
Feb 10 08:34:05 tagalong pppd[7781]:            # (from
/etc/ppp/options.pptp)
Feb 10 08:34:05 tagalong pppd[7781]: pty pptp <IP Address>
--nolaunchpppd --log
level 2         # (from /etc/ppp/peers/vpn)
Feb 10 08:34:05 tagalong pppd[7781]: ipparam <IP Address>              #
(from /etc/ppp/peers/dca)
Feb 10 08:34:05 tagalong pppd[7781]: nobsdcomp          # (from
/etc/ppp/options.pptp)
Feb 10 08:34:05 tagalong pppd[7781]: nodeflate          # (from
/etc/ppp/options.pptp)
Feb 10 08:34:05 tagalong pppd[7781]: pppd 2.4.4 started by tomlinson_dr,
uid 0
Feb 10 08:34:05 tagalong pppd[7781]: using channel 12
Feb 10 08:34:05 tagalong pppd[7781]: Using interface ppp0
Feb 10 08:34:05 tagalong pppd[7781]: Connect: ppp0 <--> /dev/pts/3
Feb 10 08:34:05 tagalong pptp[7782]: anon log[main:pptp.c:272]: The
synchronous pptp option is NOT activated
Feb 10 08:34:05 tagalong pptp[7786]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Feb 10 08:34:05 tagalong pptp[7786]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:05 tagalong pptp[7786]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:06 tagalong pppd[7781]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x550c0689> <pcomp> <accomp>]
Feb 10 08:34:06 tagalong pptp[7788]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Feb 10 08:34:06 tagalong pptp[7788]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:06 tagalong pptp[7788]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:07 tagalong pptp[7790]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Feb 10 08:34:07 tagalong pptp[7790]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:07 tagalong pptp[7790]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:08 tagalong pptp[7782]: anon
fatal[open_callmgr:pptp.c:439]: Could not launch call manager after 3 tries.
Feb 10 08:34:08 tagalong pppd[7781]: Modem hangup
Feb 10 08:34:08 tagalong pppd[7781]: Connection terminated.
Feb 10 08:34:08 tagalong pppd[7781]: Script pptp <IP Address>
--nolaunchpppd --loglevel 2 finished (pid 7782), status = 0x1
Feb 10 08:34:08 tagalong pppd[7781]: Exit.

Here are the contents of my /etc/ppp/chap-secrets:

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
#\'\'   *       \'\'
username        IP Address   password           *

And finally, my connect script from /etc/ppp/peers/vpn:

pty "pptp IP Address --nolaunchpppd --loglevel 2"
name username
remotename IP address
file /etc/ppp/options.pptp
noauth
ipparam IP Address

Any ideas on what I'm missing?  I've been at this for two days but can
not figure out my errors.  In cases where the guide indicates using a
VPN server name, I have tried with both a made up (but common) server
name and the actual IP address as this VPN server does not have a
resolvable name.

Thanks,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Help With pptpclient -- SOLVED
  2009-02-10 16:57 [gentoo-user] Help With pptpclient Drew Tomlinson
@ 2009-02-10 17:19 ` Drew Tomlinson
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Tomlinson @ 2009-02-10 17:19 UTC (permalink / raw
  To: gentoo-user

Drew Tomlinson wrote:
> I'm trying to connect to a Cisco 3650 VPN Concentrator at work.  On
> Windows clients, I use the included dialup networking client and connect
> without issue using pptp.  This is not a L2TP/IPSEC VPN.  I want to do
> the same on a Gentoo client.
>
> I've Googled and found that pptpclient should do what I want.  I've
> followed this guide:
>
> http://wiki.archlinux.org/index.php/Microsoft_VPN_client_setup_with_pptpclient
<snip>
> Any ideas on what I'm missing?  I've been at this for two days but can
> not figure out my errors.  In cases where the guide indicates using a
> VPN server name, I have tried with both a made up (but common) server
> name and the actual IP address as this VPN server does not have a
> resolvable name.
>
>   

Never mind.  I found the problem.  The VPN concentrator still had a
connection registered for my IP address.  Once that was cleared, I was
able to connect.

Sorry for the noise.

Drew


-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-10 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10 16:57 [gentoo-user] Help With pptpclient Drew Tomlinson
2009-02-10 17:19 ` [gentoo-user] Help With pptpclient -- SOLVED Drew Tomlinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox