summaryrefslogtreecommitdiff
path: root/data/templates/wwan/peer.tmpl
blob: b8a7d10ae67f33bc2179f00db8ed42959cbdcd29 (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
### Autogenerated by interfaces-wirelessmodem.py ###

{% if description %}
# {{ description }}
{% endif %}
ifname {{ intf }}
ipparam {{ intf }}
linkname {{ intf }}
{% if name_server -%}
usepeerdns
{%- endif %}
# physical device
{{ device }}
lcp-echo-failure 0
115200
debug
logfile {{ logfile }}
nodefaultroute
ipcp-max-failure 4
ipcp-accept-local
ipcp-accept-remote
noauth
crtscts
lock
persist
{% if on_demand -%}
demand
{%- endif %}

connect '/usr/sbin/chat -v -t6 -f {{ chat_script }}'