[root@ana4 smginstall-2006-10-22]# ./smginstall ss7box_s_series installing ss7box_s_series move_directory /usr/src/Sangoma/wanpipe to /usr/src/Sangoma/wanpipe_old smg_uninstall install_sangoma_driver make_directory /usr/src/Sangoma directory already exists: /usr/src/Sangoma copy wanpipe-2.3.2-6.tgz to /usr/src/Sangoma untarring /usr/src/Sangoma/wanpipe-2.3.2-6.tgz
press Enter to continue; ctl-c to quit ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- WANPIPE INSTALLATION You are about to install WANPIPE Multi-Protocol WAN Router into your system. This script will examine your system, then install, create and/or modify necessary files and directories. You must have the full Linux source code in /lib/modules/2.6.9-42.0.2.EL/build directory and development system (i.e. GNU C compiler and utilities) installed in order to be able to install this product. The automatic WANPIPE kernel module compilation option will compile all necessary WANPIPE drivers: thus, no need to re-compile the kernel. Previously patched kernels can now be upgraded to the latest WANPIPE release: thus, no need for a fresh kernel install. Please read WanpipeInstallation.(pdf/txt) and Release Notes before proceeding with the installation. Would you like to install WAN Router now? (y/n) y ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- Fixing file permissions... Verifying files and fixing permissions ... Done Checking for C developement tools ...OK Checking for C++ developement tools ...OK Checking for bash2 ... OK OK Checking for ncurses library ... OK Checking for Perl developement tools ...OK Checking for AWK ...OK Checking for FLEX ...OK Checking for Patch ...OK Press [Enter] to continue...
---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- UPDATING WANPIPE DEVICE DRIVERS: LINUX KERNEL To integrate WANPIPE Multiprotocol WAN Router (and WAN drivers included with this package) into the Linux kernel, the kernel has to be 'patched' or 'upgraded'. Patching/Upgrading will update ONLY WANPIPE source files located in the Linux kernel. If the kernel has already been patched with old WANPIPE drivers you'll be prompted to upgrade to the current version. IMPORTANT: It is always recommended to say YES to UPGRADE option, this way we make sure that the latest WANPIPE driver sources are in the linux kernel tree. Would you like update/upgrade wanpipe drivers? (y/n) y ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- Please specify absolute path name of your linux directory (Press Enter for Default: /lib/modules/2.6.9-42.0.2.EL/build) Setting linux directory to /lib/modules/2.6.9-42.0.2.EL/build Current WANPIPE kernel patch is 2.3.2-6 Upgrading WANPIPE kernel documentation ...Done. Upgrading WANPIPE kernel headers ...Done. Upgrading WANPIPE kernel drivers ...Done. WANPIPE device drivers upgraded successfully! Press [Enter] to continue... ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- WANPIPE KERNEL DRIVER COMPILATION The next step in WANPIPE installation involves compiling WANPIPE kernel modules. The setup is able to compile all WANPIPE and API drivers. Therefore, NO kernel recompilation is necessary :) Default Compilation: -------------------- WANPIPE drivers will include following standard WAN protocols: Frame Relay, CHDLC, PPP, X25 and ADSL Custom Compilation: ------------------ Customise WANPIPE driver compilation to add only the protocols that you need. This way one can reduce the size of the WANPIPE kernel drivers. Refer to the WapipeIntallation.(pdf/txt) documentation. Proceed to build WANPIPE kernel modules ? (y/n) y ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- Please Select Compilation Mode 1. Default Compilation Mode Protocols: Frame Relay, CHDLC, PPP, X25 and ADSL 2. TDMV Compilation Mode Protocols: TDMV, Frame Relay, CHDLC, PPP, X25, ADSL 3. Custom Compilation Mode Specify protocols to be added into the WANPIPE kernel drivers. Please select (1,2 or 3) [Default: 1]: 3 ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- DEFAULT Protocols [FR] : Frame Relay [PPP] : PPP [CHDLC] : Cisco HDLC [X25] : X25 API [MFR] : MP Frame Relay [MPROT] : MP Prot [ADSL] : ADSL (S518) [ATM] : ATM [AFT_TE1] : AFT_TE1 (A101/2/4)[AFT_TE3] : AFT_TE3 (A105) API Protocols [SDLC] : SDLC [BISYNC] : MP Bisync [BSCSTRM] : Bisync Stream [BITSTRM] : Bit Stream [POS] : POS (S509/S515) [EDU] : Wan EduKit [SS7] : SS7 L2 [MPAPI] : MP API [ADCCP] : ADCCP LAPB API [ASYHDLC] : Async HDLC API [LIPAPI] : LIP XDLC/LAPB [TDM] : TDMV Asterisk [DEF] : Enable All Default [API] : Enable All API [ALL] : Enable All Protocols [NONE]: Disable ALL Protocols [EXIT|Q|q]: Exit Protocol Selection Please select a protocol option in [<opt>]: BITSTRM Enabling the BITSTRM Protocol ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- DEFAULT Protocols [FR] : Frame Relay [PPP] : PPP [CHDLC] : Cisco HDLC [X25] : X25 API [MFR] : MP Frame Relay [MPROT] : MP Prot [ADSL] : ADSL (S518) [ATM] : ATM [AFT_TE1] : AFT_TE1 (A101/2/4)[AFT_TE3] : AFT_TE3 (A105) API Protocols [SDLC] : SDLC [BISYNC] : MP Bisync [BSCSTRM] : Bisync Stream [BITSTRM]*: Bit Stream [POS] : POS (S509/S515) [EDU] : Wan EduKit [SS7] : SS7 L2 [MPAPI] : MP API [ADCCP] : ADCCP LAPB API [ASYHDLC] : Async HDLC API [LIPAPI] : LIP XDLC/LAPB [TDM] : TDMV Asterisk [DEF] : Enable All Default [API] : Enable All API [ALL] : Enable All Protocols [NONE]: Disable ALL Protocols [EXIT|Q|q]: Exit Protocol Selection Please select a protocol option in [<opt>]: q Supported WAN Protocols: Press [Enter] to continue... - API Socket Support for X25, HDLC, CHDLC and Frame Relay API socket development. Press [Enter] to continue... - BITSTRM Protocol Support for Bitstream Protocol over S514/S508 cards. Bitstream protocol can Tx/Rx data over individual T1/E1 DS0's as well as Tx/Rx raw bit streams. Press [Enter] to continue... Checking for SMP support ...Disabled. Checking current processor type ...i686 Wan Update Flags: -DWANPIPE_MOD_266_FORCE_UPDATE -------------------------------------------------- CFLAGS: gcc -Wp,-MD,.wanpipe.o.d -nostdinc -iwithprefix include -D__LINUX__ -Dlinux -D__KERNEL__ -I/lib/modules/2.6.9-42.0.2. EL/build/include -DMODULE -DWANPIPE_MOD_266_FORCE_ UPDATE -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia sing -fno-common -Os -fomit-frame-pointer -g -Wdeclaration-after -statement -pipe -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-lo g2 -fno-builtin-puts -mpreferred-stack-boundary=2 -fno-unit-at-a-ti me -march=i686 -mregparm=3 -I/lib/modules/2.6.9-42.0.2.EL/build/i nclude/asm-i386/mach-default -D__KERNEL__ -Iinclude -------------------------------------------------- Checking for REGPARM kernel option ...Enabled. Compiling General WANPIPE Driver for 2.6.X Kernel .....Done. .Linking Wanpipe Driver and protocols ...Done. Updating Kernel Modules ...Done. Confirm driver compilation successful! (y/n) y Compilation Successful. ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- WANPIPE BOOTSTRAP CONFIGURATION Your system uses System V -style initialization scripts. You have an option to add router start-up script to those scripts so that the router will start automatically when system enters multi-user mode and shut down when it enters single-user mode or when it is halted. i.e. By selecting this option WANPIPE will startup on system bootup and stop on system shutdown. Would you like to install WANPIPE start-up scripts? (y/n) n ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- WANPIPE META CONFIGURATION There are two configuration files associated with WANPIPE. 1) /usr/src/Sangoma/wanpipe/wanrouter.rc: - defines locations of important files such as lock and configuration files as well as start/stop order of multiple WANPIPE devices. 2) /usr/src/Sangoma/wanpipe/wanpipe1.conf: - main configuration file for each WANPIPE device. - defines interfaces, hardware and protocol information. - this file can be created using the 'wancfg' GUI utility or manually based on sample files located in /etc/wanpipe/samples. Please read the WanpipeInstallation.(pdf/txt) manual for further information. Press [Enter] to continue... Please specify a desired location for WANPIPE configuration files. (Press Enter for Default: /etc/wanpipe) <specify path:> Please specify a desired location for WANPIPE interface files. (Press Enter for Default: /etc/wanpipe/interfaces) <specify path:> Please specify a location for WANPIPE binary, firmware files. (Press Enter for Default: /etc/wanpipe/firmware) <specify path:> ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- WANPIPE UTILITIES SETUP WANPIPE utilities are used to: 1) create WANPIPE configuration files. (/usr/sbin/wancfg) 2) start,stop,restart individual/all devices and interfaces. (/usr/sbin/wanrouter) 3) debug line, protocol and driver problems. (/usr/sbin/wanpipemon) 4) configure the optional onboard FT1 CSU/DSU (S508/S5143). (/usr/sbin/cfgft1) 5) aid in WANPIPE API development (/etc/wanpipe/api) Refer to the WanpipeInstallation.(pdf/txt) for more information. Press [Enter] to continue... Compiling WANPIPE Utilities ... Compiling WANPIPE WanCfg Utility ...Done. Compiling WANPIPE Misc Utilities ...Done. Compiling WANPIPE API Development Utilities ...Done. WANPIPE Environment Setup Complete !!! Press [Enter] to continue... Installing WANPIPE Files ... ! Installing WANPIPE Utilities in /usr/sbin Installing wanrouter.rc in /etc/wanpipe Installing wanpipe libraries in /etc/wanpipe Installing firmware in /etc/wanpipe/firmware Installing documentation in /usr/share/doc/wanpipe Installing sample api code in /etc/wanpipe/api Installing driver headers in /etc/wanpipe/api/include/linux Press [Enter] to continue... ---------------------------------------------------------- WAN Router v2.3.2-6 Installation Script Copyright (c) 1995-2005, Sangoma Technologies Inc. ---------------------------------------------------------- WANPIPE INSTALLATON: COMPLETE WAN Router installation is now complete. WANPIPE kernel drivers and configuration/debug utilities have been compiled and installed. 1) Proceed to configure the WANPIPE drivers using the /usr/sbin/wancfg GUI configurator. 2) Use the /usr/sbin/wanrouter startup scrip to start and stop the router. 3) Use /usr/sbin/cfgft1 to configure the (optional) onboard CSU/DSU. 4) The temporary wanpipe directory can now be deleted 5) To uninstall WANPIPE package run ./Setup remove Please read WanpipeInstallation.(pdf/txt) manual for further instructions. IMPORTANT: --------- HOTPLUG Conflicts with WANPIPE The HOTPLUG Service should be disabled because it conflicts with Wanpipe interface startup. The HOTPLUG can conflict with startup of TDMV drivers. Please read the README.faq on how to prevent this. IMPORTANT: --------- The Linux Kernel and Modules in /lib/modules/2.6.9-42.0.2.EL/build: DO NOT have to be manually recompiled! WANPIPE kernel modules are already installed :) copy wanpipe1.conf.t1 to /etc/wanpipe copy wanpipe1.conf.e1 to /etc/wanpipe cp: cannot stat `wanrouter.rc': No such file or directory install_ss7box_etc make_directory /etc/ss7box install_ss7box_bin make_directory /usr/local/ss7box copy Tail to /usr/local/ss7box copy ss7boxd to /usr/local/ss7box copy ss7mon to /usr/local/ss7box [root@ana4 smginstall-2006-10-22] #
Created by: mike last modification: Tuesday 31 of October, 2006 [18:47:30 UTC] by mike
The original document is available at http://www.ss7box.com/tiki-index.php?page=ss7box%20S%20Series%20Installation%20Example