Trying to install wanpipe 3.5.18. No errors during compile. But when I reach the point where wanpipe and dahdi_cfg is started, I encountered an error. Starting WAN Router... Loading WAN drivers: wanpipe done. 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. /etc/wanpipe/scripts/start: 7: Syntax error: Bad for loop variable DAHDI_SPANCONFIG failed on span 1: No such device or address (6) Dont know why I still keep getting a 'No such device' error even if the device was detected (Sangoma a104de, setup asked to configure/skip the 4 ports) before the error happened. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110211/49a79054/attachment.htm>
Try to check your kernel version as per the wiki.sangoma.com website. I hope that will solve your issue. On Fri, Feb 11, 2011 at 12:17 PM, Roi Stork <roi.stork at gmail.com> wrote:> Trying to install wanpipe 3.5.18. > > No errors during compile. But when I reach the point where wanpipe and > dahdi_cfg is started, I encountered an error. > > Starting WAN Router... > Loading WAN drivers: wanpipe done. > 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. > /etc/wanpipe/scripts/start: 7: Syntax error: Bad for loop variable > > DAHDI_SPANCONFIG failed on span 1: No such device > or address (6) > > Dont know why I still keep getting a 'No such device' error even if the > device was detected (Sangoma a104de, setup asked to configure/skip the 4 > ports) before the error happened. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Thank you with regards, Gopalakrishnan A.N. VoIP call - sip:saigop at gtalk2voip.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110211/7f7e82f9/attachment.htm>
As the error suggest, try checking /var/log/messages for possible hints on what went wrong. Make sure you configured the device with wancfg_dahdi script first. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy at sangoma.com On Fri, Feb 11, 2011 at 1:47 AM, Roi Stork <roi.stork at gmail.com> wrote:> Trying to install wanpipe 3.5.18. > > No errors during compile. But when I reach the point where wanpipe and > dahdi_cfg is started, I encountered an error. > > Starting WAN Router... > Loading WAN drivers: wanpipe done. > 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. > /etc/wanpipe/scripts/start: 7: Syntax error: Bad for loop variable > > DAHDI_SPANCONFIG failed on span 1: No such device > or address (6) > > Dont know why I still keep getting a 'No such device' error even if the > device was detected (Sangoma a104de, setup asked to configure/skip the 4 > ports) before the error happened. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110211/51f26056/attachment.htm>