linux-avmb1: AVM C2 / Debian Etch 64 Bit / grundlegende ISDN-Konfiguration ?
Elmar Marschke
elmar.marschke at schenker.at
Wed Aug 29 12:50:11 CEST 2007
Hallo Liste,
ich möchte eine Applikation (odette-ftp; Spezialität aus der
Automobilindustrie) über ISDN betreiben.
Mein System:
- HP Proliant DL 360 mit 2 x Intel Xeon 3.4 GHz; 2G RAM
- AVM C2 ISDN-Karte
- Debian Etch (Kernel 2.6.18-5-amd64; nur main repository) auf
aktuellstem Stand, frisch
installiert out-of-the-box; allerdings mit amd64 kernel (wenn ich mich
recht erinnere gab's auf der netinstall-cd keine Auswahl für ia64)
- c2.bin von ftp.in-berlin.de/pub/capi4linux/firmware/c2/3-11-06/
downgeloadet und in capi.conf eingetragen
- isdn.conf nach bestem Wissen vervollständigt
Nach booten noch "modprobe isdn" gemacht. Meiner Meinung nach ist die
Karte vom Kernel korrekt erkannt, passende Module geladen, und die
capi-Software hat die Karte auch korrekt erkannt:
test151:~# capiinit show
driver firmware proto io irq mem cardnr options
c2 c2.bin DSS1 - - - - P2P
test151:~# capiinit status
1 c4 running c2-5000 C2 3.11-06 0x5000 201 0xfdff000
2 c4 running c2-5000 C2 3.11-06 0x5000 201 0xfdff000
Versuche ich nun, über die ISDN-Leitung was zu verschicken passiert:
test151:~# capifax -v -c <nummer_des_anschlusses> -h TEST
<nummer_empfänger> /etc/services
Disconnected.
Reason : 3301 Protocol error layer 1 (broken line or
B-channel removed by signalling protocol)
Reason-B3 : 0000 No additional information
Der gleiche Fehler 3301 wird dann auch in meiner Applikation angezeigt,
wenn ich aus der was verschicken will.
Muß ich noch irgendwas konfigurieren?
Wie kann ich das grundlegende funktionieren der ISDN-Leitung überprüfen?
Geht das so wie ich es versuche (mit capifax)? Nach meiner Theorie müßte
beim Empfänger mindestens das Telefon klingeln, wenn da grundlegend
alles ok ist - stimmt das?
Wenn ich die Karte im P2P-Modus hochfahre (capi.conf umkonfiguriert
und /etc/init.d/capiutils stop/start) geht an der ISDN-Abschlußdose eine
grüne LED an (und bleibt solange an, wie die capi bzw. die Karte
gestartet ist) - es passiert also was, von daher müßte auch das Kabel ok
sein. Die LED geht auch an (und nach auflegen wieder aus), wenn ich von
außen die ISDN-Nummer anrufe. Betreibe ich die Karte im
Point-to-multipoint, geht die LED nur an, wenn ich von außen anrufe.
Wie kann ich prüfen, ob die ISDN-Konfiguration grundlegend
funktionsfähig ist; bzw. was kann die Ursache von "3301 Protocol error
layer 1" sein?
Danke für eure Hilfe...
mfg
(ab hier folgen ein paar Details...;-)
========================================================================================
test151:~# dpkg -l | grep -i isdn | awk '{print $2}'
capiutils
ipppd
isdnactivecards
isdnlog
isdnlog-data
isdnutils
isdnutils-base
isdnutils-xtools
isdnvboxclient
isdnvboxserver
test151:~# dpkg -l | grep -i capi | awk '{print $2}'
capiutils
libcapi20-3
----------------------------------------
test151:~# modprobe isdn
Auszug von lsmod:
test151:~# lsmod
Module Size Used by
isdn 139488 0
slhc 11392 1 isdn
capi 23616 0
capifs 11152 2 capi
c4 23428 0
b1 29696 1 c4
kernelcapi 56640 3 capi,c4,b1
------------------------------------------
test151:~# capiinit show
driver firmware proto io irq mem cardnr options
c2 c2.bin DSS1 - - - - P2P
test151:~# capiinit status
1 c4 running c2-5000 C2 3.11-06 0x5000 201 0xfdff000
2 c4 running c2-5000 C2 3.11-06 0x5000 201 0xfdff000
------------------------------------------
Auszug von dmesg | less nach dem Booten:
b1: revision 1.1.2.2
PCI: Enabling device 0000:0a:01.0 (0150 -> 0153)
ACPI: PCI Interrupt 0000:0a:01.0[A] -> GSI 72 (level, low) -> IRQ 201
c4: PCI BIOS reports AVM-C2 at i/o 0x5000, irq 201, mem 0xfdff0000
kcapi: Controller 1: c2-5000 attached
kcapi: Controller 2: c2-5000 attached
c4: AVM C2 at i/o 0x5000, irq 201, mem 0xfdff0000
c4: revision 1.1.2.2
capifs: Rev 1.1.2.3
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
c2-5000: card 1 "C2" ready.
c2-5000: card 1 Protocol: DSS1
c2-5000: card 1 Linetype: point to point
c2-5000: C2-card (3.11-06) now active
CSLIP: code copyright 1989 Regents of the University of California
ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2
loaded
--------------------------------------------
capiinfo bringt:
test151:~# capiinfo
Number of Controllers : 2
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-06 (49.22)
Serial Number: 1071205
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem
0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00010000 00000000 00000000 00000000
Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS
Controller 2:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-06 (49.22)
Serial Number: 1071205
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem
0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00010000 00000000 00000000 00000000
Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS
=========================================================================
--
Dipl.Ing. FH Elmar Marschke
IT-Innovation / SE-Europe
SCHENKER & CO AG
Head Office Austria + South-East-Europe
Hoher Markt 12
A-1011 Vienna
Austria
e-mail: elmar.marschke at schenker.at
www.schenker.at- Visit our new Website!
More information about the linux-avmb1
mailing list