Долгое время не мог настроить gprs... кучу всяких советов перепробовал, скриптов и так далее... у меня siemens m55 и юсб кабель с зарядкой.. prolific (PL2303), переделанный в DCU-510... и вот помогло нижеописанное, после чего радуюсь интернету

Файлы: gprs, gprs-connect-chat, gprs-disconnect-chat поместите
в /etc/ppp/peeres
Файл pap-secrets поместите в /etc/ppp
Файл resolv.conf (/etc) должен выглядеть примерно так:
1)Для BeeLine:
nameserver 217.118.066.243
nameserver 217.118.066.244
2)Для MTC
nameserver 213.087.000.001
nameserver 213.087.001.001
2)Для MegaFon не знаю
Соединение устанавливаем командой pppd call gprs
Разрываем соединение Ctrl+C
Содержание файлов:
****************gprs***********************
# Serial cable pppd options for GPRS phone
nodetach
debug
show-password
connect /etc/ppp/peers/gprs-connect-chat
disconnect /etc/ppp/peers/gprs-disconnect-chat
/dev/ttyUSB0 # USB0
#/dev/ttyS0 # COM1
57600
crtscts
local
noipdefault
ipcp-accept-local
defaultroute
usepeerdns
# ppp compression
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
#
noauth
user "beeline"
********************************************
************gprs-connect-chat***************
#!/bin/sh
exec chat \
TIMEOUT 5 \
ECHO ON \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIALTONE\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
TIMEOUT 12 \
SAY "Press CTRL-C to close the connection at any stage!" \
SAY "\ndefining PDP context...\n" \
OK ATE1 \
OK 'AT+CGDCONT=1,"IP","internet.beeline.ru","",0,0' \
OK ATD*99***1# \
TIMEOUT 22 \
SAY "\nwaiting for connect...\n" \
CONNECT "" \
SAY "\nConnected." \
SAY "\nIf the following ppp negotiations fail,\n" \
SAY "try restarting the phone.\n"
**********************************************
************gprs-disconnect-chat**************
#!/bin/sh
# chat-gprs-disconnect
exec /usr/sbin/chat -V -s -S \
ABORT "BUSY" \
ABORT "ERROR" \
ABORT "NO DIALTONE" \
SAY "\nSending break to the modem\n" \
"" "\K" \
"" "+++ATH" \
SAY "\nPDP context detached\n"
#
**********************************************
****************pap-secrets********************
beeline * beeline *