OpenBTS: 2.8 dari SVN 2.8.0 Install Clock 52MHz di Ubuntu 13.04

From SpeedyWiki

Jump to: navigation, search

Sumber: http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313

Contents

[edit] Spesifikas Sistem

  • Sistem Operasi : Ubuntu 13.04
  • Hardware  : USRP1


[edit] Install Pendukung

sudo apt-get -y install autoconf libtool libosip2-dev libusb-1.0-0-dev g++ sqlite3 \
libsqlite3-dev erlang libreadline6-dev libncurses5-dev libortp-dev \
libfontconfig1-dev libxrender-dev libpulse-dev \
gcc-4.7 g++ automake libtool python-dev libfftw3-dev \
libcppunit-dev libboost-all-dev libusb-dev fort77 \
libsdl1.2-dev python-wxgtk2.8 subversion git-core guile-1.8-dev \
libqt4-dev python-numpy ccache python-opengl libgsl0-dev \
python-cheetah python-lxml doxygen qt4-dev-tools \
libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools \
libpcre3 libpcre3-dbg libpcre3-dev libpcrecpp0 \
python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev libgtk2.0-dev \
autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ erlang bison flex

[edit] Install SDCC

Sebaiknya jangan mengcompile dari source code karena membuat pusing kepala. Install sdcc sebaiknya langsung dari file .deb saja.

cd /usr/local/src
wget -c http://launchpadlibrarian.net/38703081/sdcc_2.9.0-5_amd64.deb
wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb

[edit] Download Source Code OpenBTS

ROOT_OPENBTS berada di /home/openbts/software/public

mkdir -p /OpenBTS/
mkdir -p /home/openbts/software/public
cd /home/openbts/software
svn co http://wush.net/svn/range/software/public public


[edit] Install liba53

cd /home/openbts/software/public
cd a53/trunk
sudo make install

[edit] Compile

cd /home/openbts/software/public/openbts/tags/rP2.8.0
sudo autoreconf -i
sudo ./configure --with-usrp1
sudo make

cd apps
sudo ln -s ../Transceiver52M/transceiver .
cd /home/openbts/software/public/openbts/tags/rP2.8.0/Transceiver52M
cp transceiver /OpenBTS/
sudo mkdir -p /usr/local/share/usrp/rev4/
sudo cp std_inband.rbf /usr/local/share/usrp/rev4/
mkdir /var/run/OpenBTS/
touch /var/run/OpenBTS/TransactionTable.db
cd /home/openbts/software/public/openbts/tags/rP2.8.0/apps
cp OpenBTS /OpenBTS/
cp OpenBTSDo /OpenBTS/
cp OpenBTSCLI /OpenBTS/
cp runloop.OpenBTS.sh /OpenBTS/

Set database konfigurasi OpenBTS

sudo mkdir /etc/OpenBTS 
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"

[edit] Install Subscriber Registry

Buat directory Asterisk subscriber.

sudo mkdir -p /var/lib/asterisk/sqlite3dir  

Build SIPAuthServe.

cd /home/openbts/software/public/subscriberRegistry/tags/rP2.8.0
sudo make
cd /home/openbts/software/public/subscriberRegistry/tags/rP2.8.0
cp comp128 /usr/local/bin/
cp comp128 /OpenBTS/ 
cp sipauthserve /OpenBTS/
cp runloop.sipauthserve.sh /OpenBTS/

Inisialisasi subscriberRegistry config database. Run:

cd subscriberRegistry
sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit"

[edit] Install smqueue

Build SMQueue.

cd /home/openbts/software/public/smqueue/tags/rP2.8.0
sudo autoreconf -i
sudo ./configure
sudo make
cd /home/openbts/software/public/smqueue/tags/rP2.8.0
sudo sqlite3 -init smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db ".quit"
cd /home/openbts/software/public/smqueue/tags/rP2.8.0/smqueue
cp runloop.smqueue.sh /OpenBTS/
cp smqueue /OpenBTS/

[edit] Menjalankan OpenBTS

Pastikan Yate di Compile & Install dengan baik


Menjalankan dapat dari /OpenBTS/

cd /OpenBTS/
./sipauthserve &
mkdir -p /var/lib/OpenBTS
touch /var/lib/OpenBTS/smq.cdr
./smqueue &
cd /usr/local/src/yate
rm -Rf /var/log/yate
rm -Rf /var/log/VBTS.log 
./run -t -l /var/log/yate -vvvv -c /usr/local/etc/yate -m /usr/local/lib/yate -e /usr/local/share/yate -d
mkdir /var/run/OpenBTS/
touch /var/run/OpenBTS/TransactionTable.db
cd /OpenBTS/
./OpenBTS &


[edit] Referensi


[edit] Pranala Menarik

[edit] Persiapan

[edit] Script

[edit] OpenBTS 2.6

[edit] OpenBTS 2.8

[edit] Multi OpenBTS 2.8

[edit] OpenBTS 3.1.x

[edit] Ettus E110

[edit] Ettus N210

[edit] RangeNetworks


[edit] GPRS

[edit] Briker OpenBTS

[edit] FreeSWITCH OpenBTS

[edit] Power Amplifier

[edit] Lain Lain

[edit] Catatan Legal dan Pendukung

[edit] Catatan Sejarah

[edit] Dokumentasi Video

[edit] Perjuangan OpenBTS

Personal tools