Skip to content

Categories:

Building the zaptel modules on debian

How to build the zaptel (FXO/FXS hardware for Asterisk) modules on Debian using the debian kernel source package.

  1. apt-get install kernel-source-<kernel-version>
  2. apt-get install kernel-patch-scripts
  3. apt-get install kernel-package
  4. cd /usr/src
  5. tar -jxf kernel-source-<kernel-version>.bz2
  6. ln -s kernel-source-<kernel-version> linux
  7. cp /boot/config-<kernel -version> /usr/src/linux/.config
  8. cd linux
  9. make-kpkg
  10. cd <source directory>
  11. export CVSROOT=:pserver:anoncvs@cvs.digium.com:
    /usr/cvsroot
  12. cvs login
  13. cvs checkout zaptel
  14. cd zaptel
  15. make
  16. su
  17. make install

If you’re planning on using the ztdummy module, edit the zaptel Makefile before compiling. Remove the # in front of ztdummy in the modules= declaration.

Posted in Uncategorized.

Tagged with , , .