Hi, Ich hoffe Ihr könnt mir helfen! Ich versuche im Moment einen Remote Zugriff zu realisieren. D.h. ich rufe bei einem Server an, Authentifiziere mich und dieser ruft zurück. Leider klappt die Einwahl beim Rückruf des Servers noch nicht ganz. Suse 9.3 ISDN Fritzcard Ich poste mal die /var/log/messages. Nov 12 15:36:38 asterisk kernel: ippp0: dialing 1 ***********... Nov 12 15:36:39 asterisk isdnlog: Nov 12 15:36:39 * tei 95 calling +49 ****/*********, Stadthagen with +49 ****/*******, Straubing RING (Data) Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*********, Stadthagen with +49 ****/*********, Straubing Time:Sat Nov 12 15:36:00 2005 Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*********, Stadthagen with +49 ****/*********, Straubing COLP +49 ****/*********, Stadthagen Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/********/939890, Stadthagen with +49 ****/*********, Straubing CONNECT (Data) Nov 12 15:36:40 asterisk kernel: capilib_new_ncci: kcapi: appl 1 ncci 0x10101 up Nov 12 15:36:40 asterisk kernel: isdn_net: ippp0 connected Nov 12 15:36:40 asterisk kernel: capidrv-1: chan 0 up with ncci 0x10101 Nov 12 15:36:40 asterisk ipppd[28942]: Local number: *******, Remote number: ****/*********, Type: outgoing Nov 12 15:36:40 asterisk ipppd[28942]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 7 Nov 12 15:36:40 asterisk ipppd[28942]: sent [0][LCP ConfReq id=0x1 <mru 1500> <auth pap> <magic 0x48486a76> <pcomp> <accomp>] Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 ****/*********, Straubing Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 ****/*******, Straubing HINT: Better use 0190024:Pennyphone, 0.990 /60s = 0.990 /Min, saving 2.356 /Min Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 ****/*******, Straubing Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 *****/********, Straubing NEXT CI AFTER 01:00 (DTAG T-ISDN Standard, Deutschland, Wochenende (Samstag), Abend) Nov 12 15:36:40 asterisk ipppd[28942]: rcvd [0][LCP ConfReq id=0x1 <mru 1524> <auth chap md5> <magic 0x19df66ac> <pcomp> <accomp>] Nov 12 15:36:40 asterisk ipppd[28942]: sent [0][LCP ConfNak id=0x1 <auth pap>] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][LCP ConfAck id=0x1 <mru 1500> <auth pap> <magic 0x48486a76> <pcomp> <accomp>] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][LCP ConfReq id=0x2 <mru 1524> <auth pap> <magic 0x4b2f35c2> <pcomp> <accomp>] Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][LCP ConfAck id=0x2 <mru 1524> <auth pap> <magic 0x4b2f35c2> <pcomp> <accomp>] Nov 12 15:36:41 asterisk ipppd[28942]: lcp layer is UP Nov 12 15:36:41 asterisk ipppd[28942]: ioctl(SIOCSIFMTU): Invalid argument, 6 ippp0 1524. Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][PAP AuthReq id=0xd user="otrs" password="hgfzn144u"] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][PAP AuthReq id=0x1 user="faureciasth" password="hgfzn144u"] Nov 12 15:36:41 asterisk ipppd[28942]: Check_passwd called with user=faureciasth Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][PAP AuthAck id=0x1msg="Login ok"] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][PAP AuthAck id=0xdmsg=""] Nov 12 15:36:41 asterisk ipppd[28942]: Remote message: Nov 12 15:36:41 asterisk ipppd[28942]: MPPP negotiation, He: No We: No Nov 12 15:36:41 asterisk ipppd[28942]: Useifip for ippp0: Got IF-Src-IP: 8ad2a8c0 Nov 12 15:36:41 asterisk ipppd[28942]: Useifip for ippp0: Got IF-Dst-IP: 89d2a8c0 Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][IPCP ConfReq id=0x1 <addr 192.168.210.138> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Nov 12 15:36:41 asterisk ipppd[28942]: CCP enabled! Trying CCP. Nov 12 15:36:41 asterisk ipppd[28942]: CCP: got ccp-unit 0 for link 0 (Compression Control Protocol) Nov 12 15:36:41 asterisk ipppd[28942]: ccp_resetci! Nov 12 15:36:44 asterisk ipppd[28942]: sent [0][IPCP ConfReq id=0x1 <addr 192.168.210.138> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Nov 12 15:37:08 asterisk last message repeated 8 times Nov 12 15:37:11 asterisk ipppd[28942]: IPCP: timeout sending Config-Requests Nov 12 15:37:25 asterisk ipppd[28942]: rcvd [0][LCP TermReq id=0x3] Nov 12 15:37:25 asterisk ipppd[28942]: LCP terminated by peer Nov 12 15:37:25 asterisk ipppd[28942]: sent [0][LCP TermAck id=0x3] Nov 12 15:37:25 asterisk kernel: isdn_net: Got CINF chargetime of ippp0 now 1448610256 Nov 12 15:37:25 asterisk kernel: kcapi: appl 1 ncci 0x10101 down Nov 12 15:37:26 asterisk kernel: capidrv-1: DISCONNECT_IND reason 0x3490 (Normal call clearing) for plci 0x101 Nov 12 15:37:26 asterisk kernel: ippp0: remote hangup Nov 12 15:37:26 asterisk kernel: ippp0: Chargesum is 1 Nov 12 15:37:26 asterisk ipppd[28942]: Modem hangup Nov 12 15:37:26 asterisk ipppd[28942]: Connection terminated. Nov 12 15:37:26 asterisk ipppd[28942]: taking down PHASE_DEAD link 0, linkunit: 0 Nov 12 15:37:26 asterisk ipppd[28942]: LCP is down Nov 12 15:37:26 asterisk ipppd[28942]: closing fd 7 from unit 0 Nov 12 15:37:26 asterisk kernel: ippp_ccp: freeing reset data structure cc743000 Nov 12 15:37:26 asterisk ipppd[28942]: link 0 closed , linkunit: 0 Nov 12 15:37:26 asterisk ipppd[28942]: reinit_unit: 0 Nov 12 15:37:26 asterisk kernel: ippp, open, slot: 0, minor: 0, state: 0000 Nov 12 15:37:26 asterisk kernel: ippp_ccp: allocated reset data structure cc743000 Nov 12 15:37:26 asterisk ipppd[28942]: Connect[0]: /dev/ippp0, fd: 7 Ich denke, das hier das Problem auftritt: Nov 12 15:36:44 asterisk ipppd[28942]: sent [0][IPCP ConfReq id=0x1 <addr 192.168.210.138> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Nov 12 15:37:08 asterisk last message repeated 8 times Nov 12 15:37:11 asterisk ipppd[28942]: IPCP: timeout sending Config-Requests Ich hoffe wirklich Ihr könnt mir helfen, denn langsam bin ich mit meinen Ideen durch. Falls noch Infos fehlen, bitte einfach melden. Ich werde Sie dann sofort nachreichen. Vielen Dank für Eure Hilfe! Stefan
On Sat, Nov 12, 2005 at 03:52:03PM +0100, Stefan Rother wrote:
Hi,
Ich hoffe Ihr könnt mir helfen!
Ich versuche im Moment einen Remote Zugriff zu realisieren. D.h. ich rufe bei einem Server an, Authentifiziere mich und dieser ruft zurück.
Das geht mit ipppd nicht. I4L hat nur eine einfach Rückruf Funktion integriert, die nur auf einen Triggeranruf mit Rufnummern Authentifizierung basiert. Für das was Du machen willst, ist das CBCP (callback control protocol) notwendig, was nicht implementiert ist, pppd soll es angeblich können und Du kannst versuchen ueber das pppd capiplugin (man capiplugin) den pppd zu verwenden.
Leider klappt die Einwahl beim Rückruf des Servers noch nicht ganz.
Suse 9.3 ISDN Fritzcard
Ich poste mal die /var/log/messages.
Nov 12 15:36:38 asterisk kernel: ippp0: dialing 1 ***********... Nov 12 15:36:39 asterisk isdnlog: Nov 12 15:36:39 * tei 95 calling +49 ****/*********, Stadthagen with +49 ****/*******, Straubing RING (Data) Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*********, Stadthagen with +49 ****/*********, Straubing Time:Sat Nov 12 15:36:00 2005 Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*********, Stadthagen with +49 ****/*********, Straubing COLP +49 ****/*********, Stadthagen Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/********/939890, Stadthagen with +49 ****/*********, Straubing CONNECT (Data) Nov 12 15:36:40 asterisk kernel: capilib_new_ncci: kcapi: appl 1 ncci 0x10101 up Nov 12 15:36:40 asterisk kernel: isdn_net: ippp0 connected Nov 12 15:36:40 asterisk kernel: capidrv-1: chan 0 up with ncci 0x10101 Nov 12 15:36:40 asterisk ipppd[28942]: Local number: *******, Remote number: ****/*********, Type: outgoing Nov 12 15:36:40 asterisk ipppd[28942]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 7 Nov 12 15:36:40 asterisk ipppd[28942]: sent [0][LCP ConfReq id=0x1 <mru 1500> <auth pap> <magic 0x48486a76> <pcomp> <accomp>] Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 ****/*********, Straubing Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 ****/*******, Straubing HINT: Better use 0190024:Pennyphone, 0.990 /60s = 0.990 /Min, saving 2.356 /Min Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 ****/*******, Straubing Nov 12 15:36:40 asterisk isdnlog: Nov 12 15:36:40 tei 95 calling +49 ****/*******, Stadthagen with +49 *****/********, Straubing NEXT CI AFTER 01:00 (DTAG T-ISDN Standard, Deutschland, Wochenende (Samstag), Abend) Nov 12 15:36:40 asterisk ipppd[28942]: rcvd [0][LCP ConfReq id=0x1 <mru 1524> <auth chap md5> <magic 0x19df66ac> <pcomp> <accomp>] Nov 12 15:36:40 asterisk ipppd[28942]: sent [0][LCP ConfNak id=0x1 <auth pap>] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][LCP ConfAck id=0x1 <mru 1500> <auth pap> <magic 0x48486a76> <pcomp> <accomp>] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][LCP ConfReq id=0x2 <mru 1524> <auth pap> <magic 0x4b2f35c2> <pcomp> <accomp>] Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][LCP ConfAck id=0x2 <mru 1524> <auth pap> <magic 0x4b2f35c2> <pcomp> <accomp>] Nov 12 15:36:41 asterisk ipppd[28942]: lcp layer is UP Nov 12 15:36:41 asterisk ipppd[28942]: ioctl(SIOCSIFMTU): Invalid argument, 6 ippp0 1524. Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][PAP AuthReq id=0xd user="otrs" password="hgfzn144u"] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][PAP AuthReq id=0x1 user="faureciasth" password="hgfzn144u"] Nov 12 15:36:41 asterisk ipppd[28942]: Check_passwd called with user=faureciasth Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][PAP AuthAck id=0x1msg="Login ok"] Nov 12 15:36:41 asterisk ipppd[28942]: rcvd [0][PAP AuthAck id=0xdmsg=""] Nov 12 15:36:41 asterisk ipppd[28942]: Remote message: Nov 12 15:36:41 asterisk ipppd[28942]: MPPP negotiation, He: No We: No Nov 12 15:36:41 asterisk ipppd[28942]: Useifip for ippp0: Got IF-Src-IP: 8ad2a8c0 Nov 12 15:36:41 asterisk ipppd[28942]: Useifip for ippp0: Got IF-Dst-IP: 89d2a8c0 Nov 12 15:36:41 asterisk ipppd[28942]: sent [0][IPCP ConfReq id=0x1 <addr 192.168.210.138> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Nov 12 15:36:41 asterisk ipppd[28942]: CCP enabled! Trying CCP. Nov 12 15:36:41 asterisk ipppd[28942]: CCP: got ccp-unit 0 for link 0 (Compression Control Protocol) Nov 12 15:36:41 asterisk ipppd[28942]: ccp_resetci! Nov 12 15:36:44 asterisk ipppd[28942]: sent [0][IPCP ConfReq id=0x1 <addr 192.168.210.138> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Nov 12 15:37:08 asterisk last message repeated 8 times Nov 12 15:37:11 asterisk ipppd[28942]: IPCP: timeout sending Config-Requests Nov 12 15:37:25 asterisk ipppd[28942]: rcvd [0][LCP TermReq id=0x3] Nov 12 15:37:25 asterisk ipppd[28942]: LCP terminated by peer Nov 12 15:37:25 asterisk ipppd[28942]: sent [0][LCP TermAck id=0x3] Nov 12 15:37:25 asterisk kernel: isdn_net: Got CINF chargetime of ippp0 now 1448610256 Nov 12 15:37:25 asterisk kernel: kcapi: appl 1 ncci 0x10101 down Nov 12 15:37:26 asterisk kernel: capidrv-1: DISCONNECT_IND reason 0x3490 (Normal call clearing) for plci 0x101 Nov 12 15:37:26 asterisk kernel: ippp0: remote hangup Nov 12 15:37:26 asterisk kernel: ippp0: Chargesum is 1 Nov 12 15:37:26 asterisk ipppd[28942]: Modem hangup Nov 12 15:37:26 asterisk ipppd[28942]: Connection terminated. Nov 12 15:37:26 asterisk ipppd[28942]: taking down PHASE_DEAD link 0, linkunit: 0 Nov 12 15:37:26 asterisk ipppd[28942]: LCP is down Nov 12 15:37:26 asterisk ipppd[28942]: closing fd 7 from unit 0 Nov 12 15:37:26 asterisk kernel: ippp_ccp: freeing reset data structure cc743000 Nov 12 15:37:26 asterisk ipppd[28942]: link 0 closed , linkunit: 0 Nov 12 15:37:26 asterisk ipppd[28942]: reinit_unit: 0 Nov 12 15:37:26 asterisk kernel: ippp, open, slot: 0, minor: 0, state: 0000 Nov 12 15:37:26 asterisk kernel: ippp_ccp: allocated reset data structure cc743000 Nov 12 15:37:26 asterisk ipppd[28942]: Connect[0]: /dev/ippp0, fd: 7
Ich denke, das hier das Problem auftritt:
Nov 12 15:36:44 asterisk ipppd[28942]: sent [0][IPCP ConfReq id=0x1 <addr 192.168.210.138> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Nov 12 15:37:08 asterisk last message repeated 8 times Nov 12 15:37:11 asterisk ipppd[28942]: IPCP: timeout sending Config-Requests
Ich hoffe wirklich Ihr könnt mir helfen, denn langsam bin ich mit meinen Ideen durch. Falls noch Infos fehlen, bitte einfach melden. Ich werde Sie dann sofort nachreichen.
Vielen Dank für Eure Hilfe!
Stefan
-- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-isdn-unsubscribe@suse.com Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-isdn-help@suse.com
-- Karsten Keil SuSE Labs ISDN development
participants (2)
-
Karsten Keil
-
Stefan Rother