On Dec 5, 2017 12:29 AM, "Tom" ***@***.***> wrote:
Edit the main /dev/build.sh and remove the command to copy the library:
sayAndDo mv libcoredumper* ../$BUILDNAME
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#44 (comment)>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AOIPCLbQLX6MOHCaeYRM7iggX6B6CB_Fks5s9Cv1gaJpZM4MYS6->
Did you only remove the command : sayAndDo mv libcoredumper* ../$BUILDNAME?
I am still getting the same error libcoredumper*.deb not found.
Where is this libcoredumper*.deb suposed to be? I understand this is made by the fakecoredumper, but what else should I modify?
The .deb is supposed to be made by the libcoredumper/build.sh and then installed, you can remove that line as well.
# sayAndDo sudo dpkg -i $BUILDNAME/libcoredumper*.deb
The reason you get these problems and I don't because you run the complete build ./build.sh instead of just building the components you need like ./build.sh openbts
What libA53 error?
I've also managed to successfully compile Openbts on Raspbian Stretch using g++/gcc 5.4 instead of default installed version 6.x. To do this you need to install older compiler version first with:
sudo apt-get install gcc-5 g++-5
Then configure:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 20 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 20 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10
Now you can select which gcc or g++ version you want to use with:
sudo update-alternatives --config g++ sudo update-alternatives --config gcc
Select version 5 and compile Openbts
More about this: https://askubuntu.com/questions/26498/choose-gcc-and-g-version
So deleted the the line and built it successfully, I didn't have a problem with libA53 because I installed it before as it is suggested here: @felangga
http://openbts.org/w/index.php?title=E3x0#Building_OpenBTS
$ git clone https://github.com/RangeNetworks/liba53.git
$ cd liba53
$ make
$ make install
However, after I ran sudo dpkg -i *.deb inside cd BUILDS/ and selecting default configuration I got the following problem
Errors were encountered while processing: range-configs, I checked my range-configs and it is up to date.
I installed the dependencies needed, to solve the past problem.
After running the dpkg -i *.deb successfully and says:
Setting up liba53 (0.1) ...
Seting up openbts (5.0) ...
Setting up range-asterisk (11.7.0.5) ...
Setting up range-configs (5.1-master) ...
nothing to configure
Settting up sipauthserve (5.0) ...
Setting up smqueue (5.0) ...
Procesing triggers for libc-bin(2.23-Ubuntu9) ...
Processing triggers for ureadhead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
After that , when I run sudo apt-get -f install it does not install anything, and when I try to start openbts with sudo start openbts tells me, sudo: start: command not found, the same for the other services such as asterisk, sipauthserve and smqueue. However when I run cd /OpenBTS/ ./OpenBTSCLI tells me that OpenBTS is not connected (at least I receive that).
You guys have any idea?
Your command to start is wrong try: sudo service start openbts
Easier is to clone this git https://github.com/nadiia-kotelnikova/openbts_systemd_scripts this has scripts to start and stop all required components at once by running sudo ./openbts-start.sh or sudo ./openbts-stop.sh
Also:
-I've noticed sometimes you need to start the transceiver manually by going to /OpenBTS and running ./tranceiver then run the ./openbts-start.sh and finally the OpenBTSCLI for sending commands to it.
-If you want debug output you can run the OpenBTS executable directly from the /OpenBTS directory.
Thanks a lot for your help @tom-2015.
So, that service is not running, however I can run the binary file from /OpenBTS ..
I get this error:
1512479933.588408 1995526144:
Starting the system...
ALERT 19798:19805 2017-12-05T14:18:58.9 OpenBTS.cpp:174:startTransceiver: starting transceiver ./transceiver with 1 ARFCNs
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown
Using internal frequency reference
-- Detected Device: B210
-- Loading FPGA image: /usr/share/uhd/images/usrp_b210_fpga.bin... 19%ALERT 19798:19798 2017-12-05T14:19:13.6 TRXManager.cpp:402:tune: RXTUNE(51) failed with status -1
27%EMERG 19798:19828 2017-12-05T14:19:18.6 TRXManager.cpp:107:clockHandler: TRX clock interface timed out, assuming TRX is dead.
grc@grc:/OpenB done
-- Operating over USB 2.
-- Detecting internal GPSDO.... No GPSDO found
-- Initialize CODEC control...
UHD Error:
An unexpected exception was caught in a task loop.
The task loop will now exit, things may not work.
RuntimeError: usb rx8 transfer status: LIBUSB_TRANSFER_ERROR
ALERT 19808:19808 2017-12-05T14:20:10.2 UHDDevice.cpp:557:open: UHD make failed, device type=b200,name=,serial=307B5D1,product=B210
ALERT 19808:19808 2017-12-05T14:20:10.2 runTransceiver.cpp:176:main: Transceiver exiting...
My first approach was using a B205 mini, this is type B200 and that is how I made the built and I got an error, now I am trying to run it with a B210 as it ran properly in a Ubuntu Computer in the past, but got the same problem, now I will rebuild for B210 and try again, I think that there is not much difference though, The building on Raspberry took like 5 hrs in the past, so I will update you when I finish this.
Once again, thank you very much!
I'm using UHD 3.9.5 and B200 got no errors and the test network shows up on my phone. Was not able to connect, probably some settings not correct.
I've uploaded the compiled .deb installer packages here http://dfzone.be/downloads/deb/openbts/ in case anyone likes to just install it without going through the compile process.
@pengwangbupt Asterisk is still not compiling on the Raspberry because Raspbian has a newer version of openssl installed. Ofcourse this is not compatible with the older version (as usual in Linux :( )... One thing you can do is install it from apt:
sudo apt-get install asterisk
Then modify the config files, I've now also uploaded the asterisk-config .deb files.
I don't know about SMS between phones haven't tried that. You can use wireshark / tshark on the lo interface to see where the SMS is send to (SIP protocol). Probably you need asterisk for it.
@ezze5 I ' m using usrp b200, and i didn't problem with it, and Ubuntu mate 16.04 for Raspberry Pi 3B, i have tested yet , but there are also some problems for arm system;
Currently, I'm in debain system of Raspberry Pi, First, install the lib of build.sh needed , and then , install the deb of tom-2015 uploaded , i can run the openbts, but the SMS has some problem and call isn't supporting.
@pengwangbupt just to confirm,
This is what I did, in this order, do you see any mistake?
Clone this repository
install liba53
install sipauthserve
install fakecoredumper (tom-2015, don remember any deb, just ran install.sh)
delete coredumper dependencies from /dev/build.sh
sayAndDo mv libcoredumper* ../$BUILDNAME
sayAndDo sudo dpkg -i $BUILDNAME/libcoredumper*.deb
put exit 0; on /dev/libcoredumper/build.sh
remove lcoredumper dependencies from /dev/CommonLibs/Makefile.am
run /dev/build.sh B200
run sudo dpkg -i /dev/BUILDS//*.deb
run sudo apt-get -f install
run binary of OpenBTS (Problem with UHD)
@ezze5 yes , the steps is right, but i think you should find the usrp first using commond "uhd_find_device", you need download the usrp images !
and i will try you solutions after a while, and together to complete it!
@pengwangbupt Yes, I do that, I can run other projects using the hardware, it is just with OpenBTS what am having problems with. Will keep looking
Thank you!
It's a bit off topic to ask that here, this issue goes over compiling.
Did the phone actually connect to your network or was it refused?
Don't forget to execute the OpenBTS command to allow any IMSI to connect: config Control.LUR.OpenRegistration .*
I personally think this project really needs a forum for asking questions. Unfortunately there is only some irritating mailing lists...
@tom-2015 hello,i have installed the dev files which are you uploaded before, but i get problems as follow :
Preparing to unpack liba53_0.1_armhf.deb ...
Unpacking liba53 (0.1) over (0.1) ...
Preparing to unpack openbts_5.0_armhf.deb ...
Unpacking openbts (5.0) over (5.0) ...
Preparing to unpack range-asterisk-config_5.0_all.deb ...
Unpacking range-asterisk-config (5.0) ...
dpkg: error processing archive range-asterisk-config_5.0_all.deb (--install):
trying to overwrite '/etc/asterisk/asterisk.conf', which is also in package asterisk-config 1:13.1.0~dfsg-1.1ubuntu4.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack range-configs_5.1-master_all.deb ...
Unpacking range-configs (5.1-master) over (5.1-master) ...
Preparing to unpack sipauthserve_5.0_armhf.deb ...
/var/lib/dpkg/info/sipauthserve.prerm: 22: /var/lib/dpkg/info/sipauthserve.prerm: stop: not found
Unpacking sipauthserve (5.0) over (5.0) ...
Preparing to unpack smqueue_5.0_armhf.deb ...
/var/lib/dpkg/info/smqueue.prerm: 22: /var/lib/dpkg/info/smqueue.prerm: stop: not found
Unpacking smqueue (5.0) over (5.0) ...
Setting up liba53 (0.1) ...
Setting up openbts (5.0) ...
Setting up range-configs (5.1-master) ...
nothing to configure
Setting up sipauthserve (5.0) ...
Setting up smqueue (5.0) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
range-asterisk-config_5.0_all.deb
Are you help me ?
try removing /etc/asterisk/asterisk.conf before installing range-asterisk-config_5.0_all.deb.
I think the rest is installed fine, Check what is in /OpenBTS/ folder.
I had try removing /etc/asterisk/asterisk.conf,but it no uses, and others are right, but i think there are some configuration are wrong, such as ./OpenCLI , it reports as follow:
./OpenBTSCLI: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
@tom-2015
@ezze5 are you ok ?
i have try to install openbts in the ubuntu16.04 mate, but there are many problems with "install_arch" and also !
Try installing the missing file: sudo apt-get install libreadline-dev
I don't know if these .deb files I've uploaded automatically install all needed dependencies. I just copy/paste them to my site, didn't test it.
It was also compiled on the Raspbian Stretch (official Raspberry OS) for USRP B200 radio module. I don't know if it will work on other versions like the Ubuntu mate 16.04.
@pengwangbupt Hello, I installed it on a virtual machine using ubuntu 16.04, could install it but after trying to register the phone nothing appeared with the command tmsis, so I could never register phones. After that I installed it on other virtual machine with Ubuntu 14.04 and i had no problems, however my goal is still make it run on the Raspberry Pi
@pengwangbupt yes it seems to work but I must admit I haven't tested thoroughly. Only did the SMS command and the 2600 test call. I haven't tested phone to phone call/SMS.
If you can't register your phone, check if the IMSI is allowed on your network and also rx gain might be a problem if your phone is too close to the B200. In this case the transceiver outputs something like "clipping detected on RACH channel" warning, if you see this lower the rx gain.
what exactly does libcoredumper do anyways? just curious what functionality is suspended when using fakecoredumper.
Brilliant hack btw!
EDIT: Looks like i had an RTFM moment: Excerpt from RangeNetworks Getting Started with OpenBTS guide; "OpenBTS uses the coredumper shared library to produce meaningful debugging information if OpenBTS crashes. Google originally wrote it ..."
@pengwangbupt Sorry but I can't help you because I don't know how that works either. I'm not using the OpenBTS as a real network but only for testing railway GSM modems. I only have one phone attached at the same time.
It must be a configuration in Asterisk or SIPauthserver. Install Wireshark and listen for SIP messages on lo interface. You will see OpenBTS send a SIP request to Asterisk or SIPAuthserver when you make a call. Maybe the response from Asterisk to OpenBTS will tell you what is wrong.
OpenBTS does not build phone numbers for the handsets like yate does. You have to make sure you have a sip proxy provider in order for you to connect make phone calls and send sms.
Yate in other hand is build to make phone calls within the network but outside the network needs sip provider. OpenBTS needs a sip provider in order for you to get full functionallity.
Get a sip proxy provider which has a good reputation for gsm provision or otherwise it wont work. Peace. OpenBTS remains the best so far into tricking other phones to connect and the easiest to work with in 2g.
when i using gcc 5 and g++ 5 the error report liket this
./swith to master same error report
./swith to 5.0 smae error report
build to n210
i am using x86_64 ubuntu 16.04
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: debian/rules binary gave error exit status 2
ERROR: command failed!
@baguzajja Hello, I have also encountered this problem now.
I am using x86_64 ubuntu 16.04 and n210
Can you solve this problem? thk.
std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))'
collect2: error: ld returned 1 exit status
Makefile:606: recipe for target 'transceiver' failed
make[3]: *** [transceiver] Error 1
make[3]: Leaving directory '/home/sansi/sdr_OpenBTS/dev/openbts/Transceiver52M'
Makefile:572: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sansi/sdr_OpenBTS/dev/openbts'
Makefile:503: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/sansi/sdr_OpenBTS/dev/openbts'
debian/rules:74: recipe for target 'install-arch' failed
make: *** [install-arch] Error 2
dpkg-buildpackage: 错误: fakeroot debian/rules binary 提供错误退出状态 2
ERROR: command failed!
You gotta build the transceiver manually.
Go to transceiver folder and and add a -lpthread flag to it.
On Fri, Mar 15, 2019, 8:39 AM newbie ***@***.***> wrote:
@baguzajja <
https://github.com/baguzajja> Hello, I have also encountered
this problem now.
I am using x86_64 ubuntu 16.04 and n210
Can you solve this problem? thk.
std::__cxx11::basic_string<char, std::char_traits, std::allocator >
const&))'
collect2: error: ld returned 1 exit status
Makefile:606: recipe for target 'transceiver' failed
make[3]: *** [transceiver] Error 1
make[3]: Leaving directory
'/home/sansi/sdr_OpenBTS/dev/openbts/Transceiver52M'
Makefile:572: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sansi/sdr_OpenBTS/dev/openbts'
Makefile:503: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/sansi/sdr_OpenBTS/dev/openbts'
debian/rules:74: recipe for target 'install-arch' failed
make: *** [install-arch] Error 2
dpkg-buildpackage: 错误: fakeroot debian/rules binary 提供错误退出状态 2
ERROR: command failed!
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#44 (comment)>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AYP2GK8IzZLZcRrAQhI_OOlYPNtehe4Dks5vW5SJgaJpZM4MYS6->
@Keskebeu
Hello, thank you very much for your help, but I don't understand how to do it specificly. The files in the Transceiver52M file directory are as follows. How should I build it? thk!
$ ~/dev/openbts/Transceiver52M$ ls
Complex.h radioClock.cpp Resampler.cpp
convert.c radioClock.h Resampler.h
convert.h radioDevice.h runTransceiver.cpp
convolve.c radioInterface.cpp sigProcLib.cpp
convolve.h radioInterface.h sigProcLib.h
DummyLoad.cpp radioInterfaceResamp.cpp std_inband.rbf
DummyLoad.h radioVector.cpp Transceiver.cpp
inband-signaling-usb radioVector.h Transceiver.h
laurent.m README UHDDevice.cpp
Makefile.am README.DFEsymbolspaced USRPDevice.cpp
pulseApproximate.m README.Talgorithm USRPDevice.h
I would recommend compiling everything on the dev folder separately.
So libosmocore liba53 suscriberRegistry and smqueue.
Make sure you run
Sudo git submodule init
Sudo git submodule update
in the folders mentioned above.
Do not run that command in liba53.
Once you download liba53 the build command will not work. So make sure you
unzip that folder and go to liba53-11 and than run make make install
ldconfig with sudo privilege.
You do not have to download the dev folder to build open-bts with UHD
You can download open-bts liba53 subscriberRegistry and smqueue from range
Network GitHub.
On Fri, Mar 15, 2019, 11:25 PM newbie ***@***.***> wrote:
@Keskebeu <
https://github.com/Keskebeu>
Hello, thank you very much for your help, but I don't understand how to do
it specificly. The files in the Transceiver52M file directory are as
follows. How should I build it? thk!
$ ~/dev/openbts/Transceiver52M$ ls
Complex.h radioClock.cpp Resampler.cpp
convert.c radioClock.h Resampler.h
convert.h radioDevice.h runTransceiver.cpp
convolve.c radioInterface.cpp sigProcLib.cpp
convolve.h radioInterface.h sigProcLib.h
DummyLoad.cpp radioInterfaceResamp.cpp std_inband.rbf
DummyLoad.h radioVector.cpp Transceiver.cpp
inband-signaling-usb radioVector.h Transceiver.h
laurent.m README UHDDevice.cpp
Makefile.am README.DFEsymbolspaced USRPDevice.cpp
pulseApproximate.m README.Talgorithm USRPDevice.h
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
#44 (comment)>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AYP2GLNuPGtmYfKu3nf1LmXOHkgGvuRxks5vXGQvgaJpZM4MYS6->
I would give an more in depth explanation in Sunday.
On Fri, Mar 15, 2019, 11:25 PM newbie ***@***.***> wrote:
@Keskebeu <
https://github.com/Keskebeu>
Hello, thank you very much for your help, but I don't understand how to do
it specificly. The files in the Transceiver52M file directory are as
follows. How should I build it? thk!
$ ~/dev/openbts/Transceiver52M$ ls
Complex.h radioClock.cpp Resampler.cpp
convert.c radioClock.h Resampler.h
convert.h radioDevice.h runTransceiver.cpp
convolve.c radioInterface.cpp sigProcLib.cpp
convolve.h radioInterface.h sigProcLib.h
DummyLoad.cpp radioInterfaceResamp.cpp std_inband.rbf
DummyLoad.h radioVector.cpp Transceiver.cpp
inband-signaling-usb radioVector.h Transceiver.h
laurent.m README UHDDevice.cpp
Makefile.am README.DFEsymbolspaced USRPDevice.cpp
pulseApproximate.m README.Talgorithm USRPDevice.h
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
#44 (comment)>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AYP2GLNuPGtmYfKu3nf1LmXOHkgGvuRxks5vXGQvgaJpZM4MYS6->