Tobias Becker
* Andreas Meyer
schrieb: Kommt ein Anruf aufs Telefon und wird danach eine Verbindung ins Inet aufgebaut, erhalte ich keine Einträge mehr im isdn.log. Es werden dann nur noch Anrufe aufs Telefon aufgezeichnet. Das ganze scheint nur aufzutreten, wenn es sich um einen Handyanruf handelt. Nach einem kill -HUP ist alles wieder in Ordnung bis zum nächsten Handyanruf.
Was für ein Problem habe ich hier? Ist eine SuSE7.3.
Ohne nähere Angaben kann ich nichts dazu sagen.
Üblicherweise ist isdnlog so konfiguriert, dass nicht nur die Verbindungsdaten in isdn.log festgehalten werden, sondern zudem Ausgaben im Syslog oder in einer anderen Logdatei erfolgen. Diese Ausgaben sind zur weiteren Fehlereingrenzung von Interesse, möglichst beginnend mit der Startmeldung des isdnlog nach `kill -HUP ...', die in etwa so aussehen sollte:
| isdnlog Version 4.65 starting | Holiday Version 1.10-Germany [12-Apr-1999] loaded [11 entries from usr/local/lib/isdn/holiday-de.dat] | Dest V1.01: File '/usr/local/lib/isdn/dest.cdb' opened fine - Dest 1.0 int (+h) AT DE | [...]
daemon.log: isdnlog Version 4.52 starting Holiday Version 1.10-Germany [12-Apr-1999] loaded [11 entries from /usr/lib/isdn/holiday-de.dat] Dest V1.01: File '/usr/lib/isdn/dest.cdb' opened fine - Dest 1.0 int (+h) AT DE NL CH Rates Version 1.10-Germany [02-Jun-2000 14:09:56] loaded [1 Providers, 2 Zones, 2 Areas, 47 Services, 3 ComAug 5 04:43:01 heaven7 isdnlog: (ISDN subsystem with ISDN_MAX_CHANNELS > 16 detected, ioctl(IIOCNETGPN) is available) isdn.conf:2 active channels, 8 MSN/SI entries (Data versions: iprofd=0x06 net_cfg=0x06 /dev/isdninfo=0x01) isdnlog: Everything is fine, isdnlog-4.52 is running in full featured mode. isdnlog: (HiSax driver detected) Es folgt der Handyanruf daemon.log: isdnlog: Aug 05 04:46:49 * Call to tei 127 from Handy on ISDN-Telefon RING (Speech) isdnlog: Aug 05 04:46:49 * Call to tei 127 from Handy on ISDN-Telefon HLC: CCITT, Telefonie isdnlog: Aug 05 04:46:57 * Call to tei 72 from Handy on ISDN-Telefon HANGUP isdnlog: Aug 05 04:46:57 * Call to tei 102 from Handy on ISDN-Telefon HANGUP dann erfolgt Einwahl Internet: isdnlog: Aug 05 04:53:39 * tei 72 calling Q-Dial with ISDN-Router RING (Data) isdnlog: Aug 05 04:53:40 * tei 127 calling ? with ? Time:Tue Aug 5 04:53:00 2003 ntpdate[1677]: adjust time server 192.53.103.103 offset -0.006710 sec ntpd[1682]: ntpd 4.1.0 Fri Sep 21 14:42:26 GMT 2001 (1) ntpd[1682]: precision = 7 usec ntpd[1682]: kernel time discipline status 0040 ntpd[1682]: frequency initialized 8.129 from /etc/ntp.drift erneuter Handyanruf: isdnlog: Aug 05 05:04:40 * Call to tei 127 from Handy on ISDN-Telefon RING (Speech) isdnlog: Aug 05 05:04:40 * Call to tei 127 from Handy on ISDN-Telefon HLC: CCITT, Telefonie isdnlog: Aug 05 05:04:46 * Call to tei 72 from Handy on ISDN-Telefon HANGUP isdnlog: Aug 05 05:04:46 * Call to tei 102 from Handy on ISDN-Telefon HANGUP Anruf von Telefon am a/b-Wandler auf ISDN-Telefon: isdnlog: Aug 05 05:10:33 * Call to tei 127 from ? on ISDN-Telefon RING (3.1 kHz audio) isdnlog: Aug 05 05:10:40 * Call to tei 72 from Handy on ISDN-Telefon HANGUP isdnlog: Aug 05 05:10:40 * Call to tei 102 from Handy on ISDN-Telefon HANGUP isdnlog: Aug 05 05:11:29 Call to tei 127 from ? on ISDN-Telefon HANGUP (Timeout) erneute Einwahl ins Internet: isdnlog: Aug 05 05:18:49 * tei 72 calling Q-Dial with ISDN-Router RING (Data) isdnlog: Aug 05 05:18:50 * tei 127 calling ? with ? Time:Tue Aug 5 05:18:00 2003 ntpdate[1889]: adjust time server 192.53.103.103 offset -0.001702 sec ntpd[1893]: ntpd 4.1.0 Fri Sep 21 14:42:26 GMT 2001 (1) ntpd[1893]: precision = 10 usec ntpd[1893]: kernel time discipline status 0040 ntpd[1893]: frequency initialized 8.129 from /etc/ntp.drift firewall.log: kernel: isdn_net: call from 1757052847,1,0 -> 144310 heaven7 kernel: isdn_net: call from 1757052847 -> 0 144310 ignored heaven7 kernel: isdn_tty: call from 1757052847, -> RING on ttyI3 heaven7 kernel: isdn: HiSax,ch0 cause: E0010 dann erfolgt Einwahl Internet: kernel: ippp7: dialing 1 01931521... kernel: isdn_net: ippp7 connected kernel: isdn_net: local hangup ippp7 kernel: ippp7: Chargesum is 0 kernel: ippp, open, slot: 7, minor: 7, state: 0000 kernel: ippp_ccp: allocated reset data structure c3e54800 kernel: ippp_ccp: freeing reset data structure c3e54000 erneuter Handanruf: kernel: isdn_net: call from 1757052847,1,0 -> 144310 kernel: isdn_net: call from 1757052847 -> 0 144310 ignored kernel: isdn_tty: call from 1757052847, -> RING on ttyI3 kernel: isdn: HiSax,ch0 cause: E0010 Anruf von Telefon am a/b-Wandler auf ISDN-Telefon: kernel: isdn_net: Incoming call without OAD, assuming '0' kernel: isdn_net: call from 0,1,0 -> 144310 kernel: isdn_net: call from 0 -> 0 144310 ignored kernel: isdn_tty: Incoming call without OAD, assuming '0' kernel: isdn_tty: call from 0, -> RING on ttyI3 kernel: isdn: HiSax,ch0 cause: E0010 erneute Einwahl ins Internet: kernel: ippp7: dialing 1 01931521... kernel: isdn_net: ippp7 connected kernel: isdn_net: local hangup ippp7 kernel: ippp7: Chargesum is 0 kernel: ippp, open, slot: 9, minor: 7, state: 0000 kernel: ippp_ccp: allocated reset data structure c2de6000 kernel: ippp_ccp: freeing reset data structure c3e54800 dazugehörendes isdn.log: Aug 5 04:46:49 2003|+491757052847 |+496341144310 | 0| 0|1060051609| \ -1|I| 16| 0| 0|3.2|1|1|1|EUR|0| 80| -1| Aug 5 04:46:49 2003|+491757052847 |+496341144310 | 0| 0|1060051609| \ -1|I| 16| 0| 0|3.2|1|1|1|EUR|0| 80| -1| dann erfolgt Einwahl Internet: log bleibt leer erneuter Handyanruf: Aug 5 05:04:40 2003|+491757052847 |+496341144310 | 0| 0|1060052680| \ -1|I| 16| 0| 0|3.2|1|1|1|EUR|0| 80| -1| Aug 5 05:04:40 2003|+491757052847 |+496341144310 | 0| 0|1060052680| \ -1|I| 16| 0| 0|3.2|1|1|1|EUR|0| 80| -1| Anruf von Telefon am a/b-Wandler auf ISDN-Telefon: Aug 5 05:10:27 2003|+491757052847 |+496341144310 | 0| 0|1060053027| \ -1|I| 16| 0| 0|3.2|1|1|1|EUR|0| 80| -1| Aug 5 05:10:27 2003|+491757052847 |+496341144310 | 0| 0|1060053027| \ -1|I| 16| 0| 0|3.2|1|1|1|EUR|0| 80| -1| Aug 5 05:10:33 2003| |+496341144310 |-1060053033| 418173|1060053033| \ -1|I| -1| 0| 0|3.2|1|0|1|EUR|0| 80| -1| Hier wird die Handynummer noch zweimal aufgeführt, obwohl der Anruf vom a/b-Wandler-Telefon kam! erneute Einwahl ins Internet: log bleibt leer /var/log/messages: Aug 5 04:53:41 heaven7 ipppd[555]: Local number: 648100, Remote number: 01931521, Type: outgoing Aug 5 04:53:41 heaven7 ipppd[555]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 7, linkunit: 0, fd: 9 Aug 5 04:53:41 heaven7 ipppd[555]: Remote message: Login Succeeded Aug 5 04:53:41 heaven7 ipppd[555]: MPPP negotiation, He: No We: No Aug 5 04:53:41 heaven7 ipppd[555]: local IP address 212.202.68.81 Aug 5 04:53:41 heaven7 ipppd[555]: remote IP address 212.202.63.16 Aug 5 04:54:49 heaven7 ipppd[555]: Modem hangup Aug 5 04:54:49 heaven7 ipppd[555]: Connection terminated. Aug 5 04:54:49 heaven7 ipppd[555]: taking down PHASE_DEAD link 0, linkunit: 0 Aug 5 04:54:49 heaven7 ipppd[555]: closing fd 9 from unit 0 Aug 5 04:54:49 heaven7 ipppd[555]: link 0 closed , linkunit: 0 Aug 5 04:54:49 heaven7 ipppd[555]: reinit_unit: 0 Aug 5 04:54:49 heaven7 ipppd[555]: Connect[0]: /dev/ippp7, fd: 9 erneute Einwahl ins Internet: Aug 5 05:18:49 heaven7 sshd[1823]: Accepted publickey for ROOT from 192.168.1.3 port 1121 ssh2 Aug 5 05:18:50 heaven7 ipppd[555]: Local number: 648100, Remote number: 01931521, Type: outgoing Aug 5 05:18:50 heaven7 ipppd[555]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 7, linkunit: 0, fd: 9 Aug 5 05:18:51 heaven7 ipppd[555]: Remote message: Login Succeeded Aug 5 05:18:51 heaven7 ipppd[555]: MPPP negotiation, He: No We: No Aug 5 05:18:51 heaven7 ipppd[555]: local IP address 212.202.66.64 Aug 5 05:18:51 heaven7 ipppd[555]: remote IP address 212.202.63.6 Aug 5 05:19:47 heaven7 ipppd[555]: Modem hangup Aug 5 05:19:47 heaven7 ipppd[555]: Connection terminated. Aug 5 05:19:47 heaven7 ipppd[555]: taking down PHASE_DEAD link 0, linkunit: 0 Aug 5 05:19:47 heaven7 ipppd[555]: closing fd 9 from unit 0 Aug 5 05:19:47 heaven7 ipppd[555]: link 0 closed , linkunit: 0 Aug 5 05:19:47 heaven7 ipppd[555]: reinit_unit: 0 Aug 5 05:19:47 heaven7 ipppd[555]: Connect[0]: /dev/ippp7, fd: 9
Nummern und Namen können unkenntlich gemacht werden, dabei bitte die Ziffernzahl möglichst nicht verändern.
Zwei weitere Fragen zur vorhandenen Konfiguration:
Soll der Handyanruf eine Interneteinwahl auslösen?
Nicht in diesem Fall.
Welche Anrufe auf welche Telefone werden nach dem Handyanruf noch aufgezeichnet?
Es werden nur noch Anrufe auf die Telefone aufgezeichnet. Allerdings wird auch beim Anruf vom a/b-Wandler auf das ISDN-Telefon die Handynummer aufgeführt, obwohl das Teil nicht im Spiel war. Rufe ich nach einem kill -HUP des isdnlog vom a/b-Wandler auf das ISDN-Telefon an, wird brav aufgezeichnet. Sobald wieder ein Handyanruf dazu kommt, ists vorbei, sprich es werden nur noch die Telefonrufe aufgezeichnet. Ich muß Handyanrufe verbieten! :-) -- Andreas Meyer | http://home.wtal.de/MeineHomepage Hey, Shaun! You highjacked my thread. :-)