#!/bin/bash # If you use Ubuntu Gutsy you don´t need to compile the fcusb2 driver at self, follow this howto # it will automaticly download and configure all needed files # be sure that you running this script as root if [ "$USER" != "root" ]; then sudo $0 exit 0 fi # install needed packages apt-get install -y avm-fritz-firmware linux-restricted-modules-$(uname -r) wget # install avm firmware #wget http://www.avm.de/files/cardware/fritzcrdusb.v20/linux/suse.93/fcusb2-suse93-3.11-07.tar.gz -P /tmp #tar -xzf /tmp/fcusb2-suse93-3.11-07.tar.gz -C /tmp #mkdir /usr/share/isdn/2.6.22-14 #cp /tmp/fritz/*.frm /usr/share/isdn/$(uname -r)/ wget http://kanotix.com/files/thorhammer/kanotix/non-free/avm/avm-firmware_3.11-19_i386.deb -P /tmp dpkg -i --force-architecture /tmp/avm-firmware_3.11-19_i386.deb # install fcusb2 kernel module wget http://dl.dropbox.com/u/4170695/www/fcusb2.tar.bz2 -P /tmp tar xjf /tmp/fcusb2.tar.bz2 -C /tmp cp /tmp/fcusb2/$(uname -r)/$(uname -m)/fcusb2.ko /lib/modules/$(uname -r)/kernel/drivers/isdn/hardware/avm/ depmod -a # configure driver echo "fcusb2 fus2base.frm DSS1 - - - -" >> /etc/isdn/capi.conf # initialize capi capiinit # test # capiinfo # capifax -v YOUR_FON_NR /etc/hosts