* [Comm] Как настроить Wvdial под GPRS
@ 2004-05-23 10:48 Sergey
2004-05-23 20:36 ` Barabashka
0 siblings, 1 reply; 14+ messages in thread
From: Sergey @ 2004-05-23 10:48 UTC (permalink / raw)
To: Community
Доброго всем времени суток.
Помогите с проблемой,не могу настроить
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
С уважением.
Сергей.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-23 10:48 [Comm] Как настроить Wvdial под GPRS Sergey
@ 2004-05-23 20:36 ` Barabashka
2004-05-23 23:41 ` Sergey
0 siblings, 1 reply; 14+ messages in thread
From: Barabashka @ 2004-05-23 20:36 UTC (permalink / raw)
To: community
On 23 May, 17:48, Sergey wrote:
> Доброго всем времени суток.
>
> Помогите с проблемой,не могу настроить
> Wvdial для GPRS-а. В инете нашёл статью
> все сделал как там написано.
[skip]
> --> 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)
man pppd
2 An error was detected in processing the options given, such as
two mutually exclusive options being used.
посему в студию
cat /etc/ppp/{options,wvdial}
--
Looking for miracles?... Use windows.
Barabashka
JID barabashka@jabber.ru
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-23 20:36 ` Barabashka
@ 2004-05-23 23:41 ` Sergey
2004-05-24 5:47 ` Barabashka
0 siblings, 1 reply; 14+ messages in thread
From: Sergey @ 2004-05-23 23:41 UTC (permalink / raw)
To: community
>On 23 May, 17:48, Sergey wrote:
>
>
>> Доброго всем времени суток.
>>
>>Помогите с проблемой,не могу настроить
>>Wvdial для GPRS-а. В инете нашёл статью
>>все сделал как там написано
>>
>
>
>
>посему в студию
>
>cat /etc/ppp/{options,wvdial}
>
>
>
cat /etc/ppp/options
lock
noipdefault
noauth
cleardefaultroute
Файла /etc/ppp/wvdial нету.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-23 23:41 ` Sergey
@ 2004-05-24 5:47 ` Barabashka
2004-05-24 11:20 ` Sergey
0 siblings, 1 reply; 14+ messages in thread
From: Barabashka @ 2004-05-24 5:47 UTC (permalink / raw)
To: community
On 24 May, 06:41, Sergey wrote:
[skip]
> Файла /etc/ppp/wvdial нету.
Sorry, его и не должно быть. Я обшибся.
cat /etc/ppp/peers/wvdial -- вот он где.
--
Looking for miracles?... Use windows.
Barabashka
JID barabashka@jabber.ru
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 5:47 ` Barabashka
@ 2004-05-24 11:20 ` Sergey
2004-05-24 12:18 ` Barabashka
0 siblings, 1 reply; 14+ messages in thread
From: Sergey @ 2004-05-24 11:20 UTC (permalink / raw)
To: community
>>Файла /etc/ppp/wvdial нету.
>>
>>
>
>Sorry, его и не должно быть. Я обшибся.
>
>cat /etc/ppp/peers/wvdial -- вот он где.
>
>
>
Вот привожу /e/etc/ppp/peers/wvdialtc
noauth
name wvdial
usepeerdns
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 11:20 ` Sergey
@ 2004-05-24 12:18 ` Barabashka
2004-05-24 14:51 ` Sergey
0 siblings, 1 reply; 14+ messages in thread
From: Barabashka @ 2004-05-24 12:18 UTC (permalink / raw)
To: community
On 24 May, 18:20, Sergey wrote:
>
> >>Файла /etc/ppp/wvdial нету.
> >>
> >>
> >
> >Sorry, его и не должно быть. Я обшибся.
> >
> >cat /etc/ppp/peers/wvdial -- вот он где.
> >
> >
> >
> Вот привожу /e/etc/ppp/peers/wvdialtc
>
> noauth
>
> name wvdial
>
> usepeerdns
пропишите в /etc/ppp/options строчку
debug
позвоните и пришлите результат из /var/log/daemons/info ну или чего у вас
там на 12 консоле вылезет, после работы pppd
P.S. Посмотрите внимательно чего отсылаете, пароль доступа может быть в
открытом виде.
--
Looking for miracles?... Use windows.
Barabashka
JID barabashka@jabber.ru
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 12:18 ` Barabashka
@ 2004-05-24 14:51 ` Sergey
2004-05-24 18:15 ` Valery V. Inozemtsev
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Sergey @ 2004-05-24 14:51 UTC (permalink / raw)
To: community
Barabashka пишет:
>On 24 May, 18:20, Sergey wrote:
>
>
>>>>Файла /etc/ppp/wvdial нету.
>>>>
>>>>
>>>>
>>>>
>>>Sorry, его и не должно быть. Я обшибся.
>>>
>>>cat /etc/ppp/peers/wvdial -- вот он где.
>>>
>>>
>>>
>>>
>>>
>>Вот привожу /e/etc/ppp/peers/wvdialtc
>>
>>
>>
>>
>пропишите в /etc/ppp/options строчку
>debug
>
>позвоните и пришлите результат из /var/log/daemons/info
>
>
May 24 21:47:29 localhost pppd[2552]: pppd 2.4.2b3 started by root, uid 0
May 24 21:47:29 localhost pppd[2552]: using channel 2
May 24 21:47:29 localhost pppd[2552]: Using interface ppp0
May 24 21:47:29 localhost pppd[2552]: Connect: ppp0 <--> /dev/ttyUSB0
May 24 21:47:29 localhost pppd[2552]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x83cc8c14> <pcomp> <accomp>]
May 24 21:47:29 localhost pppd[2552]: rcvd [LCP ConfNak id=0x1 <asyncmap
0xa0000>]
May 24 21:47:29 localhost pppd[2552]: sent [LCP ConfReq id=0x2 <asyncmap
0xa0000> <magic 0x83cc8c14> <pcomp> <accomp>]
May 24 21:47:29 localhost pppd[2552]: rcvd [LCP ConfAck id=0x2 <asyncmap
0xa0000> <magic 0x83cc8c14> <pcomp> <accomp>]
May 24 21:47:32 localhost pppd[2552]: rcvd [LCP ConfReq id=0x3 <asyncmap
0xa0000> <pcomp> <accomp> <magic 0x3966fb65> <auth chap MD5>]
May 24 21:47:32 localhost pppd[2552]: No auth is possible
May 24 21:47:32 localhost pppd[2552]: sent [LCP ConfRej id=0x3 <auth
chap MD5>]
May 24 21:47:32 localhost pppd[2552]: rcvd [LCP ConfReq id=0x5 <asyncmap
0xa0000> <pcomp> <accomp> <magic 0x3966fb65> <auth pap>]
May 24 21:47:32 localhost pppd[2552]: No auth is possible
May 24 21:47:32 localhost pppd[2552]: sent [LCP ConfRej id=0x5 <auth pap>]
May 24 21:47:32 localhost pppd[2552]: rcvd [LCP ConfReq id=0x7 <asyncmap
0xa0000> <pcomp> <accomp> <magic 0x3966fb65>]
May 24 21:47:32 localhost pppd[2552]: sent [LCP ConfAck id=0x7 <asyncmap
0xa0000> <pcomp> <accomp> <magic 0x3966fb65>]
May 24 21:47:32 localhost pppd[2552]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
May 24 21:47:32 localhost pppd[2552]: sent [IPCP ConfReq id=0x1
<compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
May 24 21:47:32 localhost pppd[2552]: rcvd [LCP ProtRej id=0x8 80 fd 01
01 00 0f 1a 04 78 00 18 04 78]
May 24 21:47:33 localhost pppd[2552]: rcvd [LCP TermReq id=0x9]
May 24 21:47:33 localhost pppd[2552]: LCP terminated by peer
May 24 21:47:33 localhost pppd[2552]: sent [LCP TermAck id=0x9]
May 24 21:47:36 localhost pppd[2552]: rcvd [LCP TermReq id=0x9]
May 24 21:47:36 localhost pppd[2552]: sent [LCP TermAck id=0x9]
May 24 21:47:36 localhost pppd[2552]: Connection terminated.
May 24 21:47:36 localhost pppd[2552]: Exit.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 14:51 ` Sergey
@ 2004-05-24 18:15 ` Valery V. Inozemtsev
2004-05-24 23:19 ` Sergey
2004-05-25 3:36 ` Sergey V. Golovin
2004-05-30 8:50 ` Aleksander Fetininsky
2 siblings, 1 reply; 14+ messages in thread
From: Valery V. Inozemtsev @ 2004-05-24 18:15 UTC (permalink / raw)
To: community
<skip>
> <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
^^^^^^^^^^^^^^^^^^
отключите сжатие заголовков
в /etc/ppp/options добавить novj
<skip>
--
Valery V. Inozemtsev
ftp://ftp.altlinux.ru/pub/people/shrek/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 18:15 ` Valery V. Inozemtsev
@ 2004-05-24 23:19 ` Sergey
2004-05-25 17:34 ` Sergey V Turchin
0 siblings, 1 reply; 14+ messages in thread
From: Sergey @ 2004-05-24 23:19 UTC (permalink / raw)
To: community
>><compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
>>
>>
>
>
>отключите сжатие заголовков
>в /etc/ppp/options добавить novj
>
>
>
>
>
Не помогло :-(
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 14:51 ` Sergey
2004-05-24 18:15 ` Valery V. Inozemtsev
@ 2004-05-25 3:36 ` Sergey V. Golovin
2004-05-26 12:55 ` Sergey
2004-05-30 8:50 ` Aleksander Fetininsky
2 siblings, 1 reply; 14+ messages in thread
From: Sergey V. Golovin @ 2004-05-25 3:36 UTC (permalink / raw)
To: community
* Sergey <sharavin@sibmail.ru> [24 May Mon 21:51]
> May 24 21:47:29 localhost pppd[2552]: sent [LCP ConfReq id=0x1 <asyncmap
> 0x0> <magic 0x83cc8c14> <pcomp> <accomp>]
> May 24 21:47:29 localhost pppd[2552]: rcvd [LCP ConfNak id=0x1 <asyncmap
> 0xa0000>]
> May 24 21:47:29 localhost pppd[2552]: sent [LCP ConfReq id=0x2 <asyncmap
> 0xa0000> <magic 0x83cc8c14> <pcomp> <accomp>]
> May 24 21:47:29 localhost pppd[2552]: rcvd [LCP ConfAck id=0x2 <asyncmap
> 0xa0000> <magic 0x83cc8c14> <pcomp> <accomp>]
> May 24 21:47:32 localhost pppd[2552]: rcvd [LCP ConfReq id=0x3 <asyncmap
> 0xa0000> <pcomp> <accomp> <magic 0x3966fb65> <auth chap MD5>]
> May 24 21:47:32 localhost pppd[2552]: No auth is possible
> May 24 21:47:32 localhost pppd[2552]: sent [LCP ConfRej id=0x3 <auth
> chap MD5>]
> May 24 21:47:32 localhost pppd[2552]: rcvd [LCP ConfReq id=0x5 <asyncmap
> 0xa0000> <pcomp> <accomp> <magic 0x3966fb65> <auth pap>]
> May 24 21:47:32 localhost pppd[2552]: No auth is possible
У вас в параметрах есть строка
name wvdial
Насколько я знаю, для подключения по GPRS используется общий логин,
например у Би-ГСМ "beeline". Вы уверены, что Ваш логин у провайдера
"wvdial"?
--
Sergey Golovin
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 23:19 ` Sergey
@ 2004-05-25 17:34 ` Sergey V Turchin
0 siblings, 0 replies; 14+ messages in thread
From: Sergey V Turchin @ 2004-05-25 17:34 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
В сообщении от Вт 25 Май 2004 03:19 Sergey написал(a):
> >><compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
> >> 0.0.0.0>]
> >
> >отключите сжатие заголовков
> >в /etc/ppp/options добавить novj
>
> Не помогло :-(
nopredictor1
?
--
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-25 3:36 ` Sergey V. Golovin
@ 2004-05-26 12:55 ` Sergey
2004-05-27 3:24 ` Sergey V. Golovin
0 siblings, 1 reply; 14+ messages in thread
From: Sergey @ 2004-05-26 12:55 UTC (permalink / raw)
To: community
>У вас в параметрах есть строка
>
>name wvdial
>
>Насколько я знаю, для подключения по GPRS используется общий логин,
>например у Би-ГСМ "beeline". Вы уверены, что Ваш логин у провайдера
>"wvdial"?
>
>
>
И это не помогает :-\
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-26 12:55 ` Sergey
@ 2004-05-27 3:24 ` Sergey V. Golovin
0 siblings, 0 replies; 14+ messages in thread
From: Sergey V. Golovin @ 2004-05-27 3:24 UTC (permalink / raw)
To: community
* Sergey <sharavin@sibmail.ru> [26 May Wed 19:55]
> >name wvdial
> И это не помогает :-\
С теми же логами? Может быть, после правильной установки name
нужно поправить еще что-то?
--
Sergey Golovin
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Как настроить Wvdial под GPRS
2004-05-24 14:51 ` Sergey
2004-05-24 18:15 ` Valery V. Inozemtsev
2004-05-25 3:36 ` Sergey V. Golovin
@ 2004-05-30 8:50 ` Aleksander Fetininsky
2 siblings, 0 replies; 14+ messages in thread
From: Aleksander Fetininsky @ 2004-05-30 8:50 UTC (permalink / raw)
To: community
On Mon, May 24, 2004 at 21:51:44 +0700, Sergey wrote:
[...]
> May 24 21:47:32 localhost pppd[2552]: sent [CCP ConfReq id=0x1 <deflate
> 15> <deflate(old#) 15> <bsd v1 15>]
Вроде для GPRS надо отключать компрессию. Попробуйте прописать в
/etc/ppp/options:
nodeflate
nobsdcomp
Удачи.
Александр.
--
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2004-05-30 8:50 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 10:48 [Comm] Как настроить Wvdial под GPRS Sergey
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
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