Différences
Ci-dessous, les différences entre deux révisions de la page.
documentation:installation_wanpipe [2012/07/26 17:08] shimaore créée |
documentation:installation_wanpipe [2012/09/17 08:15] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Sangoma A104D PCI-E version: | ||
- | 05:04.0 Network controller: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card | ||
- | |||
- | Identifying the cards: [[http:// | ||
- | |||
- | |||
- | *Firmware | ||
- | From [[http:// | ||
- | | ||
- | |||
- | *Driver | ||
- | [[http:// | ||
- | |||
- | Dependencies: | ||
- | aptitude install gcc g++ automake autoconf libtool make libncurses5-dev flex bison patch linux-headers-$(uname | ||
- | |||
- | [[ftp:// | ||
- | |||
- | Installation: | ||
- | |||
- | Yate uses [[http:// | ||
- | .. apparently in B+D (HDLC) mode | ||
- | |||
- | *Build driver package | ||
- | |||
- | # Modified / | ||
- | aptitude update | ||
- | aptitude dist-upgrade | ||
- | # Install 3.2.0-3-rt-amd64 (as of writing ) | ||
- | aptitude install linux-image-rt-amd64 | ||
- | / | ||
- | | ||
- | # Then maybe: | ||
- | aptitude purge linux-image-3.2.0-2-amd64 linux-image-3.2.0-3-amd64 | ||
- | aptitude purge linux-headers-3.2.0-2-amd64 linux-headers-3.2.0-3-amd64 | ||
- | | ||
- | # In any case: | ||
- | aptitude -y install git etckeeper | ||
- | aptitude -y install curl | ||
- | aptitude -y install linux-headers-rt-amd64 | ||
- | # At this point, FIX / | ||
- | VERSION = 3 | ||
- | PATCHLEVEL = 2 | ||
- | SUBLEVEL = 0 | ||
- | EXTRAVERSION = -3-rt-amd64 | ||
- | |||
- | # Then continue: | ||
- | aptitude -y install build-essential gcc-multilib automake autoconf libtool flex bison | ||
- | cd /usr/src | ||
- | | ||
- | | ||
- | # curl -O [[ftp:// | ||
- | curl -O [[ftp:// | ||
- | tar xzf wanpipe-3.5.27.5.tgz | ||
- | cd wanpipe-3.5.27.5/ | ||
- | | ||
- | ./Setup builddeb --64bit_4GB --no_woomera | ||
- | |||
- | Screenshot: | ||
- | |||
- | root@ss7-gw2:/ | ||
- | |||
- | Installing modules for kernel: 3.2.0-3-rt-amd64 ! | ||
- | | ||
- | | ||
- | ---------------------------------------------------------- | ||
- | WANPIPE v3.5.27.5 Installation Script | ||
- | Copyright (c) 1995-2012, Sangoma Technologies Inc. | ||
- | ---------------------------------------------------------- | ||
- | | ||
- | | ||
- | | ||
- | WANPIPE DEB BUILD | ||
- | | ||
- | Wanpipe DEB will be build based on the | ||
- | following Environment variables. | ||
- | |||
- | 1. Linux Source Dir : / | ||
- | | ||
- | 2. Linux Source Name : 3.2.0-3-rt-amd64 | ||
- | | ||
- | 3. Current Image Name: 3.2.0-3-rt-amd64 | ||
- | | ||
- | 4. CPU Type : x86_64 | ||
- | | ||
- | 5. Wan Protocols | ||
- | | ||
- | 6. Build Directory | ||
- | | ||
- | | ||
- | | ||
- | Would you like to build WANPIPE DEB ? (y/n) **y** | ||
- | |||
- | *Installation of the driver | ||
- | |||
- | dpkg -i --force-overwrite wanpipe_35275-k320-3-rt-amd64_x86_64.deb | ||
- | |||
- | *Test | ||
- | | ||
- | / | ||
- | | ||
- | ------------------------------- | ||
- | | Wanpipe Hardware Probe Info | | ||
- | ------------------------------- | ||
- | 1 . AFT-A104-SH : SLOT=4 : BUS=5 : IRQ=11 : CPU=A : PORT=1 : HWEC=128 : V=43 | ||
- | 2 . AFT-A104-SH : SLOT=4 : BUS=5 : IRQ=11 : CPU=A : PORT=2 : HWEC=128 : V=43 | ||
- | 3 . AFT-A104-SH : SLOT=4 : BUS=5 : IRQ=11 : CPU=A : PORT=3 : HWEC=128 : V=43 | ||
- | 4 . AFT-A104-SH : SLOT=4 : BUS=5 : IRQ=11 : CPU=A : PORT=4 : HWEC=128 : V=43 | ||
- | | ||
- | Sangoma Card Count: A104=1 | ||
- | | ||
- | (Notice firmware revision is 4.3.) | ||
- | |||
- | |||
- | *Update firmware | ||
- | |||
- | < | ||
- | root@ss7-gw2:/ | ||
- | |||
- | Warning: Wanpipe modules loaded | ||
- | | ||
- | |||
- | eg: wanrouter stop | ||
- | |||
- | root@ss7-gw2:/ | ||
- | |||
- | ERROR: Wanpipe configuration file not found: | ||
- | / | ||
- | |||
- | No devices running, Unloading Modules | ||
- | root@ss7-gw2:/ | ||
- | modprobe wan_aften | ||
- | AFT card enabled | ||
- | |||
- | Sangoma AFT Series card update flash software (version 1.9) | ||
- | |||
- | Sangoma AFT card list: | ||
- | w1g1: AFT-A104-SH : SLOT=4 : BUS=5 : IRQ=32 : CPU=A : PORT=1 : HWEC=128 : V=43 (Ver.43) | ||
- | |||
- | Please select card interface [def=w1g1; q=exit] > **w1g1** | ||
- | |||
- | List of available versions: | ||
- | | ||
- | | ||
- | Please specify version number [def=44; q=exit] > **44** | ||
- | |||
- | w1g1: Current Sangoma Flash: Revision=43 ID=0x205B | ||
- | Erasing sectors | ||
- | Updating flash Passed | ||
- | Verification | ||
- | w1g1: Sangoma Flash update | ||
- | |||
- | w1g1: Reloading Sangoma flash DONE | ||
- | w1g1: Restore PCI registers | ||
- | w1g1: Sangoma Flash updated successfully | ||
- | |||
- | modprobe -r wan_aften | ||
- | AFT card disabled | ||
- | </ | ||
- | |||
- | *Configuring Wanpipe | ||
- | |||
- | [[http:// | ||
- | |||
- | [[http:// | ||
- | |||
- | All Yate docs for ysgichan / ss7 indicate that wpcard should be used; the Sangoma doc therefor would suggest: | ||
- | |||
- | (Issues I had: | ||
- | 1. wancfg sets Rx Level to 360 = 36dB?!) | ||
- | 2. MTU/MRU depends on the number of channels ) | ||
- | Also make sure to set the UDP Debugging port to 0. | ||
- | |||
- | Use `dmesg` to see the errors logged by the driver. | ||
- | |||
- | |||
- | *Operations | ||
- | Once the ports are up, `wanpipemon -g` is very useful. | ||
- | |||
- | |||