Difference between revisions of "OpenBTS: GIT Source Code"

From OnnoWiki
Jump to navigation Jump to search
Line 54: Line 54:
  
 
  0 3 * * * /usr/local/bin/updategnuradioopenbts.sh
 
  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==
 
==Pranala Menarik==

Revision as of 05:35, 4 March 2012

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.ttsau
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
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

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

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah