07.31.03

Sangoma S514 T1 Card installation on Debian

Posted in linux at 6:59 pm by James

So I have a Sangoma S514 card I’m trying to install in my firewall box. The installation manual provides a good bit of info fot a stock tgz and rpm install. However, nothing in the linux world is totally straight forward. So my firewall box is too slow to compile a kernel, so i decided to try to compile the drivers on my server.

1. cd /usr/src/; mkdir /usr/src/built (localize src code)
2. put latest src code in /usr/src/linux
3. Get the latest tgz from ftp.sangoma.com/linux/current_wanpipe
4. tar xzvf wanpipe-xxx.tgz
5. Change ./util/wanpipemon/wanpipemon.c all multiline string constants to use ‘\n’ per gcc 3 ANSI C compatibility
6. ./Setup –builddir=/usr/src/built/ [--with-linux=/usr/src/kernel-source-xyz/] install
7. cd /usr/src/linux
8. make menuconfig
9. Aside from normal firewall opts, make sure the two following are modules: CONFIG_WAN_ROUTER=m, CONFIG_VENDOR_SANGOMA=m
10. export INSTALL_MOD_PATH=/usr/src/built/ (modules are used on other machine)
11. Edit modules, add -DEXPORT_SYMTAB to MODFLAGS. (this is req’d for 2.4.21 kernel)
12. make dep bzImage modules modules_install
13. install kernel and utility on firewall