# LimeSDR osmo-trx no work

**URL:** <https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938>\
**Category:** Lime Suite\
**Created:** [30 October 2017 12:02 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938 "2017-10-30T12:02:49Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![gavz](https://avatars.discourse-cdn.com/v4/letter/g/b4bc9f/32.png) [@gavz](https://discourse.myriadrf.org/u/gavz)\
**Post date:** [26 May 2018 22:45 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/84 "2018-05-26T22:45:18Z")

</div>

[https://osmocom.org/issues/2723](https://osmocom.org/issues/2723)  
reclassifying as “Low” as we are working on osmo-bts-lms to address this.

---

<div class="post-metadata">

**Author:** ![5harp1e](https://avatars.discourse-cdn.com/v4/letter/5/8baadc/32.png) [@5harp1e](https://discourse.myriadrf.org/u/5harp1e)\
**Post date:** [31 May 2018 14:01 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/85 "2018-05-31T14:01:15Z")

</div>

@cswiger - great job on the docker and figuring this out! I spun up your image and cellphones attach fine to the network, SMS messaging works, and GPRS works as well. Trying to figure out how to enable local voice calling (busy signal for now). Thanks a lot for sharing your work!

---

<div class="post-metadata">

**Author:** ![cswiger](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/cswiger/32/197_2.png) [@cswiger](https://discourse.myriadrf.org/u/cswiger)\
**Post date:** [31 May 2018 15:54 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/86 "2018-05-31T15:54:13Z")

</div>

Appreciate the feedback.  
Voice calling previously, with nitb, needed LCR Linux Call Router with some hacks to work (use old version, change MNCC version) and I could not get a package built for deb, etc. Going forward there is a sip connector which I have not figured out how to use (with an existing Asterisk running that has a pstn gateway already setup).

I’d like a pointer to some instructions on how to setup voice calls with the latest osmo-bsc, hlr, etc in place of osmo-nitb.

---

<div class="post-metadata">

**Author:** ![4m4rOk](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/4m4rok/32/1921_2.png) [@4m4rOk](https://discourse.myriadrf.org/u/4m4rOk)\
**Post date:** [1 June 2018 17:41 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/87 "2018-06-01T17:41:22Z")

</div>

Thanks a bunch for your work!

I just wanted to test your container with my LimeSDR on an Ubuntu 18.04 machine, but I’m seeing a couple of strange things:

- `screen -r` doesn’t show a screen with the name “trx”
- The bts screen outputs `<000b> trx_if.c:182 No response from transceiver for phy0.0 (CMD POWEROFF)`
- Attaching the container and executing LimeUtil returns `Illegal instruction (core dumped)`

I assume that the first two issues can be solved by fixing the last one, but do you have any idea what’s going wrong?

---

<div class="post-metadata">

**Author:** ![cswiger](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/cswiger/32/197_2.png) [@cswiger](https://discourse.myriadrf.org/u/cswiger)\
**Post date:** [1 June 2018 20:07 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/88 "2018-06-01T20:07:17Z")

</div>

Afraid I am stumped on the “Illegal Instruction” from LimeUtil - you can run in / (root of container with all the cfg files) - osmo-trx and that will probably fail also, hence no screen named ‘trx’ (the screen is started, then osmo-trx fails and exits it sounds like).

---

<div class="post-metadata">

**Author:** ![4m4rOk](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/4m4rok/32/1921_2.png) [@4m4rOk](https://discourse.myriadrf.org/u/4m4rOk)\
**Post date:** [1 June 2018 20:23 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/89 "2018-06-01T20:23:42Z")

</div>

Yeah, that is exactly what happens. I was able to build LimeSuite by myself and replace the bins, which helped fix the command. But osmo-trx is still having the “Illegal instruction” issue. I’ve also tried building it myself, but ran into a couple of dependency issues.

Will try it again later — thanks for your help!

---

<div class="post-metadata">

**Author:** ![5harp1e](https://avatars.discourse-cdn.com/v4/letter/5/8baadc/32.png) [@5harp1e](https://discourse.myriadrf.org/u/5harp1e)\
**Post date:** [4 June 2018 21:49 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/90 "2018-06-04T21:49:46Z")

</div>

@cswiger - got local calling working fine now using that old fork of LCR you recommended! Added interface.conf, options.conf, routing.conf with configs per [https://osmocom.org/projects/cellular-infrastructure/wiki/SDR\_OsmoTRX\_network\_from\_scratch#routingconf](https://osmocom.org/projects/cellular-infrastructure/wiki/SDR_OsmoTRX_network_from_scratch#routingconf) and she is happy! 🙂 Calls connect and audio is clear both ways.

Occasionally I get intermittent timeouts on my Lime:  
_Mon Jun 4 17:17:48 2018 DMAIN \<0000\> Logger.cpp:53 [tid=140388617557760] UHD: Receive timed out_  
causing transceiver to basically die. But I am not using any Ext Clock Ref may be that’s why… I’ll try running it with external GPSDO and see if that helps with stability. Thanks again for your solid pointers!

---

<div class="post-metadata">

**Author:** ![5harp1e](https://avatars.discourse-cdn.com/v4/letter/5/8baadc/32.png) [@5harp1e](https://discourse.myriadrf.org/u/5harp1e)\
**Post date:** [5 June 2018 05:54 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/91 "2018-06-05T05:54:34Z")

</div>

@4m4rOk – I would try without screens. Start the container in the docker and then open 6 terminals. In each terminal run _docker exec -it osmogsm /bin/bash_ to get into it. Then run each component in its own terminal so that you see what’s going on:  
term1: /usr/bin/osmo-nitb -m -P  
term2: /usr/bin/osmo-bts-trx  
term3: /usr/bin/osmo-trx  
you can actually stop here for now and see what happens with osmo-trx.

---

<div class="post-metadata">

**Author:** ![4m4rOk](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/4m4rok/32/1921_2.png) [@4m4rOk](https://discourse.myriadrf.org/u/4m4rOk)\
**Post date:** [6 June 2018 06:17 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/92 "2018-06-06T06:17:46Z")

</div>

Hey @5harp1e, thanks for the advice! I’ve already done so and am getting the “Illegal Instruction” error when osmo-trx tries to interact with the Lime.

---

<div class="post-metadata">

**Author:** ![Bahaeddin](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Bahaeddin](https://discourse.myriadrf.org/u/Bahaeddin)\
**Post date:** [30 August 2018 22:06 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/93 "2018-08-30T22:06:17Z")

</div>

Hello

regarding the osmocom stack, do we need to build from source or can we use package managers ?

how did you guys install it, aside from the attached docker.

Thanks

---

<div class="post-metadata">

**Author:** ![brandonrains](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/brandonrains/32/2481_2.png) [@brandonrains](https://discourse.myriadrf.org/u/brandonrains)\
**Post date:** [10 January 2019 18:46 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/95 "2019-01-10T18:46:37Z")

</div>

> [@cswiger](#):
>
> , with nitb, needed LCR Linux Call Router with some hacks to work (use old version, change MNCC version) and I could not get a package built for deb, etc. Going forward there is a sip connector which I have not figured out how to use (with an existing Asterisk running that has a pstn gateway already setup).
> 
> I’d like a pointer to some instructions on how to setup voice calls with the latest osmo-bsc, hlr, etc in place of osmo-nitb.

HEY cswiger! working on a cool project with limesdr wondering if you would be willing to help point me in the right direction?

---

<div class="post-metadata">

**Author:** ![cswiger](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/cswiger/32/197_2.png) [@cswiger](https://discourse.myriadrf.org/u/cswiger)\
**Post date:** [10 January 2019 22:09 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/96 "2019-01-10T22:09:17Z")

</div>

If it is something I might know off the top of my head - not doing any research in sdr at the moment.

---

<div class="post-metadata">

**Author:** ![brandonrains](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/brandonrains/32/2481_2.png) [@brandonrains](https://discourse.myriadrf.org/u/brandonrains)\
**Post date:** [11 January 2019 02:45 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/97 "2019-01-11T02:45:38Z")

</div>

I’m trying to create a kind of wireless firewall using a Nitb as a starting point, I have 2 limesdr mini’s and have successfully got a GSM900 system up and running, but when I tried to change to 1900 for US phones it wouldn’t startup. So I have abandoned that approach and have been working on OAI and running a LTE nitb which I will hopefully get working soon. I just wanted to reach out to you as I see you on forums quite a bit. I’m just working on one step at a time, but not really sure if I am heading in the right direction

---

<div class="post-metadata">

**Author:** ![dast](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@dast](https://discourse.myriadrf.org/u/dast)\
**Post date:** [11 January 2019 03:31 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/98 "2019-01-11T03:31:11Z")

</div>

did you config correctly the band on the .conf file ?

---

<div class="post-metadata">

**Author:** ![brandonrains](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/brandonrains/32/2481_2.png) [@brandonrains](https://discourse.myriadrf.org/u/brandonrains)\
**Post date:** [11 January 2019 03:41 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/99 "2019-01-11T03:41:19Z")

</div>

I followed this tutorial for GSM  
[https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom\_New\_Splits\_(BSC\_MGW\_HLR\_MSC)](https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_New_Splits_(BSC_MGW_HLR_MSC))  
and changed osmo-bsc.cfg from band GSM900 to GSM1900 but it wouldn’t start. As far as the OAI method, still working on it, will hopefully be changing band7 per tutorial to band 12

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [11 January 2019 07:44 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/100 "2019-01-11T07:44:45Z")

</div>

@brandonrains please stop cross-posting! This is really unhelpful. If you have a problem with a particular thing post about it in one place and _one place only_. I’ve replied to your thread here:

> [@LimeSDR-USB with Osmocom New Split experience](https://discourse.myriadrf.org/t/limesdr-usb-with-osmocom-new-split-experience/3303/11):
>
> That’s because there is no such thing as GSM1900 — it’s PCS1900. See: [https://en.wikipedia.org/wiki/GSM\_frequency\_bands](https://en.wikipedia.org/wiki/GSM_frequency_bands) Also you will need to change the band setting in other components also. In general I’d suggest reading the [documentation](https://osmocom.org/projects/cellular-infrastructure).

---

<div class="post-metadata">

**Author:** ![brandonrains](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/brandonrains/32/2481_2.png) [@brandonrains](https://discourse.myriadrf.org/u/brandonrains)\
**Post date:** [12 January 2019 06:45 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/101 "2019-01-12T06:45:54Z")

</div>

> [@andrewback](#):
>
> ou will

Thanks for the help! I’ll check it out!

---

<div class="post-metadata">

**Author:** ![brandonrains](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/brandonrains/32/2481_2.png) [@brandonrains](https://discourse.myriadrf.org/u/brandonrains)\
**Post date:** [18 January 2019 20:57 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/102 "2019-01-18T20:57:31Z")

</div>

I changed the band PCS1900 in osmo-bsc.cfg, also the band to PCS1900 under the bts 0 heading in osmo-bts-trx.cfg. And it kept crashing on me. It gave the following error:  
Please do not use legacy config ‘mgw endpoint-range’ (the range can no longer be defined by the MGCP client)  
20190118144951103 DLGLOBAL \<0013\> telnet\_interface.c:104 Available via telnet 127.0.0.1 4242  
20190118144951103 DNM \<0004\> osmo\_bsc\_main.c:420 GSM1900 channel must be between 512-810.  
20190118144951103 DNM \<0004\> osmo\_bsc\_main.c:519 Error bootstrapping BTS  
Bootstrapping the network failed. exiting.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [18 January 2019 21:00 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/103 "2019-01-18T21:00:29Z")

</div>

Looks like the ARFCN (channel number) is not valid. You can find a list of valid channels here:

[http://niviuk.free.fr/gsm\_arfcn.php](http://niviuk.free.fr/gsm_arfcn.php)

---

<div class="post-metadata">

**Author:** ![brandonrains](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/brandonrains/32/2481_2.png) [@brandonrains](https://discourse.myriadrf.org/u/brandonrains)\
**Post date:** [18 January 2019 21:03 UTC](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938/104 "2019-01-18T21:03:26Z")

</div>

Thanks andrew! I’ll check it out!

[Previous page](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938.md?page=4)

[Next page](https://discourse.myriadrf.org/t/limesdr-osmo-trx-no-work/1938.md?page=6)
