ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey <sharavin@sibmail.ru>
To: Community@altlinux.ru
Subject: [Comm] Как настроить Wvdial под GPRS
Date: Sun, 23 May 2004 17:48:21 +0700
Message-ID: <40B08175.1010507@sibmail.ru> (raw)

  Доброго всем времени суток.

Помогите с проблемой,не могу настроить
Wvdial для GPRS-а. В инете нашёл статью
все сделал как там написано.
 
Откройте на редактирование файл /etc/wvdial.conf и впишите в него примерно следующую секцию: 


      [Dialer Defaults]

      Modem = /dev/ttyUSB0

      Baud = 115200

      Init1 = ATZ

      # Строка инициализации для использования GPRS (уточните у своего оператора)

      Init2 = AT+CGDCONT=1,"IP","internet.mts.ru"

      Phone = *99***1#

      # Имя пользователя

      Username = mts

      # Пароль

      Password = mts

  В оигинальной статье настройка под Билайн и у меня модем распазнаётся 
как /dev/ttyUSB0 а в статье /dev/modem
Прописал  адреса DNS-сервера в /etc/resolv.conf

И вот что у меня получается при запуске Wvdial

[sergey@localhost sergey]$ wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet.mts.ru"
AT+CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Sending: ATDP*99***1#
--> Waiting for carrier.
ATDP*99***1#
CONNECT
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&S_D1}#}%B#}%}!u~
--> Carrier detected.  Waiting for prompt.
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&S_D1}#}%B#}%}!u~
--> PPP negotiation detected.
--> Starting pppd at Sun May 23 17:13:30 2004
--> pid of pppd: 6038
--> Disconnecting at Sun May 23 17:13:30 2004
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
[sergey@localhost sergey]$

Вроде соединение происходит и сразу разрывается.

P.S.  В KPPP всё работает отлично.
Система ALT Compact 2.3

  С уважением.
        Сергей.



             reply	other threads:[~2004-05-23 10:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 10:48 Sergey [this message]
2004-05-23 20:36 ` Barabashka
2004-05-23 23:41   ` Sergey
2004-05-24  5:47     ` Barabashka
2004-05-24 11:20       ` Sergey
2004-05-24 12:18         ` Barabashka
2004-05-24 14:51           ` Sergey
2004-05-24 18:15             ` Valery V. Inozemtsev
2004-05-24 23:19               ` Sergey
2004-05-25 17:34                 ` Sergey V Turchin
2004-05-25  3:36             ` Sergey V. Golovin
2004-05-26 12:55               ` Sergey
2004-05-27  3:24                 ` Sergey V. Golovin
2004-05-30  8:50             ` Aleksander Fetininsky

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=40B08175.1010507@sibmail.ru \
    --to=sharavin@sibmail.ru \
    --cc=Community@altlinux.ru \
    /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