LINUX.ORG.RU

Mandriva 2008 / C-motech CNU 550 / Diallog (CDMA), не получается подключиться к Интернету


0

0

Выполнил шаги, описанные тут: http://www.linux.org.ru/view-message.jsp?msgid=1875299, только скрипт /etc/ppp/peers/cdma-evdo чуть изменил:

921600
connect '/usr/sbin/chat -s -v "" "AT&F0E0V1S0=0" OK ATD#777 CONNECT'
debug
updetach
crtscts
noipdefault
nodetach
novj
lcp-echo-failure 0
nobsdcomp
novjccomp
nopcomp
noaccomp
noauth
user belcel
modem
usepeerdns
defaultroute
connect-delay 5000

в /etc/ppp/pap-secrets, соответственно:
belcel * cdma
cdma * belcel

Теперь запускаю:
pppd /dev/usb/ttyACM0 call cdma-evdo

и получаю фигу:

CDMA 2000 modem init: press <ctrl>-C to disconnect
Serial connection established.
using channel 11
Using interface ppp1
Connect: ppp1 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap> <magic> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru> <asyncmap> <auth> <magic> <pcomp> <accomp>]
sent [LCP ConfNak id=0x1 <auth>]
rcvd [LCP ConfAck id=0x1 <asyncmap> <magic> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru> <asyncmap> <auth> <magic> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <mru> <asyncmap> <auth> <magic> <pcomp> <accomp>]
sent [PAP AuthReq id=0x1 user="belcel" password=<hidden>]
rcvd [PAP AuthAck id=0x1 "Welcome to pdsn."]
Remote message: Welcome to pdsn.
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe> <deflate> <deflate> <bsd>]
sent [IPCP ConfReq id=0x1 <addr> <ms> <ms>]
rcvd [IPCP ConfReq id=0x0 <addr> <compress>]
sent [IPCP ConfRej id=0x0 <compress>]
rcvd [CCP ConfReq id=0x0 <mppe>]
sent [CCP ConfRej id=0x0 <mppe>]
rcvd [CCP ConfRej id=0x1 <deflate> <deflate> <bsd>]
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [IPCP ConfNak id=0x1 <addr> <ms> <ms>]
sent [IPCP ConfReq id=0x2 <addr> <ms> <ms>]
rcvd [IPCP ConfReq id=0x1 <addr>]
sent [IPCP ConfAck id=0x1 <addr>]
rcvd [CCP ConfReq id=0x1]
sent [CCP ConfAck id=0x1]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
rcvd [IPCP ConfAck id=0x2 <addr> <ms> <ms>]
not replacing existing default route through ppp0
local IP address 10.10.8.131
remote IP address 2.2.2.2
primary DNS address 194.226.121.42
secondary DNS address 193.232.248.45
Script /etc/ppp/ip-up started (pid 8647)
Script /etc/ppp/ip-up finished (pid 8647), status = 0x0
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
rcvd [CCP ConfReq id=0x2]
sent [CCP ConfAck id=0x2]
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
rcvd [CCP ConfReq id=0x3]
sent [CCP ConfAck id=0x3]
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
rcvd [CCP ConfReq id=0x4]
sent [CCP ConfAck id=0x4]
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
sent [CCP ConfReq id=0x2 <mppe>]
rcvd [CCP ConfRej id=0x2 <mppe>]
Received bad configure-rej: 12 06 00 00 00 00
rcvd [CCP TermReq id=0x5]
sent [CCP TermAck id=0x5]
rcvd [CCP TermReq id=0x6]
sent [CCP TermAck id=0x6]
rcvd [LCP ProtRej id=0x3 80 fd]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received

В общем, несмотря на якобы подключение, Интернета нет, ни Firefox, ни Konqueror не загружают ни единой странички. Где искать проблему?


Ответ на: комментарий от Bloody

Так я и не требую ничего, просто взял конфиг, который заявлен как рабочий. А где поковыряться, чтобы это самое MPPE+MPPC.

P.S. У меня ж опыта мало. В суське я настроил соединение через Kinternet, работает, а в мандриве этой радости нет.

gabix
() автор топика
Ответ на: комментарий от anonymous

У меня такой
/dev/ttyACM0
921600
connect '/usr/sbin/chat -s -v "" "ATD#777" CONNECT'
debug
updetach
crtscts
noipdefault
nodetach
novj
lcp-echo-failure 0
nobsdcomp
novjccomp
nopcomp
noaccomp
noauth
user mobile
modem
usepeerdns
defaultroute
connect-delay 5000

anonymous
()
Ответ на: комментарий от anonymous

И после коннекта проверьте вывод команды route - default route должен быть на ppp0. А у вас в логах ругань на невозможность поменять def route Для чистоты эксперимента можно перед закуском pppd погасить eth0 командой ifdown eth0

anonymous
()
Ответ на: комментарий от anonymous

Всё равно не получается, вывод тот же: [code]CDMA 2000 modem init: press <ctrl>-C to disconnect Serial connection established. using channel 4 Using interface ppp0 Connect: ppp0 <--> /dev/ttyACM0 sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x889ca639> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x889ca639> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x889ca639> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x889ca639> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <auth chap MD5> <magic 0xe036c169> <pcomp> <accomp>] sent [LCP ConfNak id=0x1 <auth pap>] rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xe036f760> <pcomp> <accomp>] sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xe036f760> <pcomp> <accomp>] sent [PAP AuthReq id=0x1 user="belcel" password=<hidden>] rcvd [PAP AuthAck id=0x1 "Welcome to pdsn."] Remote message: Welcome to pdsn. PAP authentication succeeded sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D -C> <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfReq id=0x0 <addr 2.2.2.2> <compress VJ 0f 00>] sent [IPCP ConfRej id=0x0 <compress VJ 0f 00>] rcvd [CCP ConfReq id=0x0 <mppe -H -M -S -L -D +C>] sent [CCP ConfRej id=0x0 <mppe -H -M -S -L -D +C>] rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [IPCP ConfNak id=0x1 <addr 10.10.12.227> <ms-dns1 194.226.121.42> <ms-dns3 193.232.248.45>] sent [IPCP ConfReq id=0x2 <addr 10.10.12.227> <ms-dns1 194.226.121.42> <ms-dns3 193.232.248.45>] rcvd [IPCP ConfReq id=0x1 <addr 2.2.2.2>] sent [IPCP ConfAck id=0x1 <addr 2.2.2.2>] rcvd [CCP ConfReq id=0x1] sent [CCP ConfAck id=0x1] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 rcvd [IPCP ConfAck id=0x2 <addr 10.10.12.227> <ms-dns1 194.226.121.42> <ms-dns3 193.232.248.45>] local IP address 10.10.12.227 remote IP address 2.2.2.2 primary DNS address 194.226.121.42 secondary DNS address 193.232.248.45 Script /etc/ppp/ip-up started (pid 7428) Script /etc/ppp/ip-up finished (pid 7428), status = 0x0 sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 rcvd [CCP ConfReq id=0x2] sent [CCP ConfAck id=0x2] sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 rcvd [CCP ConfReq id=0x3] sent [CCP ConfAck id=0x3] sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 rcvd [CCP ConfReq id=0x4] sent [CCP ConfAck id=0x4] sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 sent [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C>] rcvd [CCP ConfRej id=0x2 <mppe -H -M -S -L -D -C>] Received bad configure-rej: 12 06 00 00 00 00 rcvd [CCP TermReq id=0x5] sent [CCP TermAck id=0x5] rcvd [CCP TermReq id=0x6] sent [CCP TermAck id=0x6] rcvd [LCP ProtRej id=0x3 80 fd] Protocol-Reject for 'Compression Control Protocol' (0x80fd) received [/code]

route выдаёт: [code]Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 2.2.2.2 * 255.255.255.255 UH 0 0 0 ppp0 default * 0.0.0.0 U 0 0 0 ppp0[/code] (к сожалению, мне это ничего не говорит).

gabix
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.