summaryrefslogtreecommitdiff
path: root/data/templates/wwan/peer.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/wwan/peer.tmpl')
-rw-r--r--data/templates/wwan/peer.tmpl27
1 files changed, 27 insertions, 0 deletions
diff --git a/data/templates/wwan/peer.tmpl b/data/templates/wwan/peer.tmpl
new file mode 100644
index 000000000..aa759f741
--- /dev/null
+++ b/data/templates/wwan/peer.tmpl
@@ -0,0 +1,27 @@
+### Autogenerated by interfaces-wirelessmodem.py ###
+
+{{ "# description: " + description if description is defined }}
+ifname {{ ifname }}
+ipparam {{ ifname }}
+linkname {{ ifname }}
+{{ "usepeerdns" if no_peer_dns is defined }}
+# physical device
+{{ device }}
+lcp-echo-failure 0
+115200
+debug
+debug
+mtu {{ mtu }}
+mru {{ mtu }}
+nodefaultroute
+ipcp-max-failure 4
+ipcp-accept-local
+ipcp-accept-remote
+noauth
+crtscts
+lock
+persist
+{{ "demand" if ondemand is defined }}
+
+connect '/usr/sbin/chat -v -t6 -f /etc/ppp/peers/chat.{{ ifname }}'
+