LINUX.ORG.RU

как побороть exit code 10 в pppd


0

0

не могу подключиться к инету с помощью аналогового модема IDC5614 - после старта pppd удаленный модем вешает трубку

вот логи

[root@localhost peers]# wvdial --> WvDial: Internet dialer version 1.53 --> Initializing modem. --> Sending: ATZ ATZ OK --> Modem initialized. --> Sending: ATDT822519500 --> Waiting for carrier. ATDT822519500 PROTOCOL: LAP-M COMPRESSION: V.42BIS CONNECT 33333 --> Carrier detected. Waiting for prompt. ~[7f]}#@!}!x} }8}"}&} }*} } }#}$@#}%}&wT1{}'}"}(}"7w~ --> PPP negotiation detected. --> Starting pppd at Fri Jun 23 15:27:11 2006 --> pid of pppd: 5920 --> Disconnecting at Fri Jun 23 15:27:42 2006 --> The PPP daemon has died: PPP negotiation failed (exit code = 10) --> man pppd explains pppd error codes in more detail. --> I guess that's it for now, exiting --> The PPP daemon has died. (exit code = 10)

код ошибки -

10 The PPP negotiation failed, that is, it didn't reach the point where at least one network protocol (e.g. IP) was running.

насколько я понимаю, при хендшейке удаленный модем не смог найти на моем компе подходящий протокол.

смотри далее логи

Jun 23 15:27:11 localhost pppd[5920]: pppd options in effect: Jun 23 15:27:11 localhost pppd[5920]: debug^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: kdebug 25^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: -detach^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: idle 0^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: logfd 9^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: dump^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: noauth^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: name localhost^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: user home^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: usehostname^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: remotename *^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: /dev/ttyS0^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: 115200^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: crtscts^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: modem^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: noaccomp^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: mru 476^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: mtu 476^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: nopcomp^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: novj^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: novjccomp^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: ipcp-accept-local^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: ipcp-accept-remote^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: noipdefault^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: defaultroute^I^I# (from /etc/ppp/peers/wvdial) Jun 23 15:27:11 localhost pppd[5920]: proxyarp^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: usepeerdns^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: netmask 255.255.255.0^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: noccp^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: nobsdcomp^I^I# (from /etc/ppp/options) Jun 23 15:27:11 localhost pppd[5920]: pppd 2.4.2 started by root, uid 0 Jun 23 15:27:11 localhost pppd[5920]: Using interface ppp0 Jun 23 15:27:11 localhost pppd[5920]: Connect: ppp0 <--> /dev/ttyS0 Jun 23 15:27:41 localhost pppd[5920]: LCP: timeout sending Config-Requests Jun 23 15:27:41 localhost pppd[5920]: Connection terminated. Jun 23 15:27:41 localhost pppd[5920]: Exit.

вот эти команды я не понимаю, откуда берутся Jun 23 15:27:11 localhost pppd[5920]: -detach^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: idle 0^I^I# (from command line) Jun 23 15:27:11 localhost pppd[5920]: logfd 9^I^I# (from command line)

чем можно делу помочь ? подскажите, пожалуйста.


Re: как побороть exit code 10 в pppd

Включи отладку ppp, запусти команду дозвона и посмотри (или сюда напиши) лог (только отформатируй нормально его).

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