]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/ppp/templates/nameX
Improve ProcessManager to manage registerable named services.
[software/pymin.git] / pymin / services / ppp / templates / nameX
index 10524ff0ca90e6994d1172ae678456e503a6bff2..0e9716e957a17896c32196d37775269dbc42aea2 100644 (file)
@@ -1,7 +1,17 @@
+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
+mtu 1492
+mru 1492
+# switch off all compressions (this is a must)
+nopcomp
+# this is recommended
+novjccomp
+noccp
+noauth
 % else:
 pty "pptp ${conn.server} --nolaunchpppd"
 name ${conn.username}