rendered paste bodysh # wanrouter version
WANPIPE Release: 3.1.3
----------------------------
sh # wanrouter hwprobe verbose
-----------------------------------------
| Wanpipe Hardware Probe Info (verbose) |
-----------------------------------------
1 . AFT-A200-SH : SLOT=4 : BUS=15 : IRQ=17 : CPU=A : PORT=PRI : HWEC=32 : V=07
+01:FXO
+02:FXO
+03:FXO
+04:FXO
+05:EMPTY
+06:EMPTY
+07:EMPTY
+08:EMPTY
+09:EMPTY
+10:EMPTY
+11:EMPTY
+12:EMPTY
+13:EMPTY
+14:EMPTY
+15:EMPTY
+16:EMPTY
+17:EMPTY
+18:EMPTY
+19:EMPTY
+20:EMPTY
+21:EMPTY
+22:EMPTY
+23:EMPTY
+24:EMPTY
2 . AFT-A102-SH : SLOT=4 : BUS=24 : IRQ=19 : CPU=A : PORT=1 : HWEC=64 : V=31
3 . AFT-A102-SH : SLOT=4 : BUS=24 : IRQ=19 : CPU=A : PORT=2 : HWEC=64 : V=31
Card Cnt: S508=0 S514X=0 S518=0 A101-2=1 A104=0 A300=0 A200=1 A108=0
-------------------------------------------------
sh # wanrouter status
Devices currently active:
wanpipe1 wanpipe2 wanpipe3
Wanpipe Config:
Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |
wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 19 | 4 | 1 | EXT | 0 |
wanpipe2 | N/A | A101/1D/A102/2D/4/4D/8| 19 | 4 | 1 | EXT | 0 |
wanpipe3 | N/A | A200/400 | 17 | 4 | 1 | EXT | 0 |
Wanrouter Status:
Device name | Protocol | Station | Status |
wanpipe1 | AFT HDLC | N/A | Connected |
wanpipe2 | AFT HDLC | N/A | Connected |
wanpipe3 | Unknown | N/A | Connected |
----------------------------------------
sh # cat /etc/wanpipe/wanpipe2.conf
#================================================
# WANPIPE2 Configuration File
#================================================
#
# Date: Mon Aug 20 14:57:30 CDT 2007
#
# Note: This file was generated automatically
# by /usr/sbin/wancfg program.
#
# If you want to edit this file, it is
# recommended that you use wancfg program
# to do so.
#================================================
# Sangoma Technologies Inc.
#================================================
[devices]
wanpipe2 = WAN_AFT_TE1, Comment
[interfaces]
w2g1 = wanpipe2, , TDM_VOICE, Comment
[wanpipe2]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 24
FE_MEDIA = T1
FE_LCODE = B8ZS
FE_FRAME = ESF
FE_LINE = 2
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
TE_HIGHIMPEDANCE = NO
LBO = 0DB
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 2
TDMV_DCHAN = 0
[w2g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
TDMV_HWEC = YES
----------------------------
sh # cat /etc/zaptel.conf
loadzone=us
defaultzone=us
# Sangoma A102 port 1 (T1 to stations [Zap/g1])
span=1,0,0,esf,b8zs
fxoks=1-24
# Sangoma A102 port 2 (T1 to PSTN [Zap/g2])
span=2,1,0,esf,b8zs
e&m=25-48
# Sangoma A200 (POTS to PSTN [Zap/g3])
fxsks=49-52
-------------------
sh # cat /etc/asterisk/zapata.conf
[channels]
; Sangoma A102 port 1 (channels 1-24) (internal T1 to stations)
context=from-internal
transfer=yes
group=1
signalling=fxo_ks
channel => 1-24
; Sangoma A102 port 2 (channels 25-48) (outbound T1 to PSTN)
context=from-internal
transfer=yes
group=2
signalling=em_w
channel => 25-48
; Sangoma A200 ports 1-3 (channels 49-52) (inbound DID/outbound TF/outbound 911)
signalling=fxs_ks
context=from-external
transfer=yes
busydetect=yes
group=4
channel => 50-52
; Sangoma A200 port 4 (channel 52) (inbound/outbound fax)
signalling=fxs_ks
context=fax-in
transfer=no
threewaycalling=no
group=5
channel => 49
-------------------------------
sh # ifconfig
bond0 Link encap:Ethernet HWaddr 00:1B:78:44:F9:52
inet addr:10.46.28.252 Bcast:10.46.28.255 Mask:255.255.255.0
inet6 addr: fe80::21b:78ff:fe44:f952/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1480 Metric:1
RX packets:16429352 errors:9 dropped:0 overruns:0 frame:9
TX packets:21287666 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2739407242 (2612.5 Mb) TX bytes:3202479047 (3054.1 Mb)
eth2 Link encap:Ethernet HWaddr 00:1B:78:44:F9:52
inet6 addr: fe80::21b:78ff:fe44:f952/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1480 Metric:1
RX packets:16429352 errors:9 dropped:0 overruns:0 frame:9
TX packets:21287666 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2739407242 (2612.5 Mb) TX bytes:3202479047 (3054.1 Mb)
Interrupt:16 Memory:f8000000-f8012100
eth3 Link encap:Ethernet HWaddr 00:1B:78:44:F9:52
UP BROADCAST SLAVE MULTICAST MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Memory:fa000000-fa012100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:242228 errors:0 dropped:0 overruns:0 frame:0
TX packets:242228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27044183 (25.7 Mb) TX bytes:27044183 (25.7 Mb)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.42.42.58 P-t-P:10.42.42.57 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
w1g1 Link encap:Point-to-Point Protocol
UP POINTOPOINT RUNNING NOARP MTU:8 Metric:1
RX packets:2581150212 errors:0 dropped:0 overruns:100489 frame:100489
TX packets:2581150212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8 (8.0 b) TX bytes:8 (8.0 b)
Interrupt:19 Memory:f8910000-f8911fff
w2g1 Link encap:Point-to-Point Protocol
UP POINTOPOINT RUNNING NOARP MTU:8 Metric:1
RX packets:2573738985 errors:0 dropped:0 overruns:1839 frame:1839
TX packets:2573738985 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1408 (1.3 Kb) TX bytes:1408 (1.3 Kb)
Interrupt:19 Memory:f8910000-f8911fff
w3g1 Link encap:Point-to-Point Protocol
UP POINTOPOINT RUNNING NOARP MTU:8 Metric:1
RX packets:2581146079 errors:0 dropped:0 overruns:0 frame:0
TX packets:2581146079 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3469299448 (3308.5 Mb) TX bytes:3469299448 (3308.5 Mb)
Interrupt:17 Memory:f89a0000-f89a1fff
-------------------------------
sh # cat /proc/interrupts
CPU0 CPU1
0: 2581670407 3730 IO-APIC-edge timer
1: 0 2 IO-APIC-edge i8042
2: 0 0 XT-PIC-XT cascade
8: 1 1 IO-APIC-edge rtc
12: 1 3 IO-APIC-edge i8042
14: 27 10 IO-APIC-edge ide0
16: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2
17: 3232472255 1 IO-APIC-fasteoi uhci_hcd:usb3, wanpipe3
18: 0 0 IO-APIC-fasteoi uhci_hcd:usb4
19: 6202 2581223785 IO-APIC-fasteoi uhci_hcd:usb5, wanpipe1, wanpipe2
22: 49 47 IO-APIC-fasteoi uhci_hcd:usb6
207: 3 6 PCI-MSI-edge eth3
208: 14172012 23073691 PCI-MSI-edge eth2
210: 29698 1421882 PCI-MSI-edge cciss0
NMI: 0 0
LOC: 2581753547 2581753840
ERR: 0
MIS: 0
-------------------------
sh # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5120 @ 1.86GHz
stepping : 6
cpu MHz : 1866.836
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm
bogomips : 3735.21
clflush size : 64
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5120 @ 1.86GHz
stepping : 6
cpu MHz : 1866.836
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm
bogomips : 3732.94
clflush size : 64
----------------------------
sh # cat /proc/meminfo
MemTotal: 2071020 kB
MemFree: 554564 kB
Buffers: 192 kB
Cached: 1192664 kB
SwapCached: 0 kB
Active: 1159096 kB
Inactive: 139992 kB
HighTotal: 1177952 kB
HighFree: 1644 kB
LowTotal: 893068 kB
LowFree: 552920 kB
SwapTotal: 1003672 kB
SwapFree: 1003672 kB
Dirty: 580 kB
Writeback: 0 kB
AnonPages: 106292 kB
Mapped: 18320 kB
Slab: 206928 kB
SReclaimable: 185524 kB
SUnreclaim: 21404 kB
PageTables: 1436 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2039180 kB
Committed_AS: 276420 kB
VmallocTotal: 118776 kB
VmallocUsed: 3260 kB
VmallocChunk: 114672 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
---------------------------------
sh # cat /etc/issue
This is \n.\O (\s \m \r) \t
Note: This box is running Gentoo 2007.0 w/ Linux kernel 2.6.20
---------------------------------
sh # wanpipemon -i w1g1 -c Ta
***** w1g1: T1 Alarms (Framer) *****
ALOS: OFF | LOS: OFF
RED: OFF | AIS: OFF
YEL: OFF | OOF: OFF
***** w1g1: T1 Alarms (LIU) *****
Short Circuit: OFF
Open Circuit: OFF
Loss of Signal: OFF
***** w1g1: T1 Performance Monitoring Counters *****
Line Code Violation : 4989
Bit Errors (CRC6/Ft/Fs) : 0
Out of Frame Errors : 0
Rx Level : > -2.5db
-------------------------------
sh # wanpipemon -i w2g1 -c Ta
***** w2g1: T1 Alarms (Framer) *****
ALOS: OFF | LOS: OFF
RED: OFF | AIS: OFF
YEL: OFF | OOF: OFF
***** w2g1: T1 Alarms (LIU) *****
Short Circuit: OFF
Open Circuit: OFF
Loss of Signal: OFF
***** w2g1: T1 Performance Monitoring Counters *****
Line Code Violation : 234
Bit Errors (CRC6/Ft/Fs) : 114779
Out of Frame Errors : 876
Rx Level : > -2.5db
Note: I included this one even though not specified by your email, as this is the interface in trouble
----------------------------------------
I will do the more invasive "wanrouter restart" and /var/log/messages dump later (off-hours here) if still required, just let me know.