<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Well I can just give you the summary of what I did:<br>
    <br>
    <ol>
      <li>Do a fresh install of Ubuntu 12.04 LTS on a laptop (32-bit for
        better hardware compatibility).</li>
      <li>Enable main/restricted/universe/multiverse repositories</li>
      <li>apt-get update/dist-upgrade and then install dependencies:
        autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++
        sqlite3 libsqlite3-dev erlang libreadline6-dev libboost-all-dev
        subversion git libxml2-dev</li>
      <li>Download source code into home directory:</li>
      <ol>
        <li>svn checkout
          <a class="moz-txt-link-freetext" href="http://svn.asterisk.org/svn/asterisk/branches/1.8">http://svn.asterisk.org/svn/asterisk/branches/1.8</a> asterisk-1.8</li>
        <li>svn co <a class="moz-txt-link-freetext" href="http://wush.net/svn/range/software/public">http://wush.net/svn/range/software/public</a> openbts (or
          whatever version you like)<br>
        </li>
        <li>git clone git://github.com/servalproject/serval-dna.git</li>
        <li>git clone git://github.com/servalproject/app_servaldna.git</li>
        <li>wget <a class="moz-txt-link-freetext" href="http://www.olsr.org/releases/0.6/olsrd-0.6.4.tar.bz2">http://www.olsr.org/releases/0.6/olsrd-0.6.4.tar.bz2</a><br>
        </li>
      </ol>
      <li>build and install OLSRd (including nameservice, jsoninfo,
        txtinfo plugins in lib/ directory); configure /etc/olsrd.conf as
        needed (I used Commotion-specific settings) </li>
      <li>build and install asterisk</li>
      <li>build serval-dna</li>
      <li>build and configure app_servaldna (following steps here:
<a class="moz-txt-link-freetext" href="https://github.com/servalproject/serval-dna/blob/master/doc/OpenBts-setup.md">https://github.com/servalproject/serval-dna/blob/master/doc/OpenBts-setup.md</a>)</li>
      <li>add the following to /etc/asterisk/extensions.conf:<br>
        <blockquote>[phones]<br>
          include => openbts<br>
        </blockquote>
      </li>
      <li>build, install, and configure OpenBTS<br>
      </li>
      <li>create /etc/rc.local script to start and configure everything
        on boot
(<a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-openbts/repository/revisions/liveboot/entry/liveboot/rc.local">https://code.commotionwireless.net/projects/commotion-openbts/repository/revisions/liveboot/entry/liveboot/rc.local</a>)<br>
      </li>
      <li>rm ~/.bash_history and any other unnecessary customizations ;)<br>
      </li>
      <li>install remastersys and create a backup (do not use the
        "distro" option)</li>
      <li>create bootable USB with the resulting .iso</li>
      <li>profit</li>
    </ol>
    <p>That's the process I used. Let me know if there are any other
      details that would be helpful!<br>
    </p>
    <p>Dan<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12/12/2012 03:07 PM, Alexander
      Chemeris wrote:<br>
    </div>
    <blockquote
cite="mid:CABmJbFUDmi+KgsBjpaK1+9NU9NS1QhCJP8EbVYt1gUUcoDUv9g@mail.gmail.com"
      type="cite">
      <pre wrap="">Thanks! How much time would it take to write up? We'd love to get our
own images before we departure to 29c3.

On Wed, Dec 12, 2012 at 11:57 PM, Dan Staples
<a class="moz-txt-link-rfc2396E" href="mailto:danstaples@opentechinstitute.org"><danstaples@opentechinstitute.org></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Yup, putting the image in a git repo turned out to be a bad idea and
made things break. I'll upload it elsewhere and send out the link so you
can download it.

I would be glad to share the process I used to create it. I'll write it
up and send it out to the list as well.

Dan

On 12/12/2012 02:25 PM, Alexander Chemeris wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Dan,

Creating a live image with OpenBTS is something we long wanted to do
for our version of OpenBTS. Could you please share the process you
used? We'd love to repeat it here.

PS Seems that git web interface you're using is buggy. Looking at the
liveboot branch I don't see the ISO directory there, though it shows
commit log fine:
<a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-openbts/repository/show?rev=liveboot">https://code.commotionwireless.net/projects/commotion-openbts/repository/show?rev=liveboot</a>

On Wed, Dec 12, 2012 at 11:17 PM, Dan Staples
<a class="moz-txt-link-rfc2396E" href="mailto:danstaples@opentechinstitute.org"><danstaples@opentechinstitute.org></a> wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">I just put a customized Ubuntu live image into the Commotion-OpenBTS git
repo that includes OpenBTS, OLSRd, and Servald. The current image was
built for the RAD1 transceiver board, but I will add another version
later on built for the USRP. The image can be found in the ISO directory
of the liveboot branch of the repo.

All the components start on boot, and it assigns itself a Serval name
and DID based on the MAC address of the computer's first ethernet
interface. So theoretically if it's booted up with a transceiver plugged
in, it should be able to field any OpenBTS and Serval traffic on a
Commotion mesh network.

That said, the RAD1 transceiver software currently doesn't work, so
testing is a bit difficult. If anyone has a USRP or another transceiver
they'd like to test it on, please do!

Dan

--
Dan Staples
Open Technology Institute

_______________________________________________
Commotion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a>
<a class="moz-txt-link-freetext" href="http://lists.chambana.net/mailman/listinfo/commotion-dev">http://lists.chambana.net/mailman/listinfo/commotion-dev</a>
</pre>
          </blockquote>
          <pre wrap="">

</pre>
        </blockquote>
        <pre wrap="">
--
Dan Staples
Open Technology Institute

_______________________________________________
Commotion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a>
<a class="moz-txt-link-freetext" href="http://lists.chambana.net/mailman/listinfo/commotion-dev">http://lists.chambana.net/mailman/listinfo/commotion-dev</a>
</pre>
      </blockquote>
      <pre wrap="">


</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dan Staples
Open Technology Institute</pre>
  </body>
</html>