Difference between revisions of "OpenBTS: RangeNetwork Compile"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 13: | Line 13: | ||
sudo make install | sudo make install | ||
+ | |||
+ | Compile OpenBTS di RangeNetworks Development Kit== | ||
+ | |||
+ | ==Stop OpenBTS== | ||
+ | |||
+ | cd /home/openbts | ||
+ | killBTS | ||
==Building OpenBTS== | ==Building OpenBTS== | ||
Line 43: | Line 50: | ||
cp OpenBTSCLI /OpenBTS/ | cp OpenBTSCLI /OpenBTS/ | ||
cp runloop.OpenBTS.sh /OpenBTS/ | cp runloop.OpenBTS.sh /OpenBTS/ | ||
+ | |||
+ | |||
+ | ==Inisialisasi /etc/OpenBTS/OpenBTS.db== | ||
+ | |||
+ | sudo mkdir /etc/OpenBTS | ||
+ | sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit" | ||
+ | |||
+ | ==Build & Install Subscriber Registry dan Sipauthserve== | ||
+ | |||
+ | sudo mkdir -p /var/lib/asterisk/sqlite3dir | ||
+ | |||
+ | cd /home/openbts/software/public | ||
+ | cd subscriberRegistry/trunk | ||
+ | make | ||
+ | |||
+ | |||
+ | cd /home/openbts/software/public/subscriberRegistry/trunk | ||
+ | cp comp128 /usr/local/bin/ | ||
+ | cp comp128 /OpenBTS/ | ||
+ | |||
+ | sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit" | ||
==Referensi== | ==Referensi== | ||
* http://wush.net/trac/rangepublic/wiki/BuildInstallRun | * http://wush.net/trac/rangepublic/wiki/BuildInstallRun |
Revision as of 07:59, 14 January 2014
Update
ROOT_OPENBTS berada di /home/openbts/software/public
cd /home/openbts/software svn co http://wush.net/svn/range/software/public public
Install liba53
cd /home/openbts/software/public cd a53/trunk sudo make install
Compile OpenBTS di RangeNetworks Development Kit==
Stop OpenBTS
cd /home/openbts killBTS
Building OpenBTS
Pada Range Networks RAD1 tidak membutuhkan external dependency & cara compile sangat sederhana:
cd /home/openbts/software/public cd openbts/trunk autoreconf -i ./configure make
Buat link
cd /home/openbts/software/public/openbts/trunk cd apps make ln -s ../TransceiverRAD1/transceiver . ln -s ../TransceiverRAD1/ezusb.ihx . ln -s ../TransceiverRAD1/fpga.rbf .
cd /home/openbts/software/public/openbts/trunk/TransceiverRAD1 cp transceiver /OpenBTS/ cp ezusb.ihx /OpenBTS/ cp fpga.rbf /OpenBTS/
cd /home/openbts/software/public/openbts/trunk/apps cp OpenBTS /OpenBTS/ cp OpenBTSDo /OpenBTS/ cp OpenBTSCLI /OpenBTS/ cp runloop.OpenBTS.sh /OpenBTS/
Inisialisasi /etc/OpenBTS/OpenBTS.db
sudo mkdir /etc/OpenBTS sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"
Build & Install Subscriber Registry dan Sipauthserve
sudo mkdir -p /var/lib/asterisk/sqlite3dir
cd /home/openbts/software/public cd subscriberRegistry/trunk make
cd /home/openbts/software/public/subscriberRegistry/trunk cp comp128 /usr/local/bin/ cp comp128 /OpenBTS/
sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit"