<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Should be installed here:<br>
    <br>
    # which wancfg_dahdi<br>
    /usr/sbin/wancfg_dahdi<br>
    <br>
    Try:<br>
    # find / -name "wancfg_dahdi"<br>
    <br>
    Am 23.03.2011 15:17, schrieb satish patel:
    <blockquote cite="mid:BLU159-w8981A23D2C7815360584590B70@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      Hey, I did&nbsp; ./Setup dahdi and everything went well but i didn't
      find any command wancfg_dahdi <br>
      <br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WANPIPE v3.5.19 Installation Script<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright (c) 1995-2010, Sangoma Technologies Inc.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------<br>
      <br>
      WANPIPE META CONFIGURATION<br>
      <br>
      There are two configuration files associated with WANPIPE.<br>
      <br>
      1) /usr/local/src/asterisk/wanpipe-3.5.19/wanrouter.rc:<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - defines locations of important files such as lock<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and configuration files as well as start/stop<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order of multiple WANPIPE devices.<br>
      2) /usr/local/src/asterisk/wanpipe-3.5.19/wanpipe1.conf:<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - main configuration file for each WANPIPE device.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - defines interfaces, hardware and protocol information.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - this file can be created using the 'wancfg' GUI<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; utility or manually based on sample files located<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in /etc/wanpipe/samples.<br>
      <br>
      Please read the WanpipeInstallation.(pdf/txt) manual for further<br>
      information.<br>
      <br>
      <br>
      Wanpipe META config file found in /etc/wanpipe directory<br>
      <br>
      Wanpipe startup sequence: wanpipe1<br>
      <br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WANPIPE v3.5.19 Installation Script<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright (c) 1995-2010, Sangoma Technologies Inc.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------<br>
      <br>
      WANPIPE UTILITIES SETUP<br>
      <br>
      WANPIPE utilities are used to:<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1) create configuration files: for Zaptel and Asterisk<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/wancfg_zaptel #Zaptel and Asterisk<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/wancfg_dahdi&nbsp; #Dahdi and Asterisk<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/wancfg_smg&nbsp;&nbsp;&nbsp; #BRI/SS7, Zaptel and
      Asterisk<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/wancfg_tdmapi #TDM API<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2) create WANPIPE WAN/IP configuration files.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (/usr/sbin/wancfg)<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3) start,stop,restart individual/all devices and
      interfaces.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (/usr/sbin/wanrouter)<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4) debug line, protocol and driver problems.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (/usr/sbin/wanpipemon)<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5) aid in WANPIPE API development<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (/etc/wanpipe/api)<br>
      <br>
      Refer to the WanpipeInstallation.(pdf/txt) for more information.<br>
      <br>
      <br>
      Compiling WANPIPE Utilities ... Done.<br>
      <br>
      <br>
      Compiling WANPIPE WanCfg Utility ...Done.<br>
      <br>
      <br>
      Compiling WANPIPE LibSangoma API library ...Done.<br>
      <br>
      <br>
      Compiling WANPIPE LibStelephony API library ...Done.<br>
      <br>
      <br>
      Compiling WANPIPE API Development Utilities ...Done.<br>
      <br>
      Compiling WANPIPE HWEC Utilities ...Done.<br>
      <br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WANPIPE Environment Setup Complete !!!<br>
      <br>
      Installing WANPIPE Files ... !<br>
      Installing&nbsp; WANPIPE Utilities in /usr/sbin<br>
      Installing wanrouter.rc in /etc/wanpipe<br>
      Installing wanpipe libraries in /etc/wanpipe<br>
      Installing firmware in /etc/wanpipe/firmware<br>
      Installing documentation in /usr/share/doc/wanpipe<br>
      Installing sample api code in /etc/wanpipe/api<br>
      Installing AFT Firmware update utility in /etc/wanpipe/util<br>
      cp: cannot overwrite non-directory `/etc/wanpipe/util/wan_aftup'
      with directory `util/wan_aftup/'<br>
      Installing driver headers in /etc/wanpipe/api/include/linux<br>
      Installing Hardware Echo Cancel Utilites<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WANPIPE v3.5.19 Installation Script<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright (c) 1995-2010, Sangoma Technologies Inc.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----------------------------------------------------------<br>
      <br>
      WANPIPE INSTALLATON: COMPLETE<br>
      <br>
      WANPIPE installation is now complete. WANPIPE kernel drivers<br>
      and configuration/debug utilities have been compiled and
      installed.<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1) Proceed to configure the WANPIPE drivers:<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asterisk/Zaptel&nbsp; : /usr/sbin/wancfg_zaptel<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asterisk/Dahdi&nbsp;&nbsp; : /usr/sbin/wancfg_dahdi<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TDM API&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : /usr/sbin/wancfg_tdmapi<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SMG SS7/BRI/PRI&nbsp; : /usr/sbin/wancfg_smg<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WAN Routing/API&nbsp; : /usr/sbin/wancfg<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2) Use the /usr/sbin/wanrouter startup script to start and
      stop<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the router. (eg: wanrouter start)<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3) To uninstall WANPIPE package run ./Setup remove<br>
      <br>
      Please read <a class="moz-txt-link-freetext" href="http://wiki.sangoma.com">http://wiki.sangoma.com</a> for further instructions.<br>
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:root@example:/usr/local/src/asterisk/wanpipe-3.5.19#">root@example:/usr/local/src/asterisk/wanpipe-3.5.19#</a> wancfg_dahdi<br>
      <br>
      wancfg_dahdi: command not found<br>
      <a class="moz-txt-link-abbreviated" href="mailto:root@example:/usr/local/src/asterisk/wanpipe-3.5.19#">root@example:/usr/local/src/asterisk/wanpipe-3.5.19#</a><br>
      <br>
      <br>
      <hr id="stopSpelling">Date: Wed, 23 Mar 2011 09:28:25 +0100<br>
      From: <a class="moz-txt-link-abbreviated" href="mailto:tg@ovm-group.com">tg@ovm-group.com</a><br>
      To: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
      Subject: Re: [asterisk-users] Sangoma wapipe installation error<br>
      <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft SafeHTML">
      Try:<br>
      <br>
      cd /usr/src/dahdi<br>
      ./Setup dahdi<br>
      <br>
      That's it.<br>
      <br>
      Am 22.03.2011 21:06, schrieb satish patel:
      <blockquote cite="mid:BLU159-w768FD5BFAAF826A1C478190B40@phx.gbl">
        <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style> Hey!<br>
        <br>
        I am installing Sangoma A102D wanpipe driver and i got following
        error. what is this ? why dir isn't there ?<br>
        <br>
        wanpipe-3.5.16 # make dahdi DAHDI_DIR=/usr/src/dahdi<br>
        wanpipe-3.5.16 # make install<br>
        ....<a moz-do-not-send="true" title="Send (Ctrl+Enter)"
          id="ecxSendMessage" target="_blank"><span class="Label">Send</span></a><br>
        ....<br>
        ....<br>
        Installing Wanpipe Firmware&nbsp; update utility in
        /etc/wanpipe/util/wan_aftup<br>
        install -D wan_aftup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/wan_aftup<br>
        install -d /etc/wanpipe/util/wan_aftup/scripts<br>
        install: cannot create directory `/etc/wanpipe/util/wan_aftup':
        Not a directory<br>
        make[2]: *** [install] Error 1<br>
        make[2]: Leaving directory
        `/usr/local/src/asterisk/wanpipe-3.5.16/util/wan_aftup'<br>
        make[1]: *** [install] Error 2<br>
        make[1]: Leaving directory
        `/usr/local/src/asterisk/wanpipe-3.5.16/util'<br>
        make: *** [install_util] Error 2</blockquote>
    </blockquote>
    <br>
  </body>
</html>