ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Victor <hisbreht@rambler.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] usb-gprs
Date: Thu, 26 Jun 2008 21:46:20 +0400
Message-ID: <200806262146.20111.hisbreht@rambler.ru> (raw)
In-Reply-To: <g3toqh$6d6$1@ger.gmane.org>

В сообщении от Wednesday 25 June 2008 19:38:53 Van Petrov написал(а):
> Кто-нибудь запускал gprs модем на pl2302 com порту????
>
> нашел совет, что мол только строку инициализации GPRS ную надо прописать
> на /dev/ttyUSB0
> Но модем инициализуется, но номер не набирает в kppp.
> В чем проблема?
Не знаю, в чем проблема, но имею подобное же безобразие - USB GPRS модем.
Из kppp не работает. Команды уходят как в бездну, без ответа. При этом в 
терминале модем нормально отвечает, да и pppd если ручками запустить, 
работает.
Что если попробовать ручками нарисовать скрипты и запустить от рута 
pppd call gprs

Надо всего только в /etc/ppp/peers разместить пару примерно таких (с точностью 
до аппаратно/операторо-зависимых деталей) файлов
chat gprs
======================
ECHO ON
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT 'ERROR'
REPORT 'CONNECT'
REPORT 'NO CARRIER'
REPORT 'NO DIAL TONE'
REPORT 'NO ANSWER'
REPORT 'ERROR'
SAY 'Dialing to GPRS...\n'
'' 'AT+CGDCONT=1,\"IP\",\"internet\"'
OK 'ATDP*99#'
CONNECT ''
======================
(номер во второй строке снизу может быть *99***1#, теоретически правильны оба, 
но некоторые модемы и телефоны понимают только один вариант)
и gprs
======================
/dev/ttyUSB0
230400
user "megafon"
defaultroute
lock
noauth
noipdefault
modem
debug
nodetach
lcp-restart 2
usepeerdns
connect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-gprs'
======================





-- 
Виктор

  parent reply	other threads:[~2008-06-26 17:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 15:38 Van Petrov
2008-06-25 16:32 ` Владимир Гусев
2008-06-27 11:36   ` Van Petrov
2008-06-26 17:46 ` Victor [this message]
2008-07-05  8:55 ` Радик Юсупов
2008-07-09 21:38   ` [Comm] права на устройства magedon.zt
2008-07-10  4:19     ` Igor Vlasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806262146.20111.hisbreht@rambler.ru \
    --to=hisbreht@rambler.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git