OpenBTS: GPRS debugging

From OnnoWiki
Jump to navigation Jump to search

Kita perlu menset

GSM.Radio.RxGain

agar FER cukup baik & MS memperoleh IP address.

Masuk ke CLI.

Set

devconfig GSM.Radio.RxGain 44

Nilai default GSM.Radio.RxGain 48

Kemudian Reboot

gprs list ch -v

Pastikan FER agak lebih besar sedikit dari 0%, misalnya

PDCH ARFCN=50 TN=1 FER=0%
	Reservations=()
	USFList=( 1=>free 2=>free 3=>free 4=>free 5=>free 6=>free)
	TFI=()
PDCH ARFCN=50 TN=2 FER=0%
	Reservations=()
	USFList=( 1=>free 2=>free 3=>free 4=>free 5=>free 6=>free)
	TFI=()

Jika belum memuaskan, ulangi prosedur di atas. Set lagi GSM.Radio.RxGain

Jika FER sedikit di atas 0%, semoga MS memperoleh IP address.

Cek

gprs list ms -cxv


Mengatasi Tidak dialokasikan IP ke MS

Ubah konfigurasi GGSN

config GGSN.Firewall.Enable 0
config GGSN.DNS 8.8.8.8
config GGSN.DNS 8.8.8.8 8.8.4.4 (untuk 2 DNS server)

Melihat log GGSN

devconfig GGSN.Logfile.Name /tmp/GGSN.log

hasil awalnya

 18:11:06.7:Initializing Mini GGSN Wed Mar  4 18:11:06 2015

 18:11:06.7:GGSN logging to file /tmp/GGSN.log
 18:11:06.7:GGSN Configuration:
 18:11:06.7:  GGSN.MS.IP.Base=192.168.99.1
 18:11:06.7:  GGSN.MS.IP.MaxCount=254
 18:11:06.7:  GGSN.MS.IP.Route=192.168.99.0/24
 18:11:06.7:  GGSN.IP.MaxPacketSize=1520
 18:11:06.7:  GGSN.IP.ReuseTimeout=180
 18:11:06.7:  GGSN.Firewall.Enable=0
 18:11:06.7:  GGSN.IP.TossDuplicatePackets=0
 18:11:06.7:GGSN: DNS servers: 8.8.8.8 0.0.0.0
 18:11:06.7:ip link set sgsntun up 
 18:11:06.9:ip route add to 192.168.99.0/24 dev sgsntun

Menaikan Channel GPRS

OpenBTS> load
== GSM ==
SDCCH load: 0/4
TCH/F load: 0/5
AGCH/PCH load: 0,0
Paging table size: 0
Transactions: 0
T3122: 2000 ms (target 5000 ms)
== GPRS ==
current PDCHs: 2
utilization: 0%

Ada 2 PDCHs untuk GPRS, ini bisa di naikan, misalnya

config GPRS.Channels.Min.C0 5

Cek load

OpenBTS> load
== GSM ==
SDCCH load: 0/4
TCH/F load: 0/2
AGCH/PCH load: 0,0
Paging table size: 0
Transactions: 0
T3122: 2000 ms (target 5000 ms)
== GPRS ==
current PDCHs: 5
utilization: 0%

Sekarang PDCHs menjadi 5 dan TCH/F menjadi 2