ok so, if I use pppd without --start like this:
Code:
pptpsetup --create myvpn --server xxx.zz.w.yyy --username myname --password mypassword
Here is what happen when I then call pppd:
Code:
bash-4.2# pppd -d call myvpn dump debug logfd 2 nodetach require-mppe
pppd options in effect:
debug debug # (from command line)
-d -d # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/peers/myvpn)
name myname # (from /etc/ppp/peers/myvpn)
remotename myvpn # (from /etc/ppp/peers/myvpn)
# (from /etc/ppp/peers/myvpn)
pty pptp xxx.zz.w.yyy --nolaunchpppd # (from /etc/ppp/peers/myvpn)
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)
ipparam myvpn # (from /etc/ppp/peers/myvpn)
proxyarp # (from /etc/ppp/options)
nobsdcomp # (from /etc/ppp/peers/myvpn)
nodeflate # (from /etc/ppp/peers/myvpn)
require-mppe # (from command line)
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x81ae3ae4> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup
Waiting for 1 child processes...
script pptp xxx.zz.w.yyy --nolaunchpppd, pid 22046
Script pptp xxx.zz.w.yyy --nolaunchpppd finished (pid 22046), status = 0x0
bash-4.2#
I noticed that ppp0 is not up, but during the few seconds pppd is running I can make it up (
via ifconfig) by hand and do
Code:
route -n
/sbin/ip route add default dev ppp0
But that change doesn't change anything, pppd still stops.
I've also created a file /etc/modules.conf and containing:
Code:
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldics-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias tty-ldisc-14 ppp_synctty
That doesn't help as well.