Notices


Reply
Thread Tools
Posts: 5 | Thanked: 7 times | Joined on Apr 2010
#41
Hi all,

I followed all information in this threat and managed to get a VPN connection. I have one chalange left: after connecting to the VPN I need to use a proxy server for my browser. Do you have any hints on how to set this up automatically, after connecting to the VPN?

Thanks in advance,

Bas
 
Posts: 70 | Thanked: 12 times | Joined on Dec 2009
#42
@ Big Phat Jan,

Thanks mate, you are great, but i m lost @ some stage

I did upto commenting the sub, and after that i do not know what to do

the only info i have abt my VPN connection is
it is PPTP, servername and credentials

Say my server name is : vpn.servername.com
usn: tom
pass: 123

how do i create a conf file and where do i place it and how do i make a tunnel

Thanks in advance
 
Posts: 320 | Thanked: 137 times | Joined on Apr 2010
#43
I wish I knew how to play around with linux. Isn't there a gui or client for PPTP VPN for n00bs like me?
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#44
Originally Posted by tom4_u View Post
@ Big Phat Jan,

Thanks mate, you are great, but i m lost @ some stage

I did upto commenting the sub, and after that i do not know what to do

the only info i have abt my VPN connection is
it is PPTP, servername and credentials

Say my server name is : vpn.servername.com
usn: tom
pass: 123

how do i create a conf file and where do i place it and how do i make a tunnel

Thanks in advance
Hi Tom,

It's a while since I set mine up, but I think you need to use:

pptpsetup --create tunnelname --server vpn.servername.com --username tom --password 123 --encrypt

If you have been given a domain you can add "--domain domainname\\".

The point of pptpsetup is to create your configuration files, one of which will be /etc/ppp/peers/tunnelname if you want to check the script has run ok.

That done you can use the pppd command I gave in the post on page 2 and follow the instructions from there. Let us know how it goes!

Cheers,
Jan
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#45
Originally Posted by xuggs View Post
I wish I knew how to play around with linux. Isn't there a gui or client for PPTP VPN for n00bs like me?
I'm afraid not. You could try voting in the brainstorm here, and voting for the bug here, though that has been closed as "moved to brainstorm".

The closest I can find is from wrayb in this thread though I haven't tried it myself, and it sounds like it's only a little bit easier than following the instructions here.

Cheers,
Jan
 
Posts: 320 | Thanked: 137 times | Joined on Apr 2010
#46
Thanks Jan really appreciate your help dude.

Will check it out from home. N900 is sweet and PPTP extensibility will be sugar sweet. I wonder if there are any paid apps for PPTP VPN.
 
Posts: 1 | Thanked: 0 times | Joined on Apr 2010
#47
Hello Jan
Could you help me ?
I'm having the following error trying to connect in my org:
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x56175b9f> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c0.a4.2d.69.81.6d.4b.d9.98.bd.e6.53.d7.12.08 .17.00.00.00.00]> < 17 04 00 1a>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth eap> <callback CBCP> <mrru 1614> < 17 04 00 1a>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP TermReq id=0x2 "V\027[\237\000<\315t\000\000\003\227"]
sent [LCP TermAck id=0x2]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
^CTerminating on signal 2
Script pptp 200.246.78.3 --nolaunchpppd finished (pid 1649), status = 0x0
sent [LCP TermReq id=0x2 "User request"]
Modem hangup
Connection terminated.

I used Ctrl C cos those messages didn't stop.

thx a lot

Marcelo
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#48
Originally Posted by si2ni View Post
Hello Jan
Could you help me ?
I'm having the following error trying to connect in my org:
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x56175b9f> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c0.a4.2d.69.81.6d.4b.d9.98.bd.e6.53.d7.12.08 .17.00.00.00.00]> < 17 04 00 1a>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth eap> <callback CBCP> <mrru 1614> < 17 04 00 1a>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
rcvd [LCP TermReq id=0x2 "V\027[\237\000<\315t\000\000\003\227"]
sent [LCP TermAck id=0x2]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>]
^CTerminating on signal 2
Script pptp 200.246.78.3 --nolaunchpppd finished (pid 1649), status = 0x0
sent [LCP TermReq id=0x2 "User request"]
Modem hangup
Connection terminated.

I used Ctrl C cos those messages didn't stop.

thx a lot

Marcelo
Well it looks like you don't have the right credentials ("no auth is possible").

Check the contents of the following files and see whether your username, domain, and password are correct:

/etc/ppp/chap-secrets
/etc/ppp/peers/<tunnelname>

If you have a domain, make sure your username comes out as:

DOMAIN\\username

(with two slashes).

You'll need to be root to check the contents of these files. The easiest way to check them is to use "cat", which will print the contents of the file to the screen, i.e.

#become root
sudo gainroot

#check contents of chap-secrets
cat /etc/ppp/chap-secrets

#check contents of peers file
cat /etc/ppp/peers/<tunnelname>

#stop being root
exit

Cheers,
Jan
 
Posts: 4 | Thanked: 0 times | Joined on May 2010
#49
Thank you guys so much for creating this thread and sharing this information.

I am having some difficulties as well. I think I'm 90% of the way there, but I'm stumped at the moment.

I looked in the error log file in /var/log and it was empty. I have scoured the net and found a good resource here:

http://pptpclient.sourceforge.net/howto-diagnosis.phtml



here is an excert from my dbug output:

/ # pppd call amerch logfd 2 nodetach debug dump
pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/peers/amerch)
refuse-pap # (from /etc/ppp/peers/amerch)
refuse-chap # (from /etc/ppp/peers/amerch)
refuse-mschap # (from /etc/ppp/peers/amerch)
refuse-eap # (from /etc/ppp/peers/amerch)
name DOMAIN\\uname # (from /etc/ppp/peers/amerch)
# (from /etc/ppp/peers/amerch)
pty pptp nonya.bizniz --nolaunchpppd # (from /etc/ppp/peers/amerch)
crtscts # (from /etc/ppp/options)
# (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
noipdefault # (from /etc/ppp/peers/amerch)
defaultroute # (from /etc/ppp/peers/amerch)
replacedefaultroute # (from /etc/ppp/peers/amerch)
proxyarp # (from /etc/ppp/options)
usepeerdns # (from /etc/ppp/peers/amerch)
nobsdcomp # (from /etc/ppp/peers/amerch)
nodeflate # (from /etc/ppp/peers/amerch)
require-mppe-128 # (from /etc/ppp/peers/amerch)
noipx # (from /etc/ppp/options)
using channel 32
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfc214edd> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <mru 1400> <auth eap> <magic 0x7ffd19e4> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c7.a0.9d.2b.5a.42.40.10.9b.03.a2.56.0a.5d.eb .c8.00.00.00.00]> < 17 04 85 7f>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 85 7f>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfc214edd> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x7ffd19e4> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c7.a0.9d.2b.5a.42.40.10.9b.03.a2.56.0a.5d.eb .c8.00.00.00.00]> < 17 04 85 7f>]
sent [LCP ConfRej id=0x1 <callback CBCP> <mrru 1614> < 17 04 85 7f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfc214edd> <pcomp> <accomp>]
 
Posts: 4 | Thanked: 0 times | Joined on May 2010
#50
Hi everyone,

Since now we have the Kernel Power including PPTP issues, could someone give us a step by step to setup PPTP VPN?

I´m a beginner and at this moment I feel lost doing that.

I now it´s a matter of time to having a APP to make the things realy easy like "Mobile HotStpot" (in my oppinion the most usefull!)
 
Reply

Tags
vpn pptp mppe n900

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:02.