You are not logged in.
Pages: 1
Hi all,
I have succefully configured a pptp vpn connection on a Vbox machine running ubuntu and Network Manager which stays on the same lan of my magic Arch linux box but when I have tried to configure pptp vpn connection with pptpclient from my Arch box using the official Archwiki guide, using the same settings as Ubuntu vm, vpn doesn't start.
Settings of the succefull ubuntu connection are:
Connection name: tp
Gateway: x.x.x.x
Username: user
Password: password
NTDOMAIN: <blank>
Authentications used: PAP-CHAP-MSCHAP-MSCHAPV2-EAP
use Point-to-point emcryption MPPE: no
Allow BSD Data Compression: yes
Allow Deflate Data Compression: yes
Use TCP Header Compression: yes
Send PPP Echo packets: yes
---------------------------------------------------------
My Arch linux config is:
[robb@monkey vms]$ cat /etc/ppp/options.pptp | egrep -v "#"
lock
noauth
[robb@monkey vms]$ sudo cat /etc/ppp/chap-secrets | egrep -v "#"
user PPTP password *
[robb@monkey vms]$ sudo cat /etc/ppp/peers/tp | egrep -v "#"
pty "pptp x.x.x.x --nolaunchpppd"
name user
remotename PPTP
file /etc/ppp/options.pptp
ipparam tpNow, I try to start ppp0:
[robb@monkey vms]$ sudo pon tp 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)
name user # (from /etc/ppp/peers/tp)
remotename PPTP # (from /etc/ppp/peers/tp)
# (from /etc/ppp/options.pptp)
pty pptp x.x.x.x --nolaunchpppd # (from /etc/ppp/peers/tp)
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)
ipparam tp # (from /etc/ppp/peers/tp)
proxyarp # (from /etc/ppp/options)
noipx # (from /etc/ppp/options)
using channel 15
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcc14e471> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth pap> <magic 0x9f37f761>]
sent [LCP ConfNak id=0x1 <auth eap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xcc14e471> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <auth chap MD5> <magic 0x9f37f761>]
sent [LCP ConfAck id=0x2 <auth chap MD5> <magic 0x9f37f761>]
sent [LCP EchoReq id=0x0 magic=0xcc14e471]
rcvd [CHAP Challenge id=0x1 <f863bf7885e00576cfc02b81d006d2d9>, name = "user01"]
sent [CHAP Response id=0x1 <9607e456c52d49a9e66d781c4cda0c19>, name = "user"]
rcvd [LCP EchoRep id=0x0 magic=0x9f37f761]
rcvd [LCP EchoReq id=0x1 magic=0x9f37f761 cc 14 e4 71]
sent [LCP EchoRep id=0x1 magic=0xcc14e471 cc 14 e4 71]
rcvd [IPCP ConfReq id=0x2 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0x3 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0x4 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0x5 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0x6 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [LCP EchoReq id=0x2 magic=0x9f37f761 cc 14 e4 71]
sent [LCP EchoRep id=0x2 magic=0xcc14e471 cc 14 e4 71]
rcvd [IPCP ConfReq id=0x7 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0x8 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0x9 <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [IPCP ConfReq id=0xa <addr x.x.x.x>]
discarding proto 0x8021 in phase 5
rcvd [LCP EchoReq id=0x3 magic=0x9f37f761 cc 14 e4 71]
sent [LCP EchoRep id=0x3 magic=0xcc14e471 cc 14 e4 71]... and it goes looping last lines.
My /var/log/messages says:
Jul 22 16:35:29 monkey pppd[2869]: pppd options in effect:
Jul 22 16:35:29 monkey pppd[2869]: debug # (from command line)
Jul 22 16:35:29 monkey pppd[2869]: nodetach # (from command line)
Jul 22 16:35:29 monkey pppd[2869]: logfd 2 # (from command line)
Jul 22 16:35:29 monkey pppd[2869]: dump # (from command line)
Jul 22 16:35:29 monkey pppd[2869]: noauth # (from /etc/ppp/options.pptp)
Jul 22 16:35:29 monkey pppd[2869]: name user # (from /etc/ppp/peers/tp)
Jul 22 16:35:29 monkey pppd[2869]: remotename PPTP # (from /etc/ppp/peers/tp)
Jul 22 16:35:29 monkey pppd[2869]: # (from /etc/ppp/options.pptp)
Jul 22 16:35:29 monkey pppd[2869]: pty pptp x.x.x.x --nolaunchpppd # (from /etc/ppp/peers/tp)
Jul 22 16:35:29 monkey pppd[2869]: crtscts # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: asyncmap 0 # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: lcp-echo-failure 4 # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: lcp-echo-interval 30 # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: hide-password # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: ipparam milanoteleport # (from /etc/ppp/peers/tp)
Jul 22 16:35:29 monkey pppd[2869]: proxyarp # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: noipx # (from /etc/ppp/options)
Jul 22 16:35:29 monkey pppd[2869]: pppd 2.4.5 started by robb, uid 0
Jul 22 16:35:29 monkey pppd[2869]: Using interface ppp0
Jul 22 16:35:29 monkey pppd[2869]: Connect: ppp0 <--> /dev/pts/2
Jul 22 16:35:29 monkey pptp[2870]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jul 22 16:35:29 monkey pptp[2877]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jul 22 16:35:29 monkey pptp[2877]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
[b]Jul 22 16:35:29 monkey pptp[2877]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.[/b]
Jul 22 16:35:30 monkey pptp[2877]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 22 16:35:30 monkey pptp[2877]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jul 22 16:35:30 monkey pptp[2877]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 691).
Jul 22 16:36:30 monkey pptp[2877]: anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
Jul 22 16:37:29 monkey pptp[2877]: anon log[logecho:pptp_ctrl.c:677]: Echo Request received.
Jul 22 16:37:29 monkey pptp[2877]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 6 'Echo-Reply'By the way, the interface ppp0 seems down:
[robb@monkey network.d]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:30:18:a3:70:7d brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether fc:75:16:67:14:e2 brd ff:ff:ff:ff:ff:ff
inet 172.16.1.150/24 brd 172.16.1.255 scope global wlan0
inet6 fe80::fe75:16ff:fe67:14e2/64 scope link
valid_lft forever preferred_lft forever
4: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
[b]20: ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 3[/b]
link/ppp I don't know what else I can try. I have been gone crazy for two months!
Any suggestion would be appreciated.
Robb.
Offline
Is my question stupid or in the wrong section?
Offline
Pages: 1