Difference between revisions of "OpenBTS: RangeNetwork Compile OpenBTS 3.1.3"
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
Sumber: http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313 | Sumber: http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313 | ||
− | + | ==Install Pendukung== | |
− | + | sudo apt-get install autoconf libtool libosip2-dev libusb-1.0-0-dev g++ sqlite3 \ | |
+ | libsqlite3-dev erlang libreadline6-dev libncurses5-dev libortp-dev libortp | ||
− | + | ==Install liba53== | |
− | + | cd /home/openbts/software/public | |
− | + | cd a53/trunk | |
− | + | sudo make install | |
− | |||
− | |||
− | |||
− | sudo | ||
− | + | ==Compile== | |
− | |||
− | |||
− | |||
Building OpenBTS | Building OpenBTS | ||
Line 25: | Line 19: | ||
The build is fairly similar to what is described in the guide. However, we don't want to build from trunk. Here we build with a USRP; substitute the "sudo ./configure" line with the appropriate line from http://wush.net/trac/rangepublic/wiki/BuildInstallRun#BuildingOpenBTS?. From the root source directory (public), | The build is fairly similar to what is described in the guide. However, we don't want to build from trunk. Here we build with a USRP; substitute the "sudo ./configure" line with the appropriate line from http://wush.net/trac/rangepublic/wiki/BuildInstallRun#BuildingOpenBTS?. From the root source directory (public), | ||
− | cd openbts/tags/rP3.1.3 | + | cd /home/openbts/software/public/openbts/tags/rP3.1.3 |
sudo autoreconf -i | sudo autoreconf -i | ||
sudo ./configure --with-uhd --with-resamp | sudo ./configure --with-uhd --with-resamp |
Revision as of 14:28, 14 January 2014
Sumber: http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313
Install Pendukung
sudo apt-get install autoconf libtool libosip2-dev libusb-1.0-0-dev g++ sqlite3 \ libsqlite3-dev erlang libreadline6-dev libncurses5-dev libortp-dev libortp
Install liba53
cd /home/openbts/software/public cd a53/trunk sudo make install
Compile
Building OpenBTS OpenBTS
The build is fairly similar to what is described in the guide. However, we don't want to build from trunk. Here we build with a USRP; substitute the "sudo ./configure" line with the appropriate line from http://wush.net/trac/rangepublic/wiki/BuildInstallRun#BuildingOpenBTS?. From the root source directory (public),
cd /home/openbts/software/public/openbts/tags/rP3.1.3 sudo autoreconf -i sudo ./configure --with-uhd --with-resamp sudo make cd apps sudo ln -s ../Transceiver52M/transceiver .
You will then need to create the default OpenBTS configuration database.
sudo mkdir /etc/OpenBTS sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"
Running the following should dump out the default configurations.
sqlite3 /etc/OpenBTS/OpenBTS.db .dump
Subscriber Registry
Make the Asterisk subscriber registry directory. Do not load the default as shown in the Wush guide, it will be automatically populated.
sudo mkdir -p /var/lib/asterisk/sqlite3dir
Build SIPAuthServe. From the public directory:
cd subscriberRegistry/tags/rP3.1.3 sudo make
Then you will need to initialize the subscriberRegistry config database. Run:
cd subscriberRegistry sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit"
smqueue
Build SMQueue. From the public directory:
cd smqueue/tags/rP3.1.3 sudo autoreconf -i sudo ./configure sudo make
You can now run OpenBTS as you would a normal trunk install.