* [Comm] Кто-нить пользует GPRS + kppp ??? @ 2003-12-26 18:35 Artem 2003-12-26 18:40 ` Serge Polkovnikov 2003-12-26 19:15 ` INCOGNITO Lucard 0 siblings, 2 replies; 12+ messages in thread From: Artem @ 2003-12-26 18:35 UTC (permalink / raw) To: community Почему со скриптами и запуском из командной строки pppd нормально запускается, а kppp - ни в какую? Происходит набор номера - в журнале kppp - строка CONNECT - и на этом все.... Бежит полоска по экрану телефона, при запуске кррр из консоли вижу следующее: Couldn't find interface ppp0: No such device Kernel supports ppp alright. Couldn't find interface ppp0: No such device Couldn't find interface ppp0: No such device Couldn't find interface ppp0: No such device Из скриптов все работает на "ура". Что же хочет этот kppp ? ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 18:35 [Comm] Кто-нить пользует GPRS + kppp ??? Artem @ 2003-12-26 18:40 ` Serge Polkovnikov 2003-12-26 19:00 ` Artem 2003-12-26 19:17 ` INCOGNITO Lucard 2003-12-26 19:15 ` INCOGNITO Lucard 1 sibling, 2 replies; 12+ messages in thread From: Serge Polkovnikov @ 2003-12-26 18:40 UTC (permalink / raw) To: community п'ятниця 26 грудень 2003 20:35, Artem Ви написали: > Почему со скриптами и запуском из командной строки pppd нормально > запускается, а kppp - ни в какую? > Происходит набор номера - в журнале kppp - строка CONNECT - и на этом > все.... Бежит полоска по экрану телефона, при запуске кррр из консоли > вижу следующее: > > Couldn't find interface ppp0: No such device > Kernel supports ppp alright. > Couldn't find interface ppp0: No such device > Couldn't find interface ppp0: No such device > Couldn't find interface ppp0: No such device > > Из скриптов все работает на "ура". Что же хочет этот kppp ? перед запуском kppp убейте defaultroute или опустите интерфейс на который он указыват. Мне это помогает. Скрипты убивают маршрут по умолчанию самостоятельно > _______________________________________________ > Community mailing list > Community@altlinux.ru > http://www.altlinux.ru/mailman/listinfo/community -- С уважением Сергей Полковников ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 18:40 ` Serge Polkovnikov @ 2003-12-26 19:00 ` Artem 2003-12-26 19:09 ` Serge Polkovnikov 2003-12-26 19:17 ` INCOGNITO Lucard 1 sibling, 1 reply; 12+ messages in thread From: Artem @ 2003-12-26 19:00 UTC (permalink / raw) To: community Serge Polkovnikov пишет: >п'ятниця 26 грудень 2003 20:35, Artem Ви написали: > > >>Почему со скриптами и запуском из командной строки pppd нормально >>запускается, а kppp - ни в какую? >>Происходит набор номера - в журнале kppp - строка CONNECT - и на этом >>все.... Бежит полоска по экрану телефона, при запуске кррр из консоли >>вижу следующее: >> >>Couldn't find interface ppp0: No such device >>Kernel supports ppp alright. >>Couldn't find interface ppp0: No such device >>Couldn't find interface ppp0: No such device >>Couldn't find interface ppp0: No such device >> >>Из скриптов все работает на "ура". Что же хочет этот kppp ? >> >> > >перед запуском kppp убейте defaultroute или опустите интерфейс на который он >указыват. Мне это помогает. Скрипты убивают маршрут по умолчанию >самостоятельно > > > > >>_______________________________________________ >>Community mailing list >>Community@altlinux.ru >>http://www.altlinux.ru/mailman/listinfo/community >> >> > > > Сорри, что-то не понял, где это делается и как убивается? В /etc/ppp/options ??? Или в меню настройки кррр ? И как убрать интерфейс, на который кажет кррр ? ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 19:00 ` Artem @ 2003-12-26 19:09 ` Serge Polkovnikov 2003-12-26 19:26 ` Artem 0 siblings, 1 reply; 12+ messages in thread From: Serge Polkovnikov @ 2003-12-26 19:09 UTC (permalink / raw) To: community п'ятниця 26 грудень 2003 21:00, Artem Ви написали: > Сорри, что-то не понял, где это делается и как убивается? В > /etc/ppp/options ??? Или в меню настройки кррр ? И как убрать > интерфейс, на который кажет кррр ? Вообще, я имел ввиду случай, если у вас на компе есть еще сетевуха и установлен маршрут по умолчанию (это у меня так). Если это так, то можно сделать следующее: ifdown eth0 - это опустит сетевой интерфейс и маршрут по умолчанию. Или можно просто убрать маршрут по умолчанию : route del defaultroute Но возможно у вас другой случай... -- С уважением Сергей Полковников ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 19:09 ` Serge Polkovnikov @ 2003-12-26 19:26 ` Artem 2003-12-26 21:07 ` Mikhail Arkhipov 0 siblings, 1 reply; 12+ messages in thread From: Artem @ 2003-12-26 19:26 UTC (permalink / raw) To: community Serge Polkovnikov пишет: >п'ятниця 26 грудень 2003 21:00, Artem Ви написали: > > >>Сорри, что-то не понял, где это делается и как убивается? В >>/etc/ppp/options ??? Или в меню настройки кррр ? И как убрать >>интерфейс, на который кажет кррр ? >> >> >Вообще, я имел ввиду случай, если у вас на компе есть еще сетевуха и >установлен маршрут по умолчанию (это у меня так). Если это так, то можно >сделать следующее: >ifdown eth0 - это опустит сетевой интерфейс и маршрут по умолчанию. >Или можно просто убрать маршрут по умолчанию : route del defaultroute >Но возможно у вас другой случай... > > > Нет, сетевухи нету. скрипт следующий: ECHO ON ABORT "BUSY" ABORT "NO CARRIER" SAY 'Dialing to GPRS...\n' '' AT #OK 'AT+CGDCONT=1,"IP","unlim.velcom.by"' <=== (без нее тоже прекрасно работает) OK 'ATDT*99#' TIMEOUT 30 CONNECT '' настройки /etc/ppp/options : debug nodetach /dev/ttyS0 57600 mtu 576 mru 576 connect '/usr/sbin/chat -v -f /etc/ppp/peers/GPRS.chat' #disconnect '/etc/ppp/peers/GPRS-disconnect.chat' #nocdtrcts #crtscts local name unlim ipcp-accept-local ipcp-accept-remote noipdefault defaultroute usepeerdns novj nobsdcomp novjccomp nopcomp noaccomp noauth При запуске из консоли все соединяется и рррd выдает следующее: OK ATDT*99# CONNECT Serial connection established. using channel 18 Using interface ppp0 Connect: ppp0 <--> /dev/ttyS0 sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0xbee58ea0>] rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>] sent [LCP ConfRej id=0x1 <pcomp> <accomp>] rcvd [LCP ConfRej id=0x1 <magic 0xbee58ea0>] sent [LCP ConfReq id=0x2 <mru 576> <asyncmap 0x0>] rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap>] sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap>] rcvd [LCP ConfAck id=0x2 <mru 576> <asyncmap 0x0>] sent [PAP AuthReq id=0x1 user="unlim" password=<hidden>] rcvd [PAP AuthAck id=0x1 ""] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] sent [CCP ConfReq id=0x1 <deflate 15 18 04 78 00] rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00] rcvd [IPCP ConfReq id=0x1 <addr 10.20.255.254>] sent [IPCP ConfAck id=0x1 <addr 10.20.255.254>] rcvd [IPCP ConfNak id=0x1 <addr 10.20.210.231> <ms-dns1 193.232.248.45> <ms-dns3 193.232.248.2>] sent [IPCP ConfReq id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> <ms-dns3 193.232.248.2>] rcvd [IPCP ConfAck id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> <ms-dns3 193.232.248.2>] local IP address 10.20.210.231 remote IP address 10.20.255.254 primary DNS address 193.232.248.45 secondary DNS address 193.232.248.2 Script /etc/ppp/ip-up started (pid 2257) Script /etc/ppp/ip-up finished (pid 2257), status = 0x0 При попытке подключиться через kppp - набирается номер, в журнале : ATZ OK ATDT *99# CONNECT далее - "вход в сеть" и на этом все заканчивается.... ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 19:26 ` Artem @ 2003-12-26 21:07 ` Mikhail Arkhipov 2003-12-26 21:29 ` Artem 0 siblings, 1 reply; 12+ messages in thread From: Mikhail Arkhipov @ 2003-12-26 21:07 UTC (permalink / raw) To: community В сообщении от 26 Декабрь 2003 22:26 Artem написал(a): > Serge Polkovnikov пишет: > >п'ятниця 26 грудень 2003 21:00, Artem Ви написали: > >>Сорри, что-то не понял, где это делается и как убивается? В > >>/etc/ppp/options ??? Или в меню настройки кррр ? И как убрать > >>интерфейс, на который кажет кррр ? > > > >Вообще, я имел ввиду случай, если у вас на компе есть еще сетевуха и > >установлен маршрут по умолчанию (это у меня так). Если это так, то можно > >сделать следующее: > >ifdown eth0 - это опустит сетевой интерфейс и маршрут по умолчанию. > >Или можно просто убрать маршрут по умолчанию : route del defaultroute > >Но возможно у вас другой случай... > > Нет, сетевухи нету. > > скрипт следующий: > ECHO ON > ABORT "BUSY" > ABORT "NO CARRIER" > SAY 'Dialing to GPRS...\n' > '' AT > #OK 'AT+CGDCONT=1,"IP","unlim.velcom.by"' <=== (без нее тоже > прекрасно работает) > OK 'ATDT*99#' > TIMEOUT 30 > CONNECT '' > > настройки /etc/ppp/options : > > debug > nodetach > /dev/ttyS0 > 57600 > mtu 576 > mru 576 > connect '/usr/sbin/chat -v -f /etc/ppp/peers/GPRS.chat' > #disconnect '/etc/ppp/peers/GPRS-disconnect.chat' > #nocdtrcts > #crtscts > local > name unlim > ipcp-accept-local > ipcp-accept-remote > noipdefault > defaultroute > usepeerdns > novj > nobsdcomp > novjccomp > nopcomp > noaccomp > noauth > > При запуске из консоли все соединяется и рррd выдает следующее: > > OK > ATDT*99# > CONNECT > Serial connection established. > using channel 18 > Using interface ppp0 > Connect: ppp0 <--> /dev/ttyS0 > sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0xbee58ea0>] > rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>] > sent [LCP ConfRej id=0x1 <pcomp> <accomp>] > rcvd [LCP ConfRej id=0x1 <magic 0xbee58ea0>] > sent [LCP ConfReq id=0x2 <mru 576> <asyncmap 0x0>] > rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap>] > sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap>] > rcvd [LCP ConfAck id=0x2 <mru 576> <asyncmap 0x0>] > sent [PAP AuthReq id=0x1 user="unlim" password=<hidden>] > rcvd [PAP AuthAck id=0x1 ""] > sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 > 0.0.0.0>] > sent [CCP ConfReq id=0x1 <deflate 15 18 04 78 00] > rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00] > rcvd [IPCP ConfReq id=0x1 <addr 10.20.255.254>] > sent [IPCP ConfAck id=0x1 <addr 10.20.255.254>] > rcvd [IPCP ConfNak id=0x1 <addr 10.20.210.231> <ms-dns1 193.232.248.45> > <ms-dns3 193.232.248.2>] > sent [IPCP ConfReq id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> > <ms-dns3 193.232.248.2>] > rcvd [IPCP ConfAck id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> > <ms-dns3 193.232.248.2>] > local IP address 10.20.210.231 > remote IP address 10.20.255.254 > primary DNS address 193.232.248.45 > secondary DNS address 193.232.248.2 > Script /etc/ppp/ip-up started (pid 2257) > Script /etc/ppp/ip-up finished (pid 2257), status = 0x0 > > При попытке подключиться через kppp - набирается номер, в журнале : > ATZ > OK > ATDT *99# > CONNECT > > далее - "вход в сеть" и на этом все заканчивается.... На этом месте затык может происходить по причине неправильной авторизации. Можно поиграть выбором PAP/CHAP, разные провайдеры требуют конкретной установки. Или увеличить тайминги pppd в закладке "Разное". Но скорее всего в командах модема не указано AT+CGDCONT=1,"IP","unlim.velcom.by". Без этого не со всеми телефонами связь по GPRS устанавливается. С уважением, Михаил. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 21:07 ` Mikhail Arkhipov @ 2003-12-26 21:29 ` Artem 2003-12-26 21:58 ` Mikhail Arkhipov 0 siblings, 1 reply; 12+ messages in thread From: Artem @ 2003-12-26 21:29 UTC (permalink / raw) To: community Mikhail Arkhipov пишет: >В сообщении от 26 Декабрь 2003 22:26 Artem написал(a): > > >>Serge Polkovnikov пишет: >> >> >>>п'ятниця 26 грудень 2003 21:00, Artem Ви написали: >>> >>> >>>>Сорри, что-то не понял, где это делается и как убивается? В >>>>/etc/ppp/options ??? Или в меню настройки кррр ? И как убрать >>>>интерфейс, на который кажет кррр ? >>>> >>>> >>>Вообще, я имел ввиду случай, если у вас на компе есть еще сетевуха и >>>установлен маршрут по умолчанию (это у меня так). Если это так, то можно >>>сделать следующее: >>>ifdown eth0 - это опустит сетевой интерфейс и маршрут по умолчанию. >>>Или можно просто убрать маршрут по умолчанию : route del defaultroute >>>Но возможно у вас другой случай... >>> >>> >>Нет, сетевухи нету. >> >>скрипт следующий: >>ECHO ON >>ABORT "BUSY" >>ABORT "NO CARRIER" >>SAY 'Dialing to GPRS...\n' >>'' AT >>#OK 'AT+CGDCONT=1,"IP","unlim.velcom.by"' <=== (без нее тоже >>прекрасно работает) >>OK 'ATDT*99#' >>TIMEOUT 30 >>CONNECT '' >> >>настройки /etc/ppp/options : >> >>debug >>nodetach >>/dev/ttyS0 >>57600 >>mtu 576 >>mru 576 >>connect '/usr/sbin/chat -v -f /etc/ppp/peers/GPRS.chat' >>#disconnect '/etc/ppp/peers/GPRS-disconnect.chat' >>#nocdtrcts >>#crtscts >>local >>name unlim >>ipcp-accept-local >>ipcp-accept-remote >>noipdefault >>defaultroute >>usepeerdns >>novj >>nobsdcomp >>novjccomp >>nopcomp >>noaccomp >>noauth >> >>При запуске из консоли все соединяется и рррd выдает следующее: >> >>OK >>ATDT*99# >>CONNECT >>Serial connection established. >>using channel 18 >>Using interface ppp0 >>Connect: ppp0 <--> /dev/ttyS0 >>sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0xbee58ea0>] >>rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>] >>sent [LCP ConfRej id=0x1 <pcomp> <accomp>] >>rcvd [LCP ConfRej id=0x1 <magic 0xbee58ea0>] >>sent [LCP ConfReq id=0x2 <mru 576> <asyncmap 0x0>] >>rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap>] >>sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap>] >>rcvd [LCP ConfAck id=0x2 <mru 576> <asyncmap 0x0>] >>sent [PAP AuthReq id=0x1 user="unlim" password=<hidden>] >>rcvd [PAP AuthAck id=0x1 ""] >>sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 >>0.0.0.0>] >>sent [CCP ConfReq id=0x1 <deflate 15 18 04 78 00] >>rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00] >>rcvd [IPCP ConfReq id=0x1 <addr 10.20.255.254>] >>sent [IPCP ConfAck id=0x1 <addr 10.20.255.254>] >>rcvd [IPCP ConfNak id=0x1 <addr 10.20.210.231> <ms-dns1 193.232.248.45> >><ms-dns3 193.232.248.2>] >>sent [IPCP ConfReq id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> >><ms-dns3 193.232.248.2>] >>rcvd [IPCP ConfAck id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> >><ms-dns3 193.232.248.2>] >>local IP address 10.20.210.231 >>remote IP address 10.20.255.254 >>primary DNS address 193.232.248.45 >>secondary DNS address 193.232.248.2 >>Script /etc/ppp/ip-up started (pid 2257) >>Script /etc/ppp/ip-up finished (pid 2257), status = 0x0 >> >>При попытке подключиться через kppp - набирается номер, в журнале : >>ATZ >>OK >>ATDT *99# >>CONNECT >> >>далее - "вход в сеть" и на этом все заканчивается.... >> >> > >На этом месте затык может происходить по причине >неправильной авторизации. Можно поиграть выбором >PAP/CHAP, разные провайдеры требуют конкретной >установки. Или увеличить тайминги pppd в закладке >"Разное". Но скорее всего в командах модема >не указано AT+CGDCONT=1,"IP","unlim.velcom.by". >Без этого не со всеми телефонами связь по GPRS >устанавливается. > >С уважением, Михаил. > > > > Хм... Смоделировал такую же ситуацию со скриптом - если закомментить строчку CONNECT - происходит то же самое .... Что это за CONNECT ?? - в манах о нем не сказано ничего. Никак не могу понять, где же грабли.... ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 21:29 ` Artem @ 2003-12-26 21:58 ` Mikhail Arkhipov 2003-12-27 0:03 ` Artem 0 siblings, 1 reply; 12+ messages in thread From: Mikhail Arkhipov @ 2003-12-26 21:58 UTC (permalink / raw) To: community В сообщении от 27 Декабрь 2003 00:29 Artem написал(a): > Mikhail Arkhipov пишет: > >В сообщении от 26 Декабрь 2003 22:26 Artem написал(a): > >>Serge Polkovnikov пишет: > >>>п'ятниця 26 грудень 2003 21:00, Artem Ви написали: > >>>>Сорри, что-то не понял, где это делается и как убивается? В > >>>>/etc/ppp/options ??? Или в меню настройки кррр ? И как убрать > >>>>интерфейс, на который кажет кррр ? > >>> > >>>Вообще, я имел ввиду случай, если у вас на компе есть еще сетевуха и > >>>установлен маршрут по умолчанию (это у меня так). Если это так, то можно > >>>сделать следующее: > >>>ifdown eth0 - это опустит сетевой интерфейс и маршрут по умолчанию. > >>>Или можно просто убрать маршрут по умолчанию : route del defaultroute > >>>Но возможно у вас другой случай... > >> > >>Нет, сетевухи нету. > >> > >>скрипт следующий: > >>ECHO ON > >>ABORT "BUSY" > >>ABORT "NO CARRIER" > >>SAY 'Dialing to GPRS...\n' > >>'' AT > >>#OK 'AT+CGDCONT=1,"IP","unlim.velcom.by"' <=== (без нее тоже > >>прекрасно работает) > >>OK 'ATDT*99#' > >>TIMEOUT 30 > >>CONNECT '' > >> > >>настройки /etc/ppp/options : > >> > >>debug > >>nodetach > >>/dev/ttyS0 > >>57600 > >>mtu 576 > >>mru 576 > >>connect '/usr/sbin/chat -v -f /etc/ppp/peers/GPRS.chat' > >>#disconnect '/etc/ppp/peers/GPRS-disconnect.chat' > >>#nocdtrcts > >>#crtscts > >>local > >>name unlim > >>ipcp-accept-local > >>ipcp-accept-remote > >>noipdefault > >>defaultroute > >>usepeerdns > >>novj > >>nobsdcomp > >>novjccomp > >>nopcomp > >>noaccomp > >>noauth > >> > >>При запуске из консоли все соединяется и рррd выдает следующее: > >> > >>OK > >>ATDT*99# > >>CONNECT > >>Serial connection established. > >>using channel 18 > >>Using interface ppp0 > >>Connect: ppp0 <--> /dev/ttyS0 > >>sent [LCP ConfReq id=0x1 <mru 576> <asyncmap 0x0> <magic 0xbee58ea0>] > >>rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>] > >>sent [LCP ConfRej id=0x1 <pcomp> <accomp>] > >>rcvd [LCP ConfRej id=0x1 <magic 0xbee58ea0>] > >>sent [LCP ConfReq id=0x2 <mru 576> <asyncmap 0x0>] > >>rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap>] > >>sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap>] > >>rcvd [LCP ConfAck id=0x2 <mru 576> <asyncmap 0x0>] > >>sent [PAP AuthReq id=0x1 user="unlim" password=<hidden>] > >>rcvd [PAP AuthAck id=0x1 ""] > >>sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 > >>0.0.0.0>] > >>sent [CCP ConfReq id=0x1 <deflate 15 18 04 78 00] > >>rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00] > >>rcvd [IPCP ConfReq id=0x1 <addr 10.20.255.254>] > >>sent [IPCP ConfAck id=0x1 <addr 10.20.255.254>] > >>rcvd [IPCP ConfNak id=0x1 <addr 10.20.210.231> <ms-dns1 193.232.248.45> > >><ms-dns3 193.232.248.2>] > >>sent [IPCP ConfReq id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> > >><ms-dns3 193.232.248.2>] > >>rcvd [IPCP ConfAck id=0x2 <addr 10.20.210.231> <ms-dns1 193.232.248.45> > >><ms-dns3 193.232.248.2>] > >>local IP address 10.20.210.231 > >>remote IP address 10.20.255.254 > >>primary DNS address 193.232.248.45 > >>secondary DNS address 193.232.248.2 > >>Script /etc/ppp/ip-up started (pid 2257) > >>Script /etc/ppp/ip-up finished (pid 2257), status = 0x0 > >> > >>При попытке подключиться через kppp - набирается номер, в журнале : > >>ATZ > >>OK > >>ATDT *99# > >>CONNECT > >> > >>далее - "вход в сеть" и на этом все заканчивается.... > > > >На этом месте затык может происходить по причине > >неправильной авторизации. Можно поиграть выбором > >PAP/CHAP, разные провайдеры требуют конкретной > >установки. Или увеличить тайминги pppd в закладке > >"Разное". Но скорее всего в командах модема > >не указано AT+CGDCONT=1,"IP","unlim.velcom.by". > >Без этого не со всеми телефонами связь по GPRS > >устанавливается. > > > >С уважением, Михаил. > > Хм... Смоделировал такую же ситуацию со скриптом - если закомментить > строчку CONNECT - происходит то же самое .... > Что это за CONNECT ?? - в манах о нем не сказано ничего. Никак не могу > понять, где же грабли.... А в настройках kppp в аргументах pppd стоят novj, novjccomp и пр.? CONNECT - это отклик модема на установленное соединение с модемом/пулом на стороне провайдера (в данном случае). Означает, что обе стороны "договорились" об используемых протоколах. С уважением, Михаил. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 21:58 ` Mikhail Arkhipov @ 2003-12-27 0:03 ` Artem 2003-12-27 6:45 ` Mikhail Arkhipov 0 siblings, 1 reply; 12+ messages in thread From: Artem @ 2003-12-27 0:03 UTC (permalink / raw) To: community Mikhail Arkhipov пишет: >А в настройках kppp в аргументах pppd стоят novj, novjccomp и пр.? >CONNECT - это отклик модема на установленное соединение с модемом/пулом >на стороне провайдера (в данном случае). Означает, что обе стороны >"договорились" об используемых протоколах. >С уважением, Михаил. > > >------------------------------------------------------------------------ > >_______________________________________________ >Community mailing list >Community@altlinux.ru >http://www.altlinux.ru/mailman/listinfo/community > Спасибо за помощь - разобрался с этим вопросом. Т.к. подключение через китайский шнурок по 2-м линиям, то нужно писать local в доп. параметрах pppd (отключение контроля несущей) и очистить файл /etc/ppp/options от старых параметров, в которых вызывался скрипт, из-за чего телефон снова и снова пытался подключиться... Вот уж не думал, что может быть такой конфликт между kppp и pppd - получается, kppp производил подключение, а потом то же самое пытался сделать pppd через скрипт. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-27 0:03 ` Artem @ 2003-12-27 6:45 ` Mikhail Arkhipov 0 siblings, 0 replies; 12+ messages in thread From: Mikhail Arkhipov @ 2003-12-27 6:45 UTC (permalink / raw) To: community В сообщении от 27 Декабрь 2003 03:03 Artem написал(a): > Mikhail Arkhipov пишет: > >А в настройках kppp в аргументах pppd стоят novj, novjccomp и пр.? > >CONNECT - это отклик модема на установленное соединение с модемом/пулом > >на стороне провайдера (в данном случае). Означает, что обе стороны > >"договорились" об используемых протоколах. > >С уважением, Михаил. > > > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >Community mailing list > >Community@altlinux.ru > >http://www.altlinux.ru/mailman/listinfo/community > > Спасибо за помощь - разобрался с этим вопросом. Т.к. подключение через > китайский шнурок по 2-м линиям, то нужно писать local в доп. > параметрах pppd (отключение контроля несущей) и очистить файл > /etc/ppp/options от старых параметров, в которых вызывался скрипт, > из-за чего телефон снова и снова пытался подключиться... Вот уж не > думал, что может быть такой конфликт между kppp и pppd - получается, > kppp производил подключение, а потом то же самое пытался сделать pppd > через скрипт. > У меня несколько похожая ситуация была. Конфликтовали GPRS-модем и встроенный. Удачи, Михаил. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 18:40 ` Serge Polkovnikov 2003-12-26 19:00 ` Artem @ 2003-12-26 19:17 ` INCOGNITO Lucard 1 sibling, 0 replies; 12+ messages in thread From: INCOGNITO Lucard @ 2003-12-26 19:17 UTC (permalink / raw) To: community On Fri, 26 Dec 2003 20:40:18 +0200 Serge Polkovnikov <serge@ukr-fin.com.ua> wrote: >п'ятниця 26 грудень 2003 20:35, Artem Ви написали: >> Почему со скриптами и запуском из командной строки pppd нормально >> запускается, а kppp - ни в какую? >> Происходит набор номера - в журнале kppp - строка CONNECT - и на >>этом >> все.... Бежит полоска по экрану телефона, при запуске кррр из >>консоли >> вижу следующее: >> >> Couldn't find interface ppp0: No such device >> Kernel supports ppp alright. >> Couldn't find interface ppp0: No such device >> Couldn't find interface ppp0: No such device >> Couldn't find interface ppp0: No such device >> >> Из скриптов все работает на "ура". Что же хочет этот kppp ? > >перед запуском kppp убейте defaultroute или опустите интерфейс на >который он >указыват. Мне это помогает. Скрипты убивают маршрут по умолчанию >самостоятельно > > >> _______________________________________________ >> Community mailing list >> Community@altlinux.ru >> http://www.altlinux.ru/mailman/listinfo/community > >-- >С уважением > Сергей Полковников > >_______________________________________________ >Community mailing list >Community@altlinux.ru >http://www.altlinux.ru/mailman/listinfo/community Можно не убивать роут а просто убрать дефайлт гетевей или в настройках kppp сказать (точнее поставить галку) что это соединение будет дефолтовом если руками гетевей убивать, то /etv/sysconfig/network в это файле и смотри, а так я у себя настраивал по доке с www.linux.org.ru Приятной вам жизни после жизни ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Кто-нить пользует GPRS + kppp ??? 2003-12-26 18:35 [Comm] Кто-нить пользует GPRS + kppp ??? Artem 2003-12-26 18:40 ` Serge Polkovnikov @ 2003-12-26 19:15 ` INCOGNITO Lucard 1 sibling, 0 replies; 12+ messages in thread From: INCOGNITO Lucard @ 2003-12-26 19:15 UTC (permalink / raw) To: community On Fri, 26 Dec 2003 20:35:04 +0200 Artem <u2u@nm.ru> wrote: >Почему со скриптами и запуском из командной строки pppd нормально >запускается, а kppp - ни в какую? >Происходит набор номера - в журнале kppp - строка CONNECT - и на >этом все.... Бежит полоска по экрану телефона, при запуске кррр из >консоли вижу следующее: > >Couldn't find interface ppp0: No such device >Kernel supports ppp alright. >Couldn't find interface ppp0: No such device >Couldn't find interface ppp0: No such device >Couldn't find interface ppp0: No such device > >Из скриптов все работает на "ура". Что же хочет этот kppp ? > >_______________________________________________ >Community mailing list >Community@altlinux.ru >http://www.altlinux.ru/mailman/listinfo/community У меня тоже самое, только нормально конектиться под рутом пришлось прописывать маршрутизацию и давать доступ обычному юзеру к kppp так как, когда обычный юзер пускал kppp после конекта (проверки логина и пасса) сбрасывал мопед и занова конектился. А теперь всё нормально работает. Приятной вам жизни после жизни ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-12-27 6:45 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-12-26 18:35 [Comm] Кто-нить пользует GPRS + kppp ??? Artem 2003-12-26 18:40 ` Serge Polkovnikov 2003-12-26 19:00 ` Artem 2003-12-26 19:09 ` Serge Polkovnikov 2003-12-26 19:26 ` Artem 2003-12-26 21:07 ` Mikhail Arkhipov 2003-12-26 21:29 ` Artem 2003-12-26 21:58 ` Mikhail Arkhipov 2003-12-27 0:03 ` Artem 2003-12-27 6:45 ` Mikhail Arkhipov 2003-12-26 19:17 ` INCOGNITO Lucard 2003-12-26 19:15 ` INCOGNITO Lucard
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