<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2166/3/7/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+DAHDI">Building and Installing DAHDI</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://wiki.asterisk.org/wiki/display/~chazzam">Charles Moye</a>
    </h4>
        <div id="versionComment">
        <b>Comment:</b>
        Added instructions for installing DAHDI without internet access. current for 2.4.1.2+2.4.1<br />
    </div>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>{numberedheadings} <br> <br>{toc} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >Now that we have libpri installed, let&#39;s install DAHDI. On Linux, we will use the DAHDI-linux-complete tarball, which contains both the DAHDI Linux drivers as well as the DAHDI tools. Again, we&#39;re assuming that you&#39;ve untarred the tarball in the /usr/local/src directory, and that you&#39;ll replace X and Y with the appropriate version numbers. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h2. With Internet Access <br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>[root@server src]# cd dahdi-linux-complete-2.X.Y+2.X.Y <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make config <br>{noformat} <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>h2. Without Internet Access <br>When installing on a system without internet access, there are a few additional steps that are required to build DAHDI. <br>The firmware files for the various VPM modules will need to be downloaded and extracted in the source directory. The links provided below are the current versions as of this writing, please check the link below for the full list of versions. <br> <br>http://downloads.digium.com/pub/telephony/firmware/releases/ <br> <br>On a system with internet access, download the following files: <br>{noformat} <br>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-hx8-2.06.tar.gz <br> <br>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-064-1.05.01.tar.gz <br> <br>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-128-1.05.01.tar.gz <br> <br>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-vpmoct032-1.8.0.tar.gz <br> <br>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-tc400m-MR6.12.tar.gz <br> <br>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz <br>{noformat} <br> <br>Now send these to the Asterisk system and store them in {noformat}/usr/local/src/dahdi-linux-complete-2.X.Y+2.X.Y/linux/drivers/dahdi/firmware/ {noformat} <br> <br>Now we can continue the installation on the Asterisk system using the steps below. <br> <br>{noformat} <br>[root@server src]# cd dahdi-linux-complete-2.X.Y+2.X.Y <br> <br>[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# cd linux/drivers/dahdi/firmware <br> <br>[root@server firmware]# for tarball in $(ls dahdi-fw-*.tar.gz); do tar -zxf $tarball; done; <br> <br>[root@server firmware]# cd - <br> <br>[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make <br> <br>[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make install <br> <br>[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make config <br>{noformat} <br> <br>{numberedheadings} <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        


<div>
<ul>
    <li><a href='#BuildingandInstallingDAHDI-WithInternetAccess'>With Internet Access</a></li>
    <li><a href='#BuildingandInstallingDAHDI-WithoutInternetAccess'>Without Internet Access</a></li>
</ul></div>

<p>Now that we have libpri installed, let's install DAHDI. On Linux, we will use the DAHDI-linux-complete tarball, which contains both the DAHDI Linux drivers as well as the DAHDI tools. Again, we're assuming that you've untarred the tarball in the /usr/local/src directory, and that you'll replace X and Y with the appropriate version numbers.</p>

<h2><a name="BuildingandInstallingDAHDI-WithInternetAccess"></a>With Internet Access</h2>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>[root@server src]# cd dahdi-linux-complete-2.X.Y+2.X.Y

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make install

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make config
</pre>
</div></div>

<h2><a name="BuildingandInstallingDAHDI-WithoutInternetAccess"></a>Without Internet Access</h2>
<p>When installing on a system without internet access, there are a few additional steps that are required to build DAHDI.<br/>
The firmware files for the various VPM modules will need to be downloaded and extracted in the source directory. The links provided below are the current versions as of this writing, please check the link below for the full list of versions.</p>

<p><a href="http://downloads.digium.com/pub/telephony/firmware/releases/" class="external-link" rel="nofollow">http://downloads.digium.com/pub/telephony/firmware/releases/</a></p>

<p>On a system with internet access, download the following files:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-hx8-2.06.tar.gz

wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-064-1.05.01.tar.gz

wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-128-1.05.01.tar.gz

wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-vpmoct032-1.8.0.tar.gz

wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-tc400m-MR6.12.tar.gz

wget http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
</pre>
</div></div>

<p>Now send these to the Asterisk system and store them in </p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>/usr/local/src/dahdi-linux-complete-2.X.Y+2.X.Y/linux/drivers/dahdi/firmware/ </pre>
</div></div>

<p>Now we can continue the installation on the Asterisk system using the steps below.</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>[root@server src]# cd dahdi-linux-complete-2.X.Y+2.X.Y

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# cd linux/drivers/dahdi/firmware

[root@server firmware]# for tarball in $(ls dahdi-fw-*.tar.gz); do tar -zxf $tarball; done;

[root@server firmware]# cd -

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make install

[root@server dahdi-linux-complete-2.X.Y+2.X.Y]# make config
</pre>
</div></div>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
        <a href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+DAHDI">View Online</a>
        |
        <a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=4817510&revisedVersion=6&originalVersion=5">View Changes</a>
                |
        <a href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+DAHDI?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>