From: Leandro Lucarella Date: Mon, 5 Nov 2007 14:31:10 +0000 (-0300) Subject: Bugfix: add noauth and change name for user in ppp template. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/5f07be12f7bebdf0f9105a8302cb9aee3e906415?ds=sidebyside;hp=--cc Bugfix: add noauth and change name for user in ppp template. --- 5f07be12f7bebdf0f9105a8302cb9aee3e906415 diff --git a/pymin/services/ppp/templates/nameX b/pymin/services/ppp/templates/nameX index ee70cf1..0e9716e 100644 --- a/pymin/services/ppp/templates/nameX +++ b/pymin/services/ppp/templates/nameX @@ -1,6 +1,6 @@ updetach % if conn.type != 'TUNNEL': -name ${conn.username} +user ${conn.username} file /etc/ppp/options.${conn.name} ipparam ${conn.name} # pppoe has a lower mtu/mru @@ -11,6 +11,7 @@ nopcomp # this is recommended novjccomp noccp +noauth % else: pty "pptp ${conn.server} --nolaunchpppd" name ${conn.username}