summaryrefslogtreecommitdiff
path: root/data/templates/wwan/peer.tmpl
blob: 2807a79a4a298b0a850d16888a34cd212ae936c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
### 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
mtu {{ mtu }}
mru {{ mtu }}
{% if ipv6 is defined and ipv6.address is defined and ipv6.address.autoconf is defined %}
+ipv6
ipv6cp-use-ipaddr
{% endif %}
nodefaultroute
ipcp-max-failure 4
ipcp-accept-local
ipcp-accept-remote
noauth
crtscts
lock
persist
{{ "demand" if connect_on_demand is defined }}

connect '/usr/sbin/chat -v -t6 -f /etc/ppp/peers/chat.{{ ifname }}'