auto lo
iface lo inet loopback
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid xxx
wpa-psk yyy
/dev/ttyGSM1
115200
defaultroute
replacedefaultroute
noipdefault
usepeerdns
persist
noauth
user gdata
connect "/usr/sbin/chat -v -f /etc/chatscripts/megafon"
...
OK AT+CGDCONT=1,"IP","internet"
OK ATD*99***1#