#!/bin/bash # install needed packages apt-get install -y wget build-essential # add sources for lenny cat <<EOF> /etc/apt/sources.list.d/lenny.list deb http://ftp.de.debian.org/debian/ lenny main deb-src http://ftp.de.debian.org/debian/ lenny main EOF apt-get update apt-get install -y --force-yes linux-headers-$(uname -r) rm /etc/apt/sources.list.d/lenny.list apt-get update # get fcpci sources wget https://belug.de/~lutz/pub/fcpci/fritz-fcpci-src-2.6.24-2.6.28.tar.bz2 -P /tmp # configure for 64 bit (only for amd64) tar xjf /tmp/fritz-fcpci-src-2.6.24-2.6.28.tar.bz2 -C /tmp/ cd /tmp/fritz-fcpci-src-2.6.24-2.6.28/lib/ ln -sf 64_fcpci-lib.o fcpci-lib.o # compile cd /tmp/fritz-fcpci-src-2.6.24-2.6.28/fcpci-3.11.07/ make clean make all # install TARGET=/lib/modules/$(uname -r)/extra/ # install kernel module [ -d ${TARGET} ] || mkdir ${TARGET} cp /tmp/fcpci/$(uname -r)/$(uname -m)/fcpci.ko ${TARGET} depmod -a # enable fcpci module sed -i 's|#fcpci|fcpci|g' /etc/isdn/capi.conf # blacklist hisax modules cat <<EOF>> /etc/modprobe.d/blacklist-capiutils.conf blacklist hisax blacklist hisax_isac blacklist hisax_fcpcipnp EOF # load module modprobe -r hisax_fcpcipnp hisax_isac hisax modprobe fcpci # init capi capiinit # test capifax -v YOUR_FAX /etc/isdn/capi.conf
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!