OpenBTS: Build OpenBTS 5.0 untuk N210 2022

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://www.diskusiwebhosting.com/threads/install-openbts-versi-n210-skala-laboratorium.31562/


1. kita install ubuntu dl kemudian ubuntunya di update ama di upgrade dl 2. setelah ubuntu diupdate ama di upgrade langkash selanjutnya kita buka webnya pak onno w purbo http://onnocenter.or.id/wiki/index.php/OpenBTS:_Build_OpenBTS_5.0, kemudian kita ambil perintah dibawah ini dan jalankan, kalau bisa jalaninnya jangan di posisi root, kita jalaninnya di posisi user biasa

sudo apt-get install -y m4 autoconf autotools-dev automake libsqlite3-dev sqlite3 libssl-dev libssl-doc zlib1g-dev \
build-essential dh-apparmor dpkg-dev fakeroot g++ g++-4.6 gettext html2text intltool-debian libalgorithm-diff-perl \
libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libgettextpo0 libmail-sendmail-perl libstdc++6-4.6-dev \
libsys-hostname-long-perl libunistring0 dh-apparmor dpkg-dev fakeroot g++ g++-4.6 gettext \
html2text intltool-debian dh-translations intltool libxml-parser-perl python-scour libsqlite0 libsqlite0-dev \
libodbc1 odbcinst odbcinst1debian2 unixodbc-dev python-software-properties

kemudian seteleh selesai kita jalanin perintah dibawah ini

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
sudo apt-get install -y autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev libuhd-dev libuhd003 uhd-host libboost-dev bind9 ntp
mkdir -p ~/src
cd ~/src
git clone https://github.com/RangeNetworks/dev.git
cd dev
./clone.sh
cd ~/src/dev
./switchto.sh 5.0
cd ~/src/dev/liba53
sudo make install
sudo ldconfig
cd ../
cd ~/src/dev
nano build.sh

cari libzmq5 ganti dengan libzmq3 save dan exit

cd libcoredumper

nano build.sh

cari kata kunci google kemudian ganti link setelah wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/google-coredumper/coredumper-1.2.1.tar.gz

kenapa harus diganti dikarenakan saya udah test link sebelumnya sudah mati linknya

cd ~/src/dev
./build.sh N210
cd ~/src/dev/BUILDS/2016-03-14--10-47-42
sudo dpkg -i *.deb

pastikan tekan tombol Y ketika ada notifikasi overridefile

sudo apt-get purge -y libuhd

3. buka website https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux

sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk2.8 git-core libqt4-dev python-numpy ccache python-opengl libgsl0-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq1 libzmq-dev python-requests python-sphinx libcomedi-dev
cd $HOME
mkdir workarea-uhd
cd workarea-uhd
git clone https://github.com/EttusResearch/uhd
cd uhd
git checkout release_003_009_005
cd host
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
export LD_LIBRARY_PATH=/usr/local/lib

4. ketik perintah

uhd_find_devices
uhd_usrp_probe
reboot




Referensi