Difference between revisions of "OpenBTS: 5.0 demo konfigurasi"

From OnnoWiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Aktifkan NAT
 
Aktifkan NAT
  
  iptables -t nat -A POSTROUTING -o em0 -j MASQUERADE
+
  iptables -t nat -A POSTROUTING -o enp0s4 -j MASQUERADE
 
  echo 1 > /proc/sys/net/ipv4/ip_forward
 
  echo 1 > /proc/sys/net/ipv4/ip_forward
 +
 +
Entah kenapa harus start manual
 +
 +
cd /usr/local/sbin
 +
./sipauthserve &
 +
./smqueue &
 +
asterisk &
 +
cd /OpenBTS/
 +
./OpenBTS
 +
  
 
Masuk ke
 
Masuk ke
  
  cd /home/openbts
+
  cd /OpenBTS/
  /home/openbts/CLI
+
  ./OpenBTSCLI
  
Paramter untuk demo
+
Paramter demo (Singtel)
  
  config GSM.Radio.C0 50
+
  config GSM.Radio.C0 51
 
  config GSM.Identity.MCC 525
 
  config GSM.Identity.MCC 525
 
  config GSM.Identity.MNC 01
 
  config GSM.Identity.MNC 01
Line 17: Line 27:
 
  config GPRS.Enable 1
 
  config GPRS.Enable 1
 
  config Control.LUR.OpenRegistration .*
 
  config Control.LUR.OpenRegistration .*
  config Control.LUR.OpenRegistration.Message Selamat Datang di OnnoSel. IMSI anda :
+
  config Control.LUR.OpenRegistration.Message Selamat Datang di SingTel. IMSI anda :
 +
devconfig GGSN.Logfile.Name /tmp/GGSN.log
 +
 
 +
 
 +
Atau demo (DesaSel)
 +
 
 +
config GSM.Radio.C0 51
 +
config GSM.Identity.MCC 510
 +
config GSM.Identity.MNC 33
 +
config GSM.Identity.ShortName DesaSel
 +
config GPRS.Enable 1
 +
config Control.LUR.OpenRegistration .*
 +
config Control.LUR.OpenRegistration.Message Selamat Datang di DesaSel. IMSI anda :
 +
devconfig GGSN.Logfile.Name /tmp/GGSN.log
 +
 
 +
 
 +
 
 +
==Supaya OpenBTS langsung start==
 +
 
 +
Supaya langsung start saat mesin nyala
 +
 
 +
cd /etc
 +
vi rc.local
 +
 
 +
Masukan
 +
 
 +
/usr/local/sbin/sipauthserve &
 +
/usr/local/sbin/smqueue &
 +
/usr/sbin/asterisk &
 +
 
 +
Tinggal terakhir secara manual ketik
 +
 
 +
cd /OpenBTS/
 +
./OpenBTS
 +
 
 +
tidak usah pakai & di akhirnya
 +
 
 +
 
 +
 
 +
==Di Sisi Client==
 +
 
 +
SMS 101, isi nomor yang kita mau
 +
 
 +
05201234
 +
05202001
 +
2001
 +
2002
 +
2003
 +
dll ..
 +
 
 +
SMS 411, kirim ENTER, akan reply system status
 +
 
 +
==Referensi==
 +
 
 +
* http://tz.ucweb.com/4_APSO
 +
 
 +
 
 +
==Pranala Menarik==
 +
 
 +
* [[Git: compile dari source code]] '''bagi mereka yang bernyali'''
 +
* [[OpenBTS: Build OpenBTS 5.0 di Ubuntu 16.04 32bit]]
 +
* [[OpenBTS: Build OpenBTS 5.0]]
 +
* [[OpenBTS: PowerScanner]]
 +
* [[OpenBTS: 5.0 demo konfigurasi]]
 +
* [[OpenBTS: cek registrasi]]
 +
* [[OpenBTS: Set SQLite Subscriber Registry secara manual]]
 +
* [[OpenBTS: Set SQLite parameter smqueue]]

Latest revision as of 13:25, 4 July 2020

Aktifkan NAT

iptables -t nat -A POSTROUTING -o enp0s4 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

Entah kenapa harus start manual

cd /usr/local/sbin
./sipauthserve &
./smqueue &
asterisk &
cd /OpenBTS/
./OpenBTS


Masuk ke

cd /OpenBTS/
./OpenBTSCLI

Paramter demo (Singtel)

config GSM.Radio.C0 51
config GSM.Identity.MCC 525
config GSM.Identity.MNC 01
config GSM.Identity.ShortName SingTel
config GPRS.Enable 1
config Control.LUR.OpenRegistration .*
config Control.LUR.OpenRegistration.Message Selamat Datang di SingTel. IMSI anda :
devconfig GGSN.Logfile.Name /tmp/GGSN.log


Atau demo (DesaSel)

config GSM.Radio.C0 51
config GSM.Identity.MCC 510
config GSM.Identity.MNC 33
config GSM.Identity.ShortName DesaSel
config GPRS.Enable 1
config Control.LUR.OpenRegistration .*
config Control.LUR.OpenRegistration.Message Selamat Datang di DesaSel. IMSI anda :
devconfig GGSN.Logfile.Name /tmp/GGSN.log


Supaya OpenBTS langsung start

Supaya langsung start saat mesin nyala

cd /etc
vi rc.local

Masukan

/usr/local/sbin/sipauthserve &
/usr/local/sbin/smqueue &
/usr/sbin/asterisk &

Tinggal terakhir secara manual ketik

cd /OpenBTS/
./OpenBTS

tidak usah pakai & di akhirnya


Di Sisi Client

SMS 101, isi nomor yang kita mau

05201234
05202001
2001
2002
2003
dll ..

SMS 411, kirim ENTER, akan reply system status

Referensi


Pranala Menarik