Hola espereando te encuentres bien Christian, hace tiempo fui a tu curso y también compre una tarjeta sangoma A200 la ando instalando y me acaba de dar un error cuando ejecuto:
wanrouter start
Starting up device: wanpipe1
wanconfig: WAN device wanpipe1 driver load failed !!
: ioctl(wanpipe1,ROUTER_SETUP) failed:
: 22 - Invalid argument
Wanpipe driver did not load properly
Please check /var/log/wanrouter and
/var/log/messages for errors
Configuring interfaces: w1g1 w1g1: ERROR while getting interface flags: No such device
done.
Busque en los logs y me sale:
/var/log/wanrouter
Starting up device: wanpipe1
WAN Router Configurator(c) 1995-2003 Sangoma Technologies Inc.
* Parsing configuration file /etc/wanpipe/wanpipe1.conf ...
* Reading section [devices]...
* Reading section [wanpipe1]...
* Reading section [interfaces]...
* w1g1 to used by TDM_VOICE
* Reading section [w1g1]...
* Configuring device wanpipe1 (no description)
* Setting CARD_TYPE to AFT
* Setting S514CPU to A
* Setting COMMPORT to PRI
* Setting AUTO_PCISLOT to NO
* Setting PCISLOT to 4
* Setting PCIBUS to 4
* Setting FE_MEDIA to FXO/FXS
* Setting TDMV_LAW to ALAW
* Setting TDMV_OPERMODE to FCC
* Setting RM_BATTTHRESH to 3
* Setting RM_BATTDEBOUNCE to 16
* Setting FE_NETWORK_SYNC to NO
* Setting MTU to 1500
* Setting UDPPORT to 9000
* Setting TTL to 255
* Setting IGNORE_FRONT_END to NO
* Setting TDMV_SPAN to 1
* Setting TE_AIS_MAINTENANCE to NO
* Setting TDMV_HW_DTMF to NO
* Setting TDMV_HW_FAX_DETECT to NO
* Setting HWEC_OPERATION_MODE to OCT_NORMAL
* Setting HWEC_DTMF_REMOVAL to NO
* Setting HWEC_NOISE_REDUCTION to NO
* Setting HWEC_ACUSTIC_ECHO to NO
* Setting HWEC_NLP_DISABLE to NO
* Setting HWEC_TX_AUTO_GAIN to 0
* Setting HWEC_RX_AUTO_GAIN to 0
* Setting HWEC_TX_GAIN to 0
* Setting HWEC_RX_GAIN to 0
* Setting TE_RX_SLEVEL to 120
/var/log/messages
Oct 8 18:47:40 asterisk kernel: [ 8076.129729] af_wanpipe: Unregistering Wanpipe API Socket Module
Oct 8 18:47:40 asterisk kernel: [ 8076.141883] NET: Unregistered protocol family 25
Oct 8 18:47:40 asterisk kernel: [ 8076.166398] wanec_remove_dev: Unregistering Wanpipe ECDEV Device!
Oct 8 18:47:40 asterisk kernel: [ 8076.166436] WANEC Layer: Unloaded
Oct 8 18:47:40 asterisk kernel: [ 8076.189663] WANPIPE: TDM Codecs unloaded.
Oct 8 18:47:40 asterisk kernel: [ 8076.189985]
Oct 8 18:47:40 asterisk kernel: [ 8076.189986] wanpipe: WANPIPE Modules Unloaded.
Oct 8 18:47:40 asterisk kernel: [ 8076.213738] dahdi: Telephony Interface Unloaded
Oct 8 18:47:40 asterisk kernel: [ 8076.237637] usbcore: deregistering interface driver sdlausb
Oct 8 18:47:40 asterisk kernel: [ 8076.274691] WANPIPE(tm) Hardware Support Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.274825] usbcore: registered new interface driver sdlausb
Oct 8 18:47:40 asterisk kernel: [ 8076.277428] dahdi: Telephony Interface Registered on major 196
Oct 8 18:47:40 asterisk kernel: [ 8076.277429] dahdi: Version: 2.6.1
Oct 8 18:47:40 asterisk kernel: [ 8076.280434] WANPIPE(tm) Interface Support Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.285292] WANPIPE(tm) Multi-Protocol WAN Driver Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.285294] wanpipe: Probing for WANPIPE hardware.
Oct 8 18:47:40 asterisk kernel: [ 8076.297968] wanpipe: AFT-A200-SH PCIe FXO/FXS card found (HDLC rev.13), cpu(s) 1, bus #4, slot #4, irq #17
Oct 8 18:47:40 asterisk kernel: [ 8076.297972] wanpipe: Allocating maximum 1 devices: wanpipe1 - wanpipe1.
Oct 8 18:47:40 asterisk kernel: [ 8076.298213] WANPIPE: TDM Codecs Initialized
Oct 8 18:47:40 asterisk kernel: [ 8076.301762] WANPIPE(tm) Socket API Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.301764] NET: Registered protocol family 25
Oct 8 18:47:40 asterisk kernel: [ 8076.307111] WANPIPE(tm) WANEC Layer 7.0.5.0 (c) 1995-2006 Sangoma Technologies Inc.
Oct 8 18:47:40 asterisk kernel: [ 8076.307113] wanec_create_dev: Registering Wanpipe ECDEV Device!
Oct 8 18:47:40 asterisk kernel: [ 8076.310201] wanpipe1: Starting WAN Setup
Oct 8 18:47:40 asterisk kernel: [ 8076.310203]
Oct 8 18:47:40 asterisk kernel: [ 8076.310204] Processing WAN device wanpipe1...
Oct 8 18:47:40 asterisk kernel: [ 8076.310206] wanpipe1: Locating: A200/A400/B600/B700/B800/B610 card, CPU A, PciBus=4, PciSlot=4
Oct 8 18:47:40 asterisk kernel: [ 8076.310209] wanpipe1: Found: A200/A400/B600/B700/B800/B610 card, CPU A, PciBus=4, PciSlot=4, Port=0
Oct 8 18:47:40 asterisk kernel: [ 8076.310237] wanpipe1: AFT PCI memory at 0xC5100000
Oct 8 18:47:40 asterisk kernel: [ 8076.310238] wanpipe1: IRQ 17 allocated to the AFT PCI card
Oct 8 18:47:40 asterisk kernel: [ 8076.310251] wanpipe1: Starting AFT Analog Hardware Init.
Oct 8 18:47:40 asterisk kernel: [ 8076.310254] wanpipe1: Enabling front end link monitor
Oct 8 18:47:40 asterisk kernel: [ 8076.310256] wanpipe1: Global Chip Configuration: used=1 used_type=1
Oct 8 18:47:40 asterisk kernel: [ 8076.310285] wanpipe1: Global Front End Configuration!
Oct 8 18:47:40 asterisk kernel: [ 8076.310286] wanpipe1: Configuring FXS/FXO Front End ...
Oct 8 18:47:40 asterisk kernel: [ 8076.322685] wanpipe1: Failed Front End configuration!
Oct 8 18:47:40 asterisk kernel: [ 8076.322691] wanpipe1: AFT communications disabled! (Dev Cnt: 1 Cause: Device Down)
Oct 8 18:47:40 asterisk kernel: [ 8076.322711] wanpipe1: AFT communications disabled! (Dev Cnt: 1 Cause: Device Down)
Oct 8 18:47:40 asterisk kernel: [ 8076.322723] wanpipe1: TASKQ Not Running
Oct 8 18:47:40 asterisk kernel: [ 8076.322724] wanpipe1: Global Chip Shutdown Usage=1, Used_type_cnt=1
Oct 8 18:47:40 asterisk kernel: [ 8076.322740] wanpipe1: Master shutting down
Mi wanpipe1.conf
[devices]
wanpipe1 = WAN_AFT_ANALOG, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 4
FE_MEDIA = FXO/FXS
TDMV_LAW = ALAW
TDMV_OPERMODE = FCC
RM_BATTTHRESH = 3
RM_BATTDEBOUNCE = 16
FE_NETWORK_SYNC = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
#wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
TDMV_HW_DTMF = NO # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = NO # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
# OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
TE_RX_SLEVEL = 120
[w1g1]
ACTIVE_CH = ALL
MTU = 8
TDMV_HWEC = NO
No sé que mas hacer, ando un poco desesperado ya que es la tercera vez que lo intento y me sigue saliendo el mismo error ya lo intente con las versiones mas recientes y todo lo que eh tenido al alcance de mi mano, leí un tema que tenía el mismo error es este foro pero no menciono la solución solo dijo que reinstalo todo pero yo ya lo intente y sigo en las mismas, espero me puedas ayudar de antemano gracias.
Saludos.
wanrouter start
Starting up device: wanpipe1
wanconfig: WAN device wanpipe1 driver load failed !!
: ioctl(wanpipe1,ROUTER_SETUP) failed:
: 22 - Invalid argument
Wanpipe driver did not load properly
Please check /var/log/wanrouter and
/var/log/messages for errors
Configuring interfaces: w1g1 w1g1: ERROR while getting interface flags: No such device
done.
Busque en los logs y me sale:
/var/log/wanrouter
Starting up device: wanpipe1
WAN Router Configurator(c) 1995-2003 Sangoma Technologies Inc.
* Parsing configuration file /etc/wanpipe/wanpipe1.conf ...
* Reading section [devices]...
* Reading section [wanpipe1]...
* Reading section [interfaces]...
* w1g1 to used by TDM_VOICE
* Reading section [w1g1]...
* Configuring device wanpipe1 (no description)
* Setting CARD_TYPE to AFT
* Setting S514CPU to A
* Setting COMMPORT to PRI
* Setting AUTO_PCISLOT to NO
* Setting PCISLOT to 4
* Setting PCIBUS to 4
* Setting FE_MEDIA to FXO/FXS
* Setting TDMV_LAW to ALAW
* Setting TDMV_OPERMODE to FCC
* Setting RM_BATTTHRESH to 3
* Setting RM_BATTDEBOUNCE to 16
* Setting FE_NETWORK_SYNC to NO
* Setting MTU to 1500
* Setting UDPPORT to 9000
* Setting TTL to 255
* Setting IGNORE_FRONT_END to NO
* Setting TDMV_SPAN to 1
* Setting TE_AIS_MAINTENANCE to NO
* Setting TDMV_HW_DTMF to NO
* Setting TDMV_HW_FAX_DETECT to NO
* Setting HWEC_OPERATION_MODE to OCT_NORMAL
* Setting HWEC_DTMF_REMOVAL to NO
* Setting HWEC_NOISE_REDUCTION to NO
* Setting HWEC_ACUSTIC_ECHO to NO
* Setting HWEC_NLP_DISABLE to NO
* Setting HWEC_TX_AUTO_GAIN to 0
* Setting HWEC_RX_AUTO_GAIN to 0
* Setting HWEC_TX_GAIN to 0
* Setting HWEC_RX_GAIN to 0
* Setting TE_RX_SLEVEL to 120
/var/log/messages
Oct 8 18:47:40 asterisk kernel: [ 8076.129729] af_wanpipe: Unregistering Wanpipe API Socket Module
Oct 8 18:47:40 asterisk kernel: [ 8076.141883] NET: Unregistered protocol family 25
Oct 8 18:47:40 asterisk kernel: [ 8076.166398] wanec_remove_dev: Unregistering Wanpipe ECDEV Device!
Oct 8 18:47:40 asterisk kernel: [ 8076.166436] WANEC Layer: Unloaded
Oct 8 18:47:40 asterisk kernel: [ 8076.189663] WANPIPE: TDM Codecs unloaded.
Oct 8 18:47:40 asterisk kernel: [ 8076.189985]
Oct 8 18:47:40 asterisk kernel: [ 8076.189986] wanpipe: WANPIPE Modules Unloaded.
Oct 8 18:47:40 asterisk kernel: [ 8076.213738] dahdi: Telephony Interface Unloaded
Oct 8 18:47:40 asterisk kernel: [ 8076.237637] usbcore: deregistering interface driver sdlausb
Oct 8 18:47:40 asterisk kernel: [ 8076.274691] WANPIPE(tm) Hardware Support Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.274825] usbcore: registered new interface driver sdlausb
Oct 8 18:47:40 asterisk kernel: [ 8076.277428] dahdi: Telephony Interface Registered on major 196
Oct 8 18:47:40 asterisk kernel: [ 8076.277429] dahdi: Version: 2.6.1
Oct 8 18:47:40 asterisk kernel: [ 8076.280434] WANPIPE(tm) Interface Support Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.285292] WANPIPE(tm) Multi-Protocol WAN Driver Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.285294] wanpipe: Probing for WANPIPE hardware.
Oct 8 18:47:40 asterisk kernel: [ 8076.297968] wanpipe: AFT-A200-SH PCIe FXO/FXS card found (HDLC rev.13), cpu(s) 1, bus #4, slot #4, irq #17
Oct 8 18:47:40 asterisk kernel: [ 8076.297972] wanpipe: Allocating maximum 1 devices: wanpipe1 - wanpipe1.
Oct 8 18:47:40 asterisk kernel: [ 8076.298213] WANPIPE: TDM Codecs Initialized
Oct 8 18:47:40 asterisk kernel: [ 8076.301762] WANPIPE(tm) Socket API Module 7.0.5.0 (c) 1994-2013 Sangoma Technologies Inc
Oct 8 18:47:40 asterisk kernel: [ 8076.301764] NET: Registered protocol family 25
Oct 8 18:47:40 asterisk kernel: [ 8076.307111] WANPIPE(tm) WANEC Layer 7.0.5.0 (c) 1995-2006 Sangoma Technologies Inc.
Oct 8 18:47:40 asterisk kernel: [ 8076.307113] wanec_create_dev: Registering Wanpipe ECDEV Device!
Oct 8 18:47:40 asterisk kernel: [ 8076.310201] wanpipe1: Starting WAN Setup
Oct 8 18:47:40 asterisk kernel: [ 8076.310203]
Oct 8 18:47:40 asterisk kernel: [ 8076.310204] Processing WAN device wanpipe1...
Oct 8 18:47:40 asterisk kernel: [ 8076.310206] wanpipe1: Locating: A200/A400/B600/B700/B800/B610 card, CPU A, PciBus=4, PciSlot=4
Oct 8 18:47:40 asterisk kernel: [ 8076.310209] wanpipe1: Found: A200/A400/B600/B700/B800/B610 card, CPU A, PciBus=4, PciSlot=4, Port=0
Oct 8 18:47:40 asterisk kernel: [ 8076.310237] wanpipe1: AFT PCI memory at 0xC5100000
Oct 8 18:47:40 asterisk kernel: [ 8076.310238] wanpipe1: IRQ 17 allocated to the AFT PCI card
Oct 8 18:47:40 asterisk kernel: [ 8076.310251] wanpipe1: Starting AFT Analog Hardware Init.
Oct 8 18:47:40 asterisk kernel: [ 8076.310254] wanpipe1: Enabling front end link monitor
Oct 8 18:47:40 asterisk kernel: [ 8076.310256] wanpipe1: Global Chip Configuration: used=1 used_type=1
Oct 8 18:47:40 asterisk kernel: [ 8076.310285] wanpipe1: Global Front End Configuration!
Oct 8 18:47:40 asterisk kernel: [ 8076.310286] wanpipe1: Configuring FXS/FXO Front End ...
Oct 8 18:47:40 asterisk kernel: [ 8076.322685] wanpipe1: Failed Front End configuration!
Oct 8 18:47:40 asterisk kernel: [ 8076.322691] wanpipe1: AFT communications disabled! (Dev Cnt: 1 Cause: Device Down)
Oct 8 18:47:40 asterisk kernel: [ 8076.322711] wanpipe1: AFT communications disabled! (Dev Cnt: 1 Cause: Device Down)
Oct 8 18:47:40 asterisk kernel: [ 8076.322723] wanpipe1: TASKQ Not Running
Oct 8 18:47:40 asterisk kernel: [ 8076.322724] wanpipe1: Global Chip Shutdown Usage=1, Used_type_cnt=1
Oct 8 18:47:40 asterisk kernel: [ 8076.322740] wanpipe1: Master shutting down
Mi wanpipe1.conf
[devices]
wanpipe1 = WAN_AFT_ANALOG, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 4
FE_MEDIA = FXO/FXS
TDMV_LAW = ALAW
TDMV_OPERMODE = FCC
RM_BATTTHRESH = 3
RM_BATTDEBOUNCE = 16
FE_NETWORK_SYNC = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
#wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
TDMV_HW_DTMF = NO # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = NO # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
# OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
TE_RX_SLEVEL = 120
[w1g1]
ACTIVE_CH = ALL
MTU = 8
TDMV_HWEC = NO
No sé que mas hacer, ando un poco desesperado ya que es la tercera vez que lo intento y me sigue saliendo el mismo error ya lo intente con las versiones mas recientes y todo lo que eh tenido al alcance de mi mano, leí un tema que tenía el mismo error es este foro pero no menciono la solución solo dijo que reinstalo todo pero yo ya lo intente y sigo en las mismas, espero me puedas ayudar de antemano gracias.
Saludos.
Comentario