OpenBTS: dari GIT ttsou

From OnnoCenterWiki
Jump to: navigation, search

Instalasi Paket Pendukung dan Asterisk

Instalasi paket / library pendukung tambahan

sudo apt-get install autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang \
asterisk asterisk-mysql cmake

Load GNURadio

sudo ldconfig
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

Download Source Code OpenBTS-UHD ttsou via GIT

sudo su
cd /usr/local/src
git clone git://github.com/ttsou/openbts-uhd.git


Edit OpenBTS

sudo su
cd /usr/local/src/openbts-uhd/public-trunk/apps/

Edit

vi OpenBTS.cpp

Edit

// Start the transceiver interface.
// Sleep long enough for the USRP to bootload.
sleep(5);

supaya menjadi

sleep(15);

Install OpenBTS

Compile & Instalasi OpenBTS

sudo su
cd /usr/local/src/openbts-uhd/public-trunk/
autoreconf -i
./configure
./configure --with-uhd   # USRP1 via UHD
./configure --with-usrp1 # USRP1 via libusrp
make clean
make
make install
cd /usr/local/src/openbts-uhd/public-trunk/apps
ln -s ../Transceiver52M/transceiver 
cd /usr/local/src/openbts-uhd/public-trunk/
sudo mkdir -p /usr/local/share/usrp/rev4/
sudo cp Transceiver52M/std_inband.rbf /usr/local/share/usrp/rev4/
cd /usr/local/src/openbts-uhd/public-trunk/apps
cp OpenBTS.config.example OpenBTS.config 

Error UHD untuk USRP1

Error

1335410688.5327 FORCE 3062929104 Logger.cpp:196:gLogInit: Setting initial global logging level to NOTICE
1335410688.8500 ALARM 3062929104 UHDDevice.cpp:409:parse_dev_type: USRP1 is not supported using the UHD driver
1335410688.8501 ALARM 3062929104 UHDDevice.cpp:410:parse_dev_type: Please compile with GNU Radio libusrp support

SOLUSI:

Naga-naga-nya harus turun ke GNURadio versi 3.4.2 yang mendukung libusrp

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video