Difference between revisions of "OpenBTS: GIT Source Code"

From OnnoWiki
Jump to navigation Jump to search
Line 48: Line 48:
 
  git clone https://github.com/ttsou/openbts-p2.8 openbts.2.8.ttsou
 
  git clone https://github.com/ttsou/openbts-p2.8 openbts.2.8.ttsou
 
  git clone https://github.com/ttsou/kalibrate-uhd kalibrate-uhd
 
  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 * &
 
  chmod -Rf 777 * &
 
  chown -Rf nobody.nogroup * &
 
  chown -Rf nobody.nogroup * &

Revision as of 06:17, 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.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
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

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah