OpenBTS: GIT Source Code

From OnnoCenterWiki
Jump to: navigation, search

Siapkan git

apt-get install git subversion

GNURadio

git clone git://gnuradio.org/gnuradio gnuradio.git 
git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git
git clone https://github.com/ttsou/gnuradio gnuradio.ttsou

OpenBTS

svn co http://wush.net/svn/range/software/public openbts
git clone https://github.com/ttsou/openbts-p2.8 openbts.2.8.ttsou
git clone https://github.com/ttsou/kalibrate-uhd kalibrate-uhd

Cron

Ada baiknya di cron setiap malam secara periodik agar update. Misalnya di simpan di

/var/data/library/library-sw-hw/linux-1/gnuradio/
/var/data/library/library-sw-hw/linux-1/openbts/
/mnt/samsung/library/library-sw-hw/linux-1/gnuradio/
/mnt/samsung/library/library-sw-hw/linux-1/openbts/

Buat script di /usr/local/bin misalnya

touch /usr/local/bin/updategnuradioopenbts.sh
chmod +x /usr/local/bin/updategnuradioopenbts.sh
vi /usr/local/bin/updategnuradioopenbts.sh

Isinya

cd /mnt/samsung/library/library-sw-hw/linux-1/gnuradio/
rm -Rf gnuradio.git
rm -Rf uhd.git
rm -Rf gnuradio.ttsou
git clone git://gnuradio.org/gnuradio gnuradio.git 
git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git
git clone https://github.com/ttsou/gnuradio gnuradio.ttsou.dl
cp -Rf gnuradio.git gnuradio.ttsou
cp -Rf gnuradio.ttsou.dl gnuradio.ttsou
chmod -Rf 777 * &
chown -Rf nobody.nogroup * &
cd  /mnt/samsung/library/library-sw-hw/linux-1/openbts/
rm -Rf openbts
rm -Rf openbts.2.8.ttsau
rm -Rf kalibrate-uhd
svn co http://wush.net/svn/range/software/public openbts
git clone https://github.com/ttsou/openbts-p2.8 openbts.2.8.ttsou
git clone https://github.com/ttsou/kalibrate-uhd kalibrate-uhd
cp -Rf openbts openbts.ttsou
cp -Rf openbts.2.8.ttsou/* openbts/openbts/trunk/
chmod -Rf 777 * &
chown -Rf nobody.nogroup * &

Setup cron setiap pagi

crontab -e

tambahkan

0 3 * * * /usr/local/bin/updategnuradioopenbts.sh

Download GNURadio, UHD & OpenBTS ttsou

Misalnya untuk E110

~/src
touch downloadttsou.sh
chmod +x downloadttsou.sh
vi downloadttsou.sh

Isi dengan

rm -Rf uhd.git
rm -Rf gnuradio.git
rm -Rf openbts.2.8.ttsou
git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git
git clone https://github.com/ttsou/gnuradio gnuradio.git
git clone https://github.com/ttsou/openbts-p2.8 openbts.2.8.ttsou

Pranala Menarik

Persiapan

Script

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

OpenBTS 3.1.x

Ettus E110

Ettus N210

RangeNetworks

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS