Hi everyone
Since two day’s i’m trying to make pptpd run, unfortunately it seems like the executable is alway’s failing with return code 1 but no further output. My config file:
/etc/pptpd.conf
option /etc/ppp/options.pptpd
debug
localip 192.168.1.4
remoteip 192.168.4.220-250
pidfile /var/run/pptpd.pid
/etc/ppp/options.pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 192.168.1.1
proxyarp
nodefaultroute
lock
nobsdcomp
noipx
mtu 1490
mru 1490
debug
name mypptpd
lcp-echo-failure 20
lcp-echo-interval 20
I set up a test user in /etc/ppp/chap-secrets.
I tried to run pptpd with systemd:
root # systemctl start pptpd
root # systemctl status pptpd
pptpd.service - PPTP Daemon
Loaded: loaded (/usr/lib/systemd/system/pptpd.service; disabled)
Active: failed (Result: exit-code) since Thu 2014-06-05 09:39:20 CEST; 4s ago
Process: 26695 ExecStart=/usr/sbin/pptpd --fg -d (code=exited, status=1/FAILURE)
Main PID: 26695 (code=exited, status=1/FAILURE)
Jun 05 09:39:20 nebiolo systemd[1]: Starting PPTP Daemon...
Jun 05 09:39:20 nebiolo systemd[1]: Started PPTP Daemon.
Jun 05 09:39:20 nebiolo systemd[1]: pptpd.service: main process exited, code=exited, status=1/FAILURE
Jun 05 09:39:20 nebiolo systemd[1]: Unit pptpd.service entered failed state.
When I run pptpd from the command line I get no output and just exit code 1:
root # /usr/sbin/pptpd --fg --debug
root # echo $?
1
I did not find any sensible log file in /usr/log, i also tried reinstalling the binary using yast but no success.
Any ideas?
Thanks in advance