Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pptp connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hadian
n00b
n00b


Joined: 10 May 2007
Posts: 72

PostPosted: Tue Nov 17, 2009 1:20 pm    Post subject: pptp connection Reply with quote

i want to create a pptp vpn connection (on calculate linux which is a gentoo based distr.)
i followed the steps as it is described in: http://pptpclient.sourceforge.net/howto-gentoo.phtml but the connection does not work. here is the output of the command i used:
Code:
calculate ~ # pon yazduni debug dump logfd 2 nodetach
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/options.pptp)
refuse-chap      # (from /etc/ppp/options.pptp)
refuse-mschap      # (from /etc/ppp/options.pptp)
refuse-eap      # (from /etc/ppp/options.pptp)
name 2110467      # (from /etc/ppp/peers/yazduni)
remotename PPTP      # (from /etc/ppp/peers/yazduni)
      # (from /etc/ppp/options.pptp)
pty pptp 172.16.10.32 --nolaunchpppd      # (from /etc/ppp/peers/yazduni)
ipparam yazduni      # (from /etc/ppp/peers/yazduni)
nobsdcomp      # (from /etc/ppp/options.pptp)
nodeflate      # (from /etc/ppp/options.pptp)
using channel 8
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x84e5fe17> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MD5> <mru 1430> <magic 0x33472d33>]
sent [LCP ConfNak id=0x1 <auth chap MS-v2>]
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <magic 0x84e5fe17>]
rcvd [LCP ConfReq id=0x2 <auth pap> <mru 1430> <magic 0x33472d33>]
sent [LCP ConfNak id=0x2 <auth chap MS-v2>]
rcvd [LCP ConfAck id=0x2 <magic 0x84e5fe17>]
rcvd [LCP ConfReq id=0x3 <mru 1430> <magic 0x33472d33>]
sent [LCP ConfAck id=0x3 <mru 1430> <magic 0x33472d33>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP TermReq id=0x4 "peer refused to authenticate"]
LCP terminated by peer (peer refused to authenticate)
sent [LCP TermAck id=0x4]
Script pptp 172.16.10.32 --nolaunchpppd finished (pid 8518), status = 0x0
Modem hangup
Connection terminated.

note that the network is working and get ip by dhcp. the server ip is 172.16.10.32 and yazduni is the name of the tunnel i want to create.
what is wrong in the configuration?
Regards
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Nov 17, 2009 1:28 pm    Post subject: Reply with quote

Did you create the /etc/ppp/chap-secrets file on your client machine?
Back to top
View user's profile Send private message
hadian
n00b
n00b


Joined: 10 May 2007
Posts: 72

PostPosted: Tue Nov 17, 2009 2:20 pm    Post subject: Reply with quote

yes . i added the following line to it:
2100 PPTP $$$$$$ *
in which 2100 is my username and $$$$$ stands for my password.
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Nov 17, 2009 2:22 pm    Post subject: Reply with quote

is the remote server hostname actually called PPTP?

perhaps change that to a star (*) instead
Back to top
View user's profile Send private message
hadian
n00b
n00b


Joined: 10 May 2007
Posts: 72

PostPosted: Tue Nov 17, 2009 6:35 pm    Post subject: Reply with quote

the only information that i have from our vpn server is the ip.
(in ubuntu or fedora i crate the connection from NetworkManager applet and only the ip is needed (+usename and password) without any change on default values.
if i change the PPTP to *, should i change it in other files? (regarding the reference i mentioned above)
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Wed Nov 18, 2009 9:47 am    Post subject: Reply with quote

I believe its just that one.

Perhaps have a look in the same files on Ubuntu once you've setup the connection.

Rich
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum