Wanpipe Setup Options
Below is a list of different options available using the ./Setup command in the wanpipe source folder.
USAGE:
======
./Setup {command}
or
./Setup {command} [ optinal command extensions ]
commands:
---------
install : Install/Upgrade WANPIPE
upgrade : Upgrade WANPIPE kernel device drivers
and utilities. (Same as install!)
remove : Uninstall WANPIPE
remove_init : Uninstall WANPIPE Boot Startup Scripts
install_init : Install WANPIPE Boot Startup Scripts
drivers : Re-install and Re-compile
WANPIPE kernel device drivers ONLY
buildrpm : Build the custom WANPIPE RPM binary for the
current system.
For further help read README.rpm
helprpm : RPM build help information.
builddeb : Build the custom WANPIPE Debian binary
: package for current system.
utility : Re-compile WANPIPE Tools/Utilities
<any key> : Help
optional command extensions:
----------------------------
--silent : Non interactive. Run all above commands
without user interaction. Thus default
environment values are assumed such
as:
Linux source dir: /lib/modules/2.6.18-164.10.1.el5/build
Architecture : uname -m
Kernel Image : uname -r
--builddir : Install WANPIPE package into a virtual
directory. The path must be
absolute and must exist. Default is set
to system root( / ).
eg: --builddir=/root/wanpipe_build
--with-linux : Build modules using a custom linux
source directory. Default value is
set to /lib/modules/2.6.18-164.10.1.el5/build
eg: --with-linux=/usr/src/linux-2.4.4
--with-zaptel : Build modules using a certain verion of
zaptel or dahdi
eg: --with-zaptel=/usr/src/zaptel-1.4.12
--with-zaptel=/usr/src/dahdi-linux-2.2.0.2
--with-asterisk : Build modules using a certain verions of
Asterisk
eg: --with-asterisk=/usr/src/asterisk-1.6.0.9
--arch : Build modules using a custom defined
architecture. (i686 or i586)
By default: (uname -m)
eg: --arch=i686
--split_rpms : Option to split the rpm build into
util and modules package. Thus,
splitting user space utilities and
kernel modules into two packages.
Default: one rpm package containing
both utilites and modules.
eg: ./Setup buildrpm --split_rpms
--linux-vanilla : Compile wanpipe drivers as if the
current linux source is a vanilla source.
Used to remove the default assumption that
stock distribution kernels pull changes
from higher linux kernel versions.
--no-gcc-debug : Remove -g option out of gcc compile argumetns.
--noautostart : Do not install start scripts, used to overwrite
the install of these scripts when using --silent
--64bit_4GB : Dated option, script should auto detect this case.
This could cause issues in some cases, DO NOT USE
Use this option when installing on systems using
a 64bit kernel and 4GB of RAM or more. Wanpipe
needs to be aware that 64bit memory mapping is
used.
--dahdi-chunk : Use to increase the chunk size of Dahdi.
Drastically improves performance in TDM Voice
See the wiki for more information
--no_woomera : Option to compile the driver without installing
chan_woomera.
--protocol : Option to compile in extra protocols
that are not installed by default.
eg: ./Setup install --protocol=<PROT>
Extra Protocols Supported:
SS7 : SS7 Level 2 API prot support
BITSTRM: BitStreaming Protocol support
BSCSTRM: Nasdaq BiSync API protocol
BISYNC : Multi-Point Bisync API protocol
SDLC : SDLC API protocol support
EDU : Wan EduKit Driver suporrt
POS : POS (S509/S515) hw/prot support
SDLC : SDLC API protocol
MPAPI : Multi Protocol API: X25,LAPB,DSP
ADCCP : ADCCP API protocol (LapB)
TDM : Hardware TDM VOICE support to Asterisk PBX
BRI : Sangoma BRI + Media Gateway Support