RangeNetworks / OpenBTS-UMTS

3G UMTS Data Radio Access Network Node
GNU Affero General Public License v3.0
297 stars 196 forks source link

Fresh Install on Ubuntu Xenial 16.04 but have some questions... #13

Open jarodcs opened 6 years ago

jarodcs commented 6 years ago

Hey guys, Here I am to claim that installation on Ubuntu Xenial is possible, even that maybe have to spend some extra time fixing the fact that chris-lea/zeromq repository does not have files on the respective repository (https://gist.github.com/katopz/8b766a5cb0ca96c816658e9407e83d00).

Anyway, I managed to install OpenBTS-UMTS but once the system is up (./OpenBTS-UMTS), it seems that doing any modification whether with config/devconfig/rawconfig does not have any effect on the OpenBTS-UMTS.db located at /etc/OpenBTS which is the database containing the system parameters that OpenBTS-UMTS loads up. My test cellphone supports (for reasons unknown) only WCDMA-1900 on 3G bands and I needed to set this up properly on OpenBTS-UMTS, but when the modification was done and I restarted the system, at the moment of re-start it ... it gave this error:

** Device ready OpenBTS-UMTS: UMTSCommon.cpp:29: unsigned int UMTS::channelFreqKHz(UMTS::UMTSBand, unsigned int): Assertion `(ARFCN<=3088) && (ARFCN>=2937)' failed. Aborted (core dumped)

Seems that aparently it somehow manage to change the Band but no the C0 ...

Then to solve the problem:

  1. cd /etc/OpenBTS
  2. nano OpenBTS-UMTS.example.sql (changing data manually):

INSERT OR IGNORE INTO "CONFIG" VALUES('UMTS.Radio.Band','1900',1,0,'The UMTS operating band. Valid values are 850, 900, $ INSERT OR IGNORE INTO "CONFIG" VALUES('UMTS.Radio.C0','9800',1,0,'The UARFCN. Range of valid values depend upon the sele$

  1. and then to create manually the database file: root@deepsecurity:/etc/OpenBTS# sqlite3 OpenBTS-UMTS.db ".read OpenBTS-UMTS.example.sql"

  2. Sometimes the transceiver module hangs out the system and executing ./OpenBTS-UMTS will propmt: root@xxxxxxxxxxxx:~/OpenBTS-UMTS/apps# ./OpenBTS-UMTS bind() failed: Address already in use terminate called after throwing an instance of 'SocketError' Aborted (core dumped)

4.1 I do:

root@xxxxxxxxxxxx:~/OpenBTS-UMTS/apps# ps PID TTY TIME CMD 9475 pts/1 00:00:00 transceiver 9585 pts/1 00:00:00 ps 12025 pts/1 00:00:00 sudo 12026 pts/1 00:00:00 su 12027 pts/1 00:00:00 bash root@xxxxxxxxxxxx:~/OpenBTS-UMTS/apps# kill -KILL 9475

  1. Finally running again ./OpenBTS-UMTS

OpenBTS> devconfig UMTS.Radio. UMTS.Radio.ARFCNs 1 [default] UMTS.Radio.Band 1900 UMTS.Radio.C0 9800 UMTS.Radio.MaxExpectedDelaySpread 50 [default] UMTS.Radio.PowerManager.MaxAttenDB 10 [default] UMTS.Radio.PowerManager.MinAttenDB 0 [default] UMTS.Radio.PowerManager.NumSamples 10 [default] UMTS.Radio.PowerManager.Period 6000 [default] UMTS.Radio.PowerManager.SamplePeriod 2000 [default] UMTS.Radio.PowerManager.TargetT3122 5000 [default] UMTS.Radio.RxGain 57 [default]

Can anyone confirm that ... or maybe I have done something wrong ...