Fritz unter Ubuntu 10.04: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 3: | Zeile 3: | ||
Fritz fcpci herunterladen | Fritz fcpci herunterladen | ||
wget https://belug.de/~lutz/pub/fcpci/fritz-fcpci-src-2.6.31_untested.tar.bz2 | wget 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 | |
− | + | Anpassen der dkms.conf auf folgenden Inhalt: | |
− | |||
− | |||
cat /usr/src/fritz-fcpci-2.6.31/dkms.conf | cat /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 28: | ||
-------------- | -------------- | ||
− | + | Kompilieren von fcpci vorbereiten | |
− | + | dkms add -m fcpci -v 2.6.31 | |
− | + | Kompilierungsvorgang starten | |
− | + | dkms build -m fcpci -v 2.6.31 | |
− | + | Kernelmodul installieren | |
− | + | dkms install -m fcpci -v 2.6.31 | |
− | |||
− | |||
Version vom 31. August 2011, 09:47 Uhr
Vorausgesetzte Pakete installieren
apt-get install build-essential capiutils libcapi20-3 libcapi20-dev pppdcapiplugin linux-headers-$(uname -r) dkms
Fritz fcpci herunterladen
wget 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
Anpassen der dkms.conf auf folgenden Inhalt:
cat /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"
Kompilieren von fcpci vorbereiten
dkms add -m fcpci -v 2.6.31
Kompilierungsvorgang starten
dkms build -m fcpci -v 2.6.31
Kernelmodul installieren
dkms install -m fcpci -v 2.6.31