### Autogenerated by interfaces-wirelessmodem.py ###

{% if description %}
# {{ description }}
{% endif %}
ifname {{ intf }}
ipparam {{ intf }}
linkname {{ intf }}
{% if name_server -%}
usepeerdns
{%- endif %}
# physical device
/dev/{{ 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 }}'