Added a repo here and included a suggested template for accompanying notes:
You should have access and feel free to tweak the template.
Added a repo here and included a suggested template for accompanying notes:
You should have access and feel free to tweak the template.
Hello cswiger,
I do apologize for taking too much of your time.
I followed your method and edited the file before building.
however I get this error
#/usr/bin/make
touch build-arch-stamp
dh_testdir
dh_testroot
dh_clean -k -s
dh_clean: Pretending DH_COMPAT was set to 5
dh_clean: - this is a temporary measure to avoid FTBFS in packages
dh_clean: relying on cdbs to set debian/compat to 5 during the build
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
dh_installdirs -s
dh_installdirs: No compatibility level specified in debian/compat
dh_installdirs: This package will soon FTBFS; time to fix it!
dh_installdirs: Compatibility levels before 4 are no longer supported (level 1 requested)
END failed–call queue aborted.
debian/rules:69: recipe for target ‘install-arch’ failed
make: *** [install-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
FYI, I made the switch command to 5 just as the book said, and edited the file as you mentioned.
I tried looking in the internet, but didn’t get a clear result.
https://sourceforge.net/p/openbts/mailman/openbts-discuss/thread/1C882642-402A-4569-978B-45E0F042490E%40rangenetworks.com/#msg35124692
///////////////////////////////////////////////////////////////////////////////////////
EDIT: following this post, I managed to get it to work
https://sourceforge.net/p/openbts/mailman/openbts-discuss/thread/CACcka%2B0y2i-iSO_NsN1c6WVEZXMXRxoQOEZ9a%3Dg8mTuSU%2Be3HQ%40mail.gmail.com/#msg35161917
as stated in one of the replies:
!!!
This tricks works for me:
delete the existing dev directory --> rm -rf dev, re-download dev by using
git clone, and ./clone.sh (don’t run ./switchto.sh) by default it’s already
in master branch.
Then follow michael suggestion:
cd openbts
git pull
git submodule init
git submodule update
!!!
So it worked, then I got a problem of some dependency which was solved with apt-get -f install.
then lastly, it turns out that Ubuntu 17.04 doesn’t support upstart, which means I can’t start these services ! I tried to install upstart which ended up screwing the whole VM.
So I’m off to start again with Ubuntu 12.04
Lets hope this time it works !
Regards
One workaround for the upstart issues - just run each process in a seperate terminal or ‘screen’ session, or a gnome-terminal tab is what I’ve been using lately.
From notes:
Commands - to run in a screen, one each since OpenBTS upstart scripts have not caught up with systemd:
Then in main window:
OpenBTS Command Line Interface (CLI) utility
OpenBTS> config GSM.Radio
GSM.Radio.ARFCNs 1 [default]
GSM.Radio.Band 900 [default]
GSM.Radio.C0 51 [default]
OpenBTS> tmsis
IMSI TMSI IMEI AUTH CREATED ACCESSED TMSI_ASSIGNED
901700000005100 - 352273080178590 1 12m 12m 0 Blu Phone SIM
901700000005090 - 355675061139670 0 187s 187s 0 LinkIt One SIM
Also someone has systemd scripts at:
I wished I asked before I broke the last VM !
anyhow, will test on Ubuntu 12.04, if that didn’t work will go back to ubuntu 17.04 and try your method
Thanks
Thanks for your reply
I did manage to install all the services and I think they all run. except for openBTS which has missing transever configuration I think
/////////////////////////////////////////
1524580142.816831 139632986343232:
Starting the system…
ALERT 4171:4183 2018-04-24T07:29:07.9 OpenBTS.cpp:174:startTransceiver: starting transceiver ./transceiver with 1 ARFCNs
EMERG 4171:4186 2018-04-24T07:29:07.9 OpenBTS.cpp:180:startTransceiver: cannot find ./transceiver
EMERG 4171:4183 2018-04-24T07:29:07.9 OpenBTS.cpp:185:startTransceiver: Transceiver quit with status 256. Exiting.
//////////////////////////////////////////////
so when I checked, I don’t have osmo-trx installed !
I know I can install it with apt-get, but is this the proper way? or is there a certain version that I should compile from source ?
if you can help on the next steps, so that I can follow along with the book.
Thanks again
Regards
Crap - Anyone have OpenBTS / osmo-trx working with up to date versions?
Ok - I just got mine working again but had to roll back to older versions of LimeSuite and osmo-trx.
I’m using LimeSuite
Version information:
Library version: v17.01.0-g2080ece4
Build timestamp: 2018-04-24
Interface version: v2017.1.0
Binary interface: 17.01-1
which you can get by typing:
$ git checkout 2080ece41b92944ad599b6b30b4e647ae8f25761
in the LimeSuite source and rebuild, and update the firmware with LimeUtil --update.
Also rebuild SoapySDR and SoapyUHD.
And went back to osmo-trx version 0.2.0 with
$ git checkout 78e1cd20e2690f59c4ddee8faeeff98edbe5685c
Here’s the osmo build from source instructions for LimeSDR
https://osmocom.org/projects/osmotrx/wiki/LimeSDR_Family
I had to play around with different versions - have not fired up OpenBTS in a while but got those to work and my Blu phone is now camped on it. osmo-trx needs the options: -f -s4 -b4 for enable C0 filler table and samples per symbol. I can turn filler on in the vty interface for the new one but still had issues.
I’ll try to do what you said, but since the aim is using the OpenBTS not installing it. if you are using a virtual machine, can you send it to me ??
regards
I’m not using a vm - would be great if someone knew how to package an image, docker or there was talk of a Ubuntu ‘snap’ https://github.com/myriadrf/snapcraft-sandbox
Sounds like you have the upper layers built - asterisk, sipauthserve, smqueue and OpenBTS, OpenBTSCLI. The last puzzle piece is building the osmo-trx radio layer.
Does not take too much practice to be able to switch a git repo to an older known working version.
It’s a pain when all these different pieces change and evolve and break and nobody has the time to debug what broke it.
So just to note that work is under way to directly integrate OsmoTRX with Lime Suite via the LMS API, such that UHD and SoapySDR are not required any more. Once this is done it should be a lot more stable and with support for using latest versions of Lime Suite and OsmoTRX. Hopefully this is not that far away…
I hope so too,
I though the hardest part was working with GSM. but now I couldn’t even reach that stage yet !
I feel the issues too - this is the dream: https://limenet.limemicro.com/ there are snaps for LimeSDR + gqrx, grc, pocket-epc (interesting) - and the one for LimeSuite was last updated 3/17/2017 - which is actually one of the last known versions to work with OpenBTS
I’m going to spend some time on packaging.
Currently testing Ubuntu 16.04 in a libvirt vm but that’s not a really viable solution.
Will get some time with snap dev shortly.
I did all the steps,
now the issue is that SoapySDR and uhd cannot find my LimeSDR although LimeUtil can find it
Will I ever get it to work !
Does
SoapySDRUtil --info
report the lime factory?
Module found: /usr/local/lib/SoapySDR/modules0.7/libLMS7Support.so (18.04.1-b1f3811)
Available factories… lime
I get confused on the order these layers need installed and think the SoapySDR needs built FIRST, then LimeSuite finds it and builds the module: ./LimeSuite/builddir/SoapyLMS7/libLMS7Support.so
Yes, just verified in a container that if SoapySDR is not installed then LimeSuite will not build that module:
– ######################################################
– ## LimeSuite disabled features
– ######################################################
- SoapySDRLMS7 , SoapySDR bindings for LMS7
Then installed SoapySDR and now LimeSuite builds the module:
– ######################################################
– ## LimeSuite enabled features
– ######################################################
- SoapySDRLMS7 , SoapySDR bindings for LMS7
So do I just rebuild LimeSuite ?
or do I have to start over and do the build in the right order ?
////////////////////////////////////////////////////////////
I tried rebuilding the limeSuite, but since I don’t have the device on me right now, will have to wait until tomorrow to test it
Thanks guys
Building certain parts in the right order is very important. E.g. SoapySDR before Lime Suite.
But this link from osmo says to build LimeSuite before the rest !
https://osmocom.org/projects/osmotrx/wiki/LimeSDR_Family
anyhow, I tried rebuilding LimeSuite but that didn’t work. I still can’t see the device.
so before I start over in a new VM. I want to install LimeSuite, SoapySDR ,SoapyUHD , uhd and openBTS
what is the right order to build these things?
by the way, the last time I tried, I built everything from source with the version numbers that “cswiger” mentioned
thanks in advance for the help
Regards
Firstly sorry my english
Ok, so I’ll reply to myself here,
the build order is (UHD, SoapySDR, SoapyUHD, LimeSuite then OpenBTS )
at least this is what worked for me, however I can’t seem to find the Network with my phone.
is there a way to confirm that I am actually transmitting something, other than the headache that I get when radio is turned on?
A cheap rtl-sdr can show a spectrum in the lower bands. It should look something like this:
https://discourse.myriadrf.org/uploads/default/original/1X/0b616b64190ca0c8ec983c95549404ecb8c3a0d5.jpg
for arfcn 51.
try soapysdr version 0.6 instead of 0.7