Monthly Archive for April, 2005

Exploring and Integrating a FRITZ!Box Fon into existing network

Problem: The IP of the LAN Interface is fixed to 192.168.178.1 and of the USB Interface to 192.168.179.1.
If you have an existing network, this forces you to renumber your network. This isnt the nice solution anyway, so I was searching for another one.

At first, I updated my firmware to Version 06.03.14. On many sites you can find that you can cange the IP on http://fritz.box/cgi-bin/..%2Fcgi-bin%2Fwebcm?getpage=..%2Fhtml%….

Implementing fax and vbox server with capisuite and FaxGW

Capisuite is a fax and voicebox solution for capi on linux. I’m using it with a Fritz!Card 2.0 on debian.
Assuming a working capi card, you only need:

apt-get install capisuite

Then you need to customize capisuite.conf, fax.conf and answering_machine.conf in /etc/capisuite/ and you will have a vbox and a fax recieving machine.

For sending a fax, I installed FaxGW. It provides a samba printer where you can dump your documents to fax and a webinterface to define where the documents should be send to.
Required is samba, a mysql server, php and the commandline tools tiff2ps, ps2pdf, tiff2pdf, sfftobmp, pdftotext, sed, grep. There is a german README with installation instructions included.

Installing an AVM Fritz!Card 2.0

At first … put the Card in! :-)
Next I installed the following packages and all required depencies:

# aptitude install capiutils isdnactivecards \
isdnlog isdnlog-data isdnutils-base libcapi20-2

Now I got the source of the module from AVM and did compile/install the stuff with:

# make clean
# make
# make install
# depmod -a

Edit the /etc/isdn/capi.conf and uncomment the line with fcpci

With running discover you need to check /etc/discover.d/capiutils, maybe you need to disable loading hisax:

# echo “skip hisax” >> /etc/discover.d/capiutils
# echo “skip hisax_fcpcipnp” >> /etc/discover.d/capiutils

Now we need to get rid of actual loaded hisax modules and reload capi (as alternative just reboot):

# /etc/init.d/isdnutils stop
# rmmod hisax_fcpcipnp hisax_isac crc_ccitt hisax
# capiinit reload

Running ‘capiinfo’ you should got some output like that:

Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.101-02 (49.18)
Serial Number: 1000001
BChannels: 2
[...]

To be fine with isdnlog you need todo:

# echo “capidrv” >> /etc/modules && modprobe /etc/modules
# touch /etc/isdn/noconfig && /etc/init.d/isdnutils restart

Securing Proftpd

You can put these lines into /etc/proftpd.conf

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."