#21876: PPTP client not working on Chaos Calmer from the box
----------------------+--------------------------------
 Reporter:  Dirry     |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Chaos Calmer 15.05
 Keywords:            |
----------------------+--------------------------------
 File /lib/netifd/proto/ppp.sh execute command:
 {{{
 /usr/sbin/pppd nodetach ipparam alpha ifname pptp-alpha +ipv6 set
 AUTOIPV6=1 nodefaultroute usepeerdns maxfail 1 user <LOGIN> password
 <PASSWORD> ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp-
 up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-
 down plugin pptp.so pptp_server <SERVER> file /etc/ppp/options.pptp}}}

 This command not working because have a tail:
 {{{... file /etc/ppp/options.pptp}}}


 This tail says "ignore all before and use /etc/ppp/options.pptp" and pppd
 use options.pptp with default settings. As result we have nothing works.

 I've fixed /lib/netifd/proto/ppp.sh:
 {{{
         ppp_generic_setup "$config" \
                 plugin pptp.so \
                 pptp_server $server #\            <--- Comment delimiter
                 #file /etc/ppp/options.pptp      <--- Comment this line
 }}}

 And everything works correctly!

--
Ticket URL: <https://dev.openwrt.org/ticket/21876>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to