I tried to install CalypsoBTS have libosmocore installed, osmo-bts osmobsc, libosmo-netif, libosmo-abis, ortp, trx, libosmo-dsp everything went without errors, following the instructions I created: touch ~/.osmocom/open-bsc.cfg , then when you run : osmo-nitb -c ~/.osmocom/open-bsc.cfg-l ~/.osmocom/hlr.sqlite3-P-C --debug=DRLL:CC:MM:RR:RSL:NM shows me:<0005> bsc_init.c:498 Failed to parse the config file: '/root/.osmocom/open-bsc.cfg' file tried to create as administrator but without success , pleas help me
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753.html Sent from the baseband-devel mailing list archive at Nabble.com.
On Sun, Dec 11, 2016 at 01:46:23AM -0700, phreaker1983 wrote:
, then when you run : osmo-nitb -c ~/.osmocom/open-bsc.cfg-l ~/.osmocom/hlr.sqlite3-P-C --debug=DRLL:CC:MM:RR:RSL:NM shows me:<0005> bsc_init.c:498 Failed to parse the config file:
You probably just have a bug in your config file, or the config does not match the openbsc version. Typically this would also contain a more detailed error message. To be able to help, we need more information like the complete error output or the config file and openbsc version you are using.
~N
I installed according to the official instructions (http://osmocom.org/projects/baseband/wiki/CalypsoBTS), everything is going smoothly until: Now wee need to configure [[OpenBSC]] and [[OsmoBTS]] to work together with [[CalypsoBTS]]. # Create the configuration folder if it isn't exist yet mkdir ~/.osmocom cd ~/.osmocom touch ~/.osmocom/open-bsc.cfg touch ~/.osmocom/osmo-bts.cfg Then init default configuration: # Run [[OpenBSC]] osmo-nitb -c ~/.osmocom/open-bsc.cfg-l ~/.osmocom/hlr.sqlite3-P-C --debug=DRLL:DCC:DMM:DRR:DRSL:DNM I created a folder .osmocom since it was not, then the command touch ~/.osmocom/open-bsc.cfg created empty file open-bsc.cfg , then I did :
osmo-nitb -c root/.osmocom/open-bsc.cfg-l root/.osmocom/hlr.sqlite3-P-C --debug=DRLL:DCC:DMM:DRR:DRSL:DNM
and then there was an error (attached screenshot). http://baseband-devel.722152.n3.nabble.com/file/n4026755/ls48Gwh2E6c.jpg
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026755.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
I corrected the path, and tried to upload an example file open-bsc.cfg , now I have the following error:
root@osmocombb-VirtualBox:~# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Failed to init database. Please check the option settings.
root@osmocombb-VirtualBox:~# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Failed to init database. Please check the option settings.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026756.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
Did you create the hlr.sqlite3 file?
Cheers, Domi
2016. dec. 12. dátummal, 10:55 időpontban phreaker1983 87078838964@mail.ru írta:
I corrected the path, and tried to upload an example file open-bsc.cfg , now I have the following error:
root@osmocombb-VirtualBox:~# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Failed to init database. Please check the option settings.
root@osmocombb-VirtualBox:~# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Failed to init database. Please check the option settings.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026756.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
On Mon, Dec 12, 2016 at 10:56:34AM +0100, Tomcsányi, Domonkos wrote:
Did you create the hlr.sqlite3 file?
It should be created automatically. Given that the location is writable... I'm sure this is a minor detail related to the file system that the OP should be able to figure out.
~N
i create file hlr.sqlite3
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026757.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
On 12 Dec 2016, at 17:45, phreaker1983 87078838964@mail.ru wrote:
i create file hlr.sqlite3
It is best to look at the output of a command, then try to think what it means. OpenBSC will try to open the file and it doesn't work. I would expect an error message to be printed here.
holger
root@osmocombb-VirtualBox:~# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Failed to init database. Please check the option settings.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026758.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
How did you create the sqlite3 file? As others pointed it out it doesn't need to be created (it was my mistake to ask), so if you created it via "touch hlr.sqlite3" then it could cause a problem (an empty file can't be read as an Sqlite database). So rename the file you created, or just specify a different, non-existent file (e.g. hlr2.sqlite3) and try again.
Cheers, Domi
- dec. 12. dátummal, 18:12 időpontban phreaker1983 87078838964@mail.ru írta:
root@osmocombb-VirtualBox:~# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Failed to init database. Please check the option settings.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026758.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
sorry guys , my mistake, I haven't installed libdbd-sqlite3, and showed me on the screen:
root@osmocombb-VirtualBox:/home/osmocombb# sudo osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Database initialized. DB: Database prepared.
is that supposed to work?
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026759.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
I added to your open-bsc.cfg contents of : https://git.osmocom.org/openbsc/tree/openbsc/doc/examples/osmo-bsc/osmo-bsc.... , then for a test run I did:
cd trx/src/ sudo host/osmocon/osmocon -m c123xor -p /dev/ttyUSB0 -c target/firmware/board/compal_e88/trx.highram.bin -r 99
cd trx/src/host/layer23/src/transceiver/ sudo ./transceiver -a 40 -r 99
further, according to the instructions to run OsmoBTS and OpenBSC, for OpenBsc run I'm doing :
osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C --debug=DRLL:DCC:DMM:DRR:DRSL:DNM
please tell me how to run OsmoBTS
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-tp4026753p4026760.htm... Sent from the baseband-devel mailing list archive at Nabble.com.
http:// http:// locations/6287716829017
-- Sent from: http://baseband-devel.722152.n3.nabble.com/
http:// http:// http:// http:// locations/6287716829017
-- Sent from: http://baseband-devel.722152.n3.nabble.com/
baseband-devel@lists.osmocom.org