Opened 2 years ago

Last modified 2 years ago

#21876 new defect

PPTP client not working on Chaos Calmer from the box

Reported by: Dirry Owned by: developers
Priority: normal Milestone:
Component: packages Version: Chaos Calmer 15.05
Keywords: Cc:


File /lib/netifd/proto/ 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_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_generic_setup "$config" \                                 
                plugin \                                                
                pptp_server $server #\            <--- Comment delimiter
                #file /etc/ppp/options.pptp      <--- Comment this line

And everything works correctly!

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by Dirry

Oh, please, fix the markup.

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.