Internet and GPRS configure
Internet and GPRS configure
Дорый день.
Хочу подключить сабж на ASP Linux
Имеется:
1. Ericsson R520m + cable + BeeLine SimCard
2. Компутер с ASP Linux
Пробовал:
1. Подключил телефон к com1
2. Сконфигурировал wvdial.conf
[Default]
modem ........
........
........
Init1=ATZ
Init2=......... (строка создана автомат при определении модема)
Phone = *99***1#
UserName = beeline
Password = beeline
при запуске звонилки wvdial происходит набор номера (надпись на экране телефона)
затем напрись CONNECT
Waiting for promt
и после прошесьвия порядка 10 сек всё отваливается с надписью - что-то типа "Неверный ответ"...
Заранее благодарен за помощь.
The best Regards from Riskkman
Хочу подключить сабж на ASP Linux
Имеется:
1. Ericsson R520m + cable + BeeLine SimCard
2. Компутер с ASP Linux
Пробовал:
1. Подключил телефон к com1
2. Сконфигурировал wvdial.conf
[Default]
modem ........
........
........
Init1=ATZ
Init2=......... (строка создана автомат при определении модема)
Phone = *99***1#
UserName = beeline
Password = beeline
при запуске звонилки wvdial происходит набор номера (надпись на экране телефона)
затем напрись CONNECT
Waiting for promt
и после прошесьвия порядка 10 сек всё отваливается с надписью - что-то типа "Неверный ответ"...
Заранее благодарен за помощь.
The best Regards from Riskkman
- zyxel
- Неотъемлемая часть форума
- Сообщения: 985
- Зарегистрирован: 07 июн 2002, 12:05
- Откуда: Минск, РБ
- Контактная информация:
http://opennet.ru там все написано, только надо правильно поискать
-Сынок, вставай, 5 утра, пора на работу.
-Папа, на какую работу ? Сегодня воскресенье !
-Сынок, какое воскресенье ! Мы же негры !
(С) анекдот
-Папа, на какую работу ? Сегодня воскресенье !
-Сынок, какое воскресенье ! Мы же негры !
(С) анекдот
zyxel, сделал всё так, как написано в
http://www.opennet.ru/base/modem/gprs_moto.txt.html
теперь при попытке соенинения на телефоне вылезает надпись:
GPRS request rejected и соединение обрывается...
ЗАранее благодарен.
The best Regards from Riskkman
http://www.opennet.ru/base/modem/gprs_moto.txt.html
теперь при попытке соенинения на телефоне вылезает надпись:
GPRS request rejected и соединение обрывается...
ЗАранее благодарен.
The best Regards from Riskkman
Последний раз редактировалось Anonymous 18 мар 2005, 09:11, всего редактировалось 1 раз.
Привожу примеры своих настроек:
файл gprs-options:
# General options for making GPRS connections
#
# $Id: gprs-options,v 1.2 2002/01/15 16:28:40 tjd21 Exp $
# Change this line to 'defaultroute' if you want to use the GPRS link
# as your gateway.
nodefaultroute
# Comment this line out to let pppd background itself.
nodetach
# Turn this on to see all the PPP negotiations
# debug
# *** Below this line you probably won't need to change.
# Limit the MTU (workaround for an oddity in the VPN)
#mtu 1400
# Use hardware flow conrtrol
crtscts
# Let the phone figure out all the IP addresses
noipdefault
ipcp-accept-local
ipcp-accept-remote
# No ppp compression
novj
novjccomp
# For sanity, keep a lock on the serial line
lock
файл gprs-eric
# pppd options for Ericsson r520 / T39
# Replace the obvious lines with your username and modem device
#
# $Id: gprs-eric,v 1.2 2001/12/11 10:50:55 tjd21 Exp $
name tjd21
/dev/ttyS0
# Serial port line speed
57600
# Hack to get around T39 firmware bug that prevents repeat
# connections w/o power cycle
receive-all
# Generic GPRS options
file /etc/ppp/gprs-options
# Chat scripts
connect "/usr/sbin/chat -f /etc/ppp/chatscripts/gprs-eric-connect-chat"
disconnect "/usr/sbin/chat -f /etc/ppp/chatscripts/gprs-disconnect-chat"
файл gprs-eric-connect-chat
#
# chat script to open Sonera GPRS service with Ericsson R520m.
#
# If ppp negotiation stalls, try restarting the phone.
# For more details of what the commands do, see ETSI TS 127 007
# (AT command set for User Equipment), at http://www.etsi.org/,
# and your phone's documentation.
#
# $Id: gprs-eric-connect-chat,v 1.4 2001/12/18 15:58:37 tjd21 Exp $
# Boilerplate
#
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT '\nRINGING\r\n\r\nRINGING\r'
SAY "GPRS modem init: press <ctrl>-C to disconnect"
# Wake up the modem
#
TIMEOUT 5
'' '+++AT'
OK-ATQ0V1&C1-OK 'ATE1'
ABORT 'ERROR'
TIMEOUT 12
# Factory defaults on the Ericsson are pretty sane; let's go with them.
# (RTS/CTS, 50sec call timeout, 8n1/auto-rate, verbose responses)
# Also, use '+CME ERROR' codes for ME errors, 'ERROR' for syntax errors
#
OK 'AT&F'
OK 'AT+CMEE=2'
# The Ericsson has multiple contexts; set ourselves up in context 1:
# cid = 1 (which context)
# PDP_type = IP (packet type)
# APN = internet.beeline.ru (GGSN)
# PDP_addr = "0.0.0.0" (our address, null means they choose)
# data_comp = 0 (data compression)
# head_comp = 0 (header compression)
#
OK 'AT+CGDCONT=1,"IP","internet.beeline.ru","0.0.0.0",0,0'
SAY "\n + defining PDP context"
# QoS requested, and minimum accptable, for our context
# (<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>)
# "0" means let the network pick.
#
OK 'AT+CGQREQ=1,0,0,0,0,0'
SAY "\n + defining QoS requirements"
OK 'AT+CGQMIN=1,0,0,0,0,0'
# Attach to the GPRS service. Strictly, we don't need this step,
# as AT+CGDATA will do it for us, but doing it explicitly makes it
# a little easier to debug.
#
TIMEOUT 45
OK 'AT+CGATT=1'
SAY "\n + attaching to GPRS"
# Enter data state
#
OK 'AT+CGDATA="PPP",1'
SAY "\n + requesting data connection"
CONNECT ''
SAY "\n + connected"
файл ppp-connect-errors
GPRS modem init: press <ctrl>-C to disconnect
+ defining PDP context
+ defining QoS requirements
+ requesting data connection
+ connected
+ sending break
+ dropping data connection
+ disconnecting from GPRS
+ disconnected.
+ sending break
+ dropping data connection
+ disconnecting from GPRS
+ disconnected.
На телефоне появляется надпись GRPRS request rejected....
и всё...
Может кто сталкивался с табой проблемой?
файл gprs-options:
# General options for making GPRS connections
#
# $Id: gprs-options,v 1.2 2002/01/15 16:28:40 tjd21 Exp $
# Change this line to 'defaultroute' if you want to use the GPRS link
# as your gateway.
nodefaultroute
# Comment this line out to let pppd background itself.
nodetach
# Turn this on to see all the PPP negotiations
# debug
# *** Below this line you probably won't need to change.
# Limit the MTU (workaround for an oddity in the VPN)
#mtu 1400
# Use hardware flow conrtrol
crtscts
# Let the phone figure out all the IP addresses
noipdefault
ipcp-accept-local
ipcp-accept-remote
# No ppp compression
novj
novjccomp
# For sanity, keep a lock on the serial line
lock
файл gprs-eric
# pppd options for Ericsson r520 / T39
# Replace the obvious lines with your username and modem device
#
# $Id: gprs-eric,v 1.2 2001/12/11 10:50:55 tjd21 Exp $
name tjd21
/dev/ttyS0
# Serial port line speed
57600
# Hack to get around T39 firmware bug that prevents repeat
# connections w/o power cycle
receive-all
# Generic GPRS options
file /etc/ppp/gprs-options
# Chat scripts
connect "/usr/sbin/chat -f /etc/ppp/chatscripts/gprs-eric-connect-chat"
disconnect "/usr/sbin/chat -f /etc/ppp/chatscripts/gprs-disconnect-chat"
файл gprs-eric-connect-chat
#
# chat script to open Sonera GPRS service with Ericsson R520m.
#
# If ppp negotiation stalls, try restarting the phone.
# For more details of what the commands do, see ETSI TS 127 007
# (AT command set for User Equipment), at http://www.etsi.org/,
# and your phone's documentation.
#
# $Id: gprs-eric-connect-chat,v 1.4 2001/12/18 15:58:37 tjd21 Exp $
# Boilerplate
#
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT '\nRINGING\r\n\r\nRINGING\r'
SAY "GPRS modem init: press <ctrl>-C to disconnect"
# Wake up the modem
#
TIMEOUT 5
'' '+++AT'
OK-ATQ0V1&C1-OK 'ATE1'
ABORT 'ERROR'
TIMEOUT 12
# Factory defaults on the Ericsson are pretty sane; let's go with them.
# (RTS/CTS, 50sec call timeout, 8n1/auto-rate, verbose responses)
# Also, use '+CME ERROR' codes for ME errors, 'ERROR' for syntax errors
#
OK 'AT&F'
OK 'AT+CMEE=2'
# The Ericsson has multiple contexts; set ourselves up in context 1:
# cid = 1 (which context)
# PDP_type = IP (packet type)
# APN = internet.beeline.ru (GGSN)
# PDP_addr = "0.0.0.0" (our address, null means they choose)
# data_comp = 0 (data compression)
# head_comp = 0 (header compression)
#
OK 'AT+CGDCONT=1,"IP","internet.beeline.ru","0.0.0.0",0,0'
SAY "\n + defining PDP context"
# QoS requested, and minimum accptable, for our context
# (<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean>)
# "0" means let the network pick.
#
OK 'AT+CGQREQ=1,0,0,0,0,0'
SAY "\n + defining QoS requirements"
OK 'AT+CGQMIN=1,0,0,0,0,0'
# Attach to the GPRS service. Strictly, we don't need this step,
# as AT+CGDATA will do it for us, but doing it explicitly makes it
# a little easier to debug.
#
TIMEOUT 45
OK 'AT+CGATT=1'
SAY "\n + attaching to GPRS"
# Enter data state
#
OK 'AT+CGDATA="PPP",1'
SAY "\n + requesting data connection"
CONNECT ''
SAY "\n + connected"
файл ppp-connect-errors
GPRS modem init: press <ctrl>-C to disconnect
+ defining PDP context
+ defining QoS requirements
+ requesting data connection
+ connected
+ sending break
+ dropping data connection
+ disconnecting from GPRS
+ disconnected.
+ sending break
+ dropping data connection
+ disconnecting from GPRS
+ disconnected.
На телефоне появляется надпись GRPRS request rejected....
и всё...
Может кто сталкивался с табой проблемой?
- zyxel
- Неотъемлемая часть форума
- Сообщения: 985
- Зарегистрирован: 07 июн 2002, 12:05
- Откуда: Минск, РБ
- Контактная информация:
у меня такое было, когда Велик переходил с анлима на плату за траф. Это были его глюки (звонил оператору спрашивал). Потом, дня через 2-3 все стало ОК.Riskkman писал(а):Llama, -
don't recive remote IP
-Сынок, вставай, 5 утра, пора на работу.
-Папа, на какую работу ? Сегодня воскресенье !
-Сынок, какое воскресенье ! Мы же негры !
(С) анекдот
-Папа, на какую работу ? Сегодня воскресенье !
-Сынок, какое воскресенье ! Мы же негры !
(С) анекдот