Updating OpenBTS

This document describes how to update OpenBTS. If you have not yet installed OpenBTS, please see BuildInstallRun.

Following BuildInstallRun will yield the same results, but many steps can be omitted. This page demonstrates the easiest way to update.

Pulling the latest code

Simply navigate to your OpenBTS installation directory (typically /usr/local/src/openbts) and run:

cd /usr/local/src/openbts
svn update #or git svn rebase depending on your setup

Seeing the latest changes

If you want to see what changed, simply run:

cd /usr/local/src/openbts
svn log | head #or git svn log | head

Build OpenBTS

For systems based on Ettus radios:

#(from svn root)
cd openbts/trunk
make
cd Transceiver52M
make

For systems based on Range RAD1 radios, like the mode 2110 dev kit:

#(from svn root)
cd openbts/trunk
make
cd TransceiverRAD1
make

Build Sipauthserve

#(from svn root)
cd subscriberRegistry/trunk
make

Build smqueue

#(from svn root)
cd smqueue/trunk
make

Re-initialize databases

Usually, this is unnecessary, because the databases do not change very often. However, when they do change, OpenBTS may complain about a missing field, in which case you can add it back in manually.