# Chat file for Lithuanian Omnitel Omniconnect internet connection
# Before you can connect, you need to enter your PIN:
#    screen /dev/ttyS2
#    AT+CFUN=1,1
#    AT+CPIN="1234"
# (replace 1234 with your PIN)
# Now press ^A \ to quit screen (blergh)
# AT+CFUN turns on verbose error messages
# Some error messages:
# +CME ERROR: 3 -- AT+CPIN gives it when the pin is entered twice; ignore it
# +CME ERROR: 16 -- AT+CPIN gives it when the pin is bad
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
'' AT
#OK ATX3
OK AT+CFUN=1
#'' ATZ
#OK 'AT+CGQREQ=1,0,0,0,0,0'
#OK 'AT+CGQMIN=1,0,0,0,0,0'
# Omnitely sakė, kad apn yra "omnitel", o tel. nr.: *99#
OK 'AT+CGDCONT=1,"IP","gprs.connect.lt"'
OK ATDT*99***#
CONNECT ""
