Fritz unter Ubuntu 10.04: Unterschied zwischen den Versionen
| (17 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| + | ==Installation== | ||
Vorausgesetzte Pakete installieren | Vorausgesetzte Pakete installieren | ||
apt-get install build-essential capiutils libcapi20-3 libcapi20-dev pppdcapiplugin linux-headers-$(uname -r) dkms | apt-get install build-essential capiutils libcapi20-3 libcapi20-dev pppdcapiplugin linux-headers-$(uname -r) dkms | ||
| − | Fritz fcpci herunterladen | + | Fritz fcpci herunterladen https://belug.de/~lutz/pub/fcpci/ |
| − | wget https://belug.de/~lutz/pub/fcpci/fritz-fcpci-src-2.6.31_untested.tar.bz2 | + | wget --no-check-certificate https://belug.de/~lutz/pub/fcpci/fritz-fcpci-src-2.6.31_untested.tar.bz2 |
| − | + | Blacklist anpassen | |
echo "blacklist avmfritz" > /etc/modprobe.d/blacklist-avmfritz.conf | echo "blacklist avmfritz" > /etc/modprobe.d/blacklist-avmfritz.conf | ||
| − | + | Neustarten | |
reboot .... | reboot .... | ||
| − | + | Fritz fcpci nach '''/usr/src''' entpacken | |
tar -xvjf fritz-fcpci-src-2.6.31_untested.tar.bz2 -C /usr/src | tar -xvjf fritz-fcpci-src-2.6.31_untested.tar.bz2 -C /usr/src | ||
| − | + | Ins Verzeichniss wechseln | |
cd /usr/src/fritz-fcpci-2.6.31/lib | cd /usr/src/fritz-fcpci-2.6.31/lib | ||
| − | + | Link je nach Bit-Version des des Betriebssystems erstellen | |
| − | + | ln -sf 32_fcpci-lib.o fcpci-lib.o | |
| − | + | Erstellen der dkms.conf mit folgenden Inhalt: | |
| − | + | vi /usr/src/fritz-fcpci-2.6.31/dkms.conf | |
| − | |||
| − | |||
PACKAGE_NAME=fcpci | PACKAGE_NAME=fcpci | ||
PACKAGE_VERSION=2.6.31 | PACKAGE_VERSION=2.6.31 | ||
| − | + | ||
DEST_MODULE_LOCATION=/extra | DEST_MODULE_LOCATION=/extra | ||
BUILT_MODULE_NAME=fcpci | BUILT_MODULE_NAME=fcpci | ||
BUILT_MODULE_LOCATION=fcpci_src/ | BUILT_MODULE_LOCATION=fcpci_src/ | ||
| − | + | ||
MAKE="'make' -C fcpci_src/ all" | MAKE="'make' -C fcpci_src/ all" | ||
CLEAN="'make' -C fcpci_src/ clean" | CLEAN="'make' -C fcpci_src/ clean" | ||
| Zeile 30: | Zeile 29: | ||
-------------- | -------------- | ||
| + | Link setzen | ||
| + | ln -s /usr/src/fritz-fcpci-2.6.31/ /usr/src/fcpci-2.6.31 | ||
| + | Kompilieren von fcpci vorbereiten | ||
| + | dkms add -m fcpci -v 2.6.31 | ||
| + | :: Wenn alte Version vorhanden: | ||
| + | ::; dkms remove -m fcpci -v 2.6.31 --all | ||
| + | Kompilierungsvorgang starten | ||
| + | dkms build -m fcpci -v 2.6.31 | ||
| + | Kernelmodul installieren | ||
| + | dkms install -m fcpci -v 2.6.31 | ||
| − | + | ==Konfiguration== | |
| + | ===CAPI einrichten=== | ||
| + | Dazu die Datei '''/etc/isdn/capi.conf''' mit Root-Rechten bearbeiten und die Fritz!Card PCI (fcpci) durch Entfernen des Zeichens # am Zeilenanfang aktivieren: | ||
| + | # card file proto io irq mem cardnr options | ||
| + | fcpci - - - - - - | ||
| + | #b1isa b1.t4 DSS1 0x150 7 - - P2P | ||
| + | #b1pci b1.t4 DSS1 - - - - | ||
| + | ... | ||
| + | Unter neueren Ubuntu-Versionen wird die FRITZ!Card PCI automatisch erkannt. Ein manuelles Editieren der '''/etc/isdn/capi.conf''' ist nicht mehr zwingend notwendig, schadet aber auch nicht. | ||
| + | ===Kernelmodule laden=== | ||
| + | Mit einem Texteditor und Root-Rechten folgende Zeilen der Datei '''/etc/modules''' hinzufügen: | ||
| + | capidrv | ||
| + | capi | ||
| + | fcpci | ||
| + | Dadurch werden die notwendigen Kernelmodule beim Starten automatisch geladen (Anmerkung: unter Ubuntu 9.10 Karmic Koala muss fcpci zwingend angegeben werden, unter Ubuntu 10.04 Lucid Lynx nicht – es schadet aber auch nicht) | ||
| + | ===Funktionstest=== | ||
| + | Nach der Installation des Kernelmoduls und der Konfiguration den Rechner neu starten. Jetzt zum Test folgendes eingeben: | ||
| + | sudo capiinit | ||
| + | capiinfo | ||
| + | Es sollte folgende Ausgabe erscheinen: | ||
| + | Number of Controllers : 1 | ||
| + | Controller 1: | ||
| + | Manufacturer: AVM GmbH | ||
| + | CAPI Version: 2.0 | ||
| + | Manufacturer Version: 3.11-07 (49.23) | ||
| + | Serial Number: 1000001 | ||
| + | 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 00020000 00000000 00000000 00000000 | ||
| + | |||
| + | Supplementary services support: 0x000003ff | ||
| + | Hold / Retrieve | ||
| + | Terminal Portability | ||
| + | ECT | ||
| + | 3PTY | ||
| + | Call Forwarding | ||
| + | Call Deflection | ||
| + | MCID | ||
| + | CCBS | ||
| + | Bitte auch darauf achten, dass 2 B-Kanäle (BChannels) erkannt werden! Ist bis hierhin alles erfolgreich verlaufen, kann man sich nun mit dem Thema Einwahl ins Internet beschäftigen. | ||
| − | + | ==Links== | |
| + | * http://wiki.ubuntuusers.de/ISDN-Karten/AVM_FRITZ!Card_PCI/DKMS | ||
| + | * http://wiki.ubuntuusers.de/ISDN-Karten/AVM_FRITZ!Card_PCI?redirect=no | ||
| + | * http://www.shamrock.de/capifax/capifax.htm | ||
| + | * http://www.whatis.mynetcologne.de/howto_fritz_debian.html | ||
| − | + | * Eicon Diva | |
| − | + | ** http://www.unixboard.de/vb3/showthread.php?27314-Eicon-Diva-macht-zicken | |
| − | + | ** ftp://ftp.melware.net/divas/ | |
| − | |||
| − | |||
| − | *http:// | ||
| − | * | ||
Aktuelle Version vom 3. April 2012, 12:47 Uhr
Installation
Vorausgesetzte Pakete installieren
apt-get install build-essential capiutils libcapi20-3 libcapi20-dev pppdcapiplugin linux-headers-$(uname -r) dkms
Fritz fcpci herunterladen https://belug.de/~lutz/pub/fcpci/
wget --no-check-certificate https://belug.de/~lutz/pub/fcpci/fritz-fcpci-src-2.6.31_untested.tar.bz2
Blacklist anpassen
echo "blacklist avmfritz" > /etc/modprobe.d/blacklist-avmfritz.conf
Neustarten
reboot ....
Fritz fcpci nach /usr/src entpacken
tar -xvjf fritz-fcpci-src-2.6.31_untested.tar.bz2 -C /usr/src
Ins Verzeichniss wechseln
cd /usr/src/fritz-fcpci-2.6.31/lib
Link je nach Bit-Version des des Betriebssystems erstellen
ln -sf 32_fcpci-lib.o fcpci-lib.o
Erstellen der dkms.conf mit folgenden Inhalt:
vi /usr/src/fritz-fcpci-2.6.31/dkms.conf
PACKAGE_NAME=fcpci PACKAGE_VERSION=2.6.31 DEST_MODULE_LOCATION=/extra BUILT_MODULE_NAME=fcpci BUILT_MODULE_LOCATION=fcpci_src/ MAKE="'make' -C fcpci_src/ all" CLEAN="'make' -C fcpci_src/ clean" AUTOINSTALL="yes"
Link setzen
ln -s /usr/src/fritz-fcpci-2.6.31/ /usr/src/fcpci-2.6.31
Kompilieren von fcpci vorbereiten
dkms add -m fcpci -v 2.6.31
- Wenn alte Version vorhanden:
- dkms remove -m fcpci -v 2.6.31 --all
- Wenn alte Version vorhanden:
Kompilierungsvorgang starten
dkms build -m fcpci -v 2.6.31
Kernelmodul installieren
dkms install -m fcpci -v 2.6.31
Konfiguration
CAPI einrichten
Dazu die Datei /etc/isdn/capi.conf mit Root-Rechten bearbeiten und die Fritz!Card PCI (fcpci) durch Entfernen des Zeichens # am Zeilenanfang aktivieren:
# card file proto io irq mem cardnr options fcpci - - - - - - #b1isa b1.t4 DSS1 0x150 7 - - P2P #b1pci b1.t4 DSS1 - - - - ...
Unter neueren Ubuntu-Versionen wird die FRITZ!Card PCI automatisch erkannt. Ein manuelles Editieren der /etc/isdn/capi.conf ist nicht mehr zwingend notwendig, schadet aber auch nicht.
Kernelmodule laden
Mit einem Texteditor und Root-Rechten folgende Zeilen der Datei /etc/modules hinzufügen:
capidrv capi fcpci
Dadurch werden die notwendigen Kernelmodule beim Starten automatisch geladen (Anmerkung: unter Ubuntu 9.10 Karmic Koala muss fcpci zwingend angegeben werden, unter Ubuntu 10.04 Lucid Lynx nicht – es schadet aber auch nicht)
Funktionstest
Nach der Installation des Kernelmoduls und der Konfiguration den Rechner neu starten. Jetzt zum Test folgendes eingeben:
sudo capiinit capiinfo
Es sollte folgende Ausgabe erscheinen:
Number of Controllers : 1 Controller 1: Manufacturer: AVM GmbH CAPI Version: 2.0 Manufacturer Version: 3.11-07 (49.23) Serial Number: 1000001 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 00020000 00000000 00000000 00000000 Supplementary services support: 0x000003ff Hold / Retrieve Terminal Portability ECT 3PTY Call Forwarding Call Deflection MCID CCBS
Bitte auch darauf achten, dass 2 B-Kanäle (BChannels) erkannt werden! Ist bis hierhin alles erfolgreich verlaufen, kann man sich nun mit dem Thema Einwahl ins Internet beschäftigen.