pppd-2.4.1 i capiplugin (radzio)

Jacek Sobczak jaceksobczak w poczta.onet.pl
Czw, 27 Gru 2001, 18:28:49 CET


Miałem swego czasu kernel-2.2.19, pppd-2.4.0 i capiplugin dla karty
Fritz PCI ver 2.0. I wszystko działało ekstra co przedstawia log:

Nov 11 23:34:41 localhost pppd[3062]: Plugin /etc/ppp/plugins/userpass.so loaded.
Nov 11 23:34:41 localhost pppd[3062]: Plugin /etc/ppp/plugins/capiplugin.so loaded.
Nov 11 23:34:41 localhost pppd[3062]: capiplugin: $Revision: 1.19 $
Nov 11 23:34:41 localhost pppd[3062]: capiconn:  1.5 
Nov 11 23:34:41 localhost kernel: kcapi: appl 1 up
Nov 11 23:34:41 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Nov 11 23:34:41 localhost kernel: PPP: version 2.3.7 (demand dialling)
Nov 11 23:34:41 localhost kernel: PPP line discipline registered.
Nov 11 23:34:41 localhost kernel: registered device ppp0
Nov 11 23:34:41 localhost pppd[3062]: pppd 2.4.0 started by root, uid 0
Nov 11 23:34:41 localhost pppd[3062]: capiplugin: phase serialconn.
Nov 11 23:34:41 localhost pppd[3062]: capiplugin: dialing 0202422 (hdlc)
Nov 11 23:34:42 localhost kernel: kcapi: appl 1 ncci 0x10101 up
Nov 11 23:34:42 localhost pppd[3062]: capiplugin: connected: "" -> "0202422" outgoing (pcli=0x101/ncci=0x10101)
Nov 11 23:34:42 localhost pppd[3062]: capiplugin: using /dev/capi/0: "" -> "0202422" outgoing (pcli=0x101/ncci=0x10101)
Nov 11 23:34:42 localhost pppd[3062]: Using interface ppp0
Nov 11 23:34:42 localhost pppd[3062]: Connect: ppp0 <--> /dev/capi/0
Nov 11 23:34:42 localhost pppd[3062]: capiplugin: phase establish (was serialconn).
Nov 11 23:34:42 localhost pppd[3062]: capiplugin: phase authenticate (was establish).
Nov 11 23:34:42 localhost pppd[3062]: capiplugin: phase network (was authenticate).
Nov 11 23:34:42 localhost kernel: PPP BSD Compression module registered
Nov 11 23:34:42 localhost kernel: PPP Deflate Compression module registered
Nov 11 23:34:42 localhost pppd[3062]: local  IP address 217.99.225.61
Nov 11 23:34:42 localhost pppd[3062]: remote IP address 1.1.1.1
Nov 11 23:34:42 localhost pppd[3062]: capiplugin: phase running (was network).
Nov 11 23:37:24 localhost pppd[3062]: Terminating on signal 2.
Nov 11 23:37:24 localhost pppd[3062]: capiplugin: phase terminate (was running).
Nov 11 23:37:24 localhost pppd[3062]: capiplugin: phase network (was terminate).
Nov 11 23:37:24 localhost pppd[3062]: capiplugin: phase terminate (was network).
Nov 11 23:37:30 localhost pppd[3062]: capiplugin: phase dead (was terminate).
Nov 11 23:37:30 localhost kernel: kcapi: appl 1 ncci 0x10101 down
Nov 11 23:37:30 localhost pppd[3062]: Hangup (SIGHUP)
Nov 11 23:37:30 localhost pppd[3062]: capiplugin: disconnect(local): "" -> "0202422" outgoing (pcli=0x101/ncci=0x10101) 0x3490 (0x3301) - Normal call clearing
Nov 11 23:37:30 localhost pppd[3062]: Connection terminated.
Nov 11 23:37:30 localhost pppd[3062]: Modem hangup
Nov 11 23:37:30 localhost pppd[3062]: Connect time 2.7 minutes.
Nov 11 23:37:30 localhost pppd[3062]: Sent 29063 bytes, received 187438 bytes.
Nov 11 23:37:30 localhost pppd[3062]: capiplugin: phase disconnect (was dead).
Nov 11 23:37:30 localhost pppd[3062]: controller 1: listen_change_state state=1 event=1 ????
Nov 11 23:37:30 localhost pppd[3062]: capiplugin: exit
Nov 11 23:37:30 localhost pppd[3062]: Exit.

Ostatnio uaktualniłem pppd do 2.4.1 i kernel do 2.2.20, więc
skompilowałem nowe pluginy i przy tej samej konfiguracji co poprzednio
dostaję co następuje:

Dec 27 17:21:38 jsobczak pppd[1875]: Plugin userpass.so loaded.
Dec 27 17:21:38 jsobczak pppd[1875]: userpass: $Revision: 1.3 $
Dec 27 17:21:38 jsobczak pppd[1875]: Plugin capiplugin.so loaded.
Dec 27 17:21:38 jsobczak pppd[1875]: capiplugin: $Revision: 1.20 $
Dec 27 17:21:38 jsobczak pppd[1875]: capiconn:  1.5 
Dec 27 17:21:38 jsobczak kernel: kcapi: appl 1 up
Dec 27 17:21:38 jsobczak pppd[1879]: pppd 2.4.1 started by root, uid 0
Dec 27 17:21:38 jsobczak pppd[1879]: capiplugin: phase serialconn.
Dec 27 17:21:38 jsobczak pppd[1879]: capiplugin: dialing 0202422 (hdlc)
Dec 27 17:21:39 jsobczak kernel: kcapi: appl 1 ncci 0x10101 up
Dec 27 17:21:39 jsobczak pppd[1879]: capiplugin: connected: "" -> "0202422" outgoing (pcli=0x101/ncci=0x10101)
Dec 27 17:21:39 jsobczak pppd[1879]: capiplugin: using /dev/capi/0: "" -> "0202422" outgoing (pcli=0x101/ncci=0x10101)
Dec 27 17:21:39 jsobczak pppd[1879]: Using interface ppp0
Dec 27 17:21:39 jsobczak pppd[1879]: Connect: ppp0 <--> /dev/capi/0
Dec 27 17:21:39 jsobczak pppd[1879]: capiplugin: phase establish (was serialconn).
Dec 27 17:21:39 jsobczak pppd[1879]: capiplugin: phase authenticate (was establish).
Dec 27 17:21:40 jsobczak pppd[1879]: CHAP authentication failed
Dec 27 17:21:40 jsobczak pppd[1879]: capiplugin: phase terminate (was authenticate).
Dec 27 17:21:40 jsobczak pppd[1879]: capiplugin: phase terminate, again.
Dec 27 17:21:40 jsobczak kernel: kcapi: appl 1 ncci 0x10101 down
Dec 27 17:21:40 jsobczak pppd[1879]: Hangup (SIGHUP)
Dec 27 17:21:40 jsobczak pppd[1879]: capiplugin: disconnect(remote): "" -> "0202422" outgoing (pcli=0x101/ncci=0x10101) 0x3490 (0x3301) - Normal call clearing
Dec 27 17:21:40 jsobczak pppd[1879]: Modem hangup
Dec 27 17:21:40 jsobczak pppd[1879]: capiplugin: phase dead (was terminate).
Dec 27 17:21:40 jsobczak pppd[1879]: Connection terminated.
Dec 27 17:21:40 jsobczak pppd[1879]: capiplugin: phase disconnect (was dead).
Dec 27 17:21:41 jsobczak pppd[1879]: capiplugin: exit
Dec 27 17:21:41 jsobczak pppd[1879]: Exit.

Driver karty skompilowałem na nowo. Karta na pewno dobrze się
inicjuje.

O co chodzi z tym CHAP? Jak powinno być skonfigurowane? Dlaczego teraz
nie dostaję komunikatów od jądra o załadowaniu ppp? Tak jest w 2.2.20,
czy coś jest źle. Czy komuś chodzi to w tej konfiguracji (Radek
Kintzi)? Byłbym wdzięczny za wycinek z messages.

Jacek


-- 

Tego nie znajdziesz w żadnym sklepie!
[ http://oferty.onet.pl ]




Więcej informacji o liście dyskusyjnej pld-devel-pl