#17897: /etc/init.d/pptpd restart does not work
-------------------------+-----------------------------------
Reporter: khanamir21 | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Barrier Breaker 14.07
Resolution: | Keywords:
-------------------------+-----------------------------------
Comment (by patrick@…):
I have the same problem with my openwrt router since the update to:
OpenWrt Barrier Breaker 14.07 / LuCI Trunk (0.12+svn-r10530)
I figured out the following:
First of all you have to enable the pptpd manually in /etc/config/pptpd
option 'enabled' '1'
After that the pptpd service starts, but the init script has some
problems.
Everytime you restart the service the init script reads the
usernames/passwords from the /etc/config/pptpd file and writes it again
into the /etc/ppp/chap-secrets file. so a user gets inserted multiple
times.
The same thing also happens with the localip and remoteip setting -> see
setup_config method in the init script.
--
Ticket URL: <https://dev.openwrt.org/ticket/17897#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets