Page 4 of 5

Re: openBTS

Posted: Thu Feb 12, 2015 6:15 pm
by jynik
I don't want to hijack the topic here, but just wanted to note that if it's an option, you may want to try out YateBTS, given that it has native bladeRF support.

It's pretty staight-forward to build, and the setup defaults to the Network in a Box (NIB) setup.

Check out their wiki. On the left side of the wiki, you'll see some categories. I'd recommend giving the "Installation and Administration" and the "Configuration" pages a good read before even entering a command on the console; there's a lot of good information there that really spells everything out nicely. I've seen people skip steps and then wonder why yate complains about things like not being configured with a transceiver, hence I stress reviewing their guides before starting.

You can install the web interface for registering phones, or forego that and instead register phones by editing config files and using the telnet interface.

Note that the Yate folks have their own community forum and #yate channel on Freenode, should you want to chat, troubleshoot, and discuss there.

With all that said, I really don't know enough in the realm of telephony or the *BTS projects to offer a great deal of advice or assistance in troubleshooting, sorry.

Re: openBTS

Posted: Fri Feb 13, 2015 9:34 am
by jpvc
I managed to get the build to work and, after some library issues, also managed the installation, only to get a wrong USB error; I only have usb 2.0 in the computer I am using for this project. If anyone is interested, these are the changes I had to make, although I wouldn't recommend this route because it uses an old version of OpenBTS and is also a pain.

In the openbts/debian directory, I modified the file named control
change

Code: Select all

Architecture: i386
to

Code: Select all

Architecture: amd64
If you prefer, you can also use

Code: Select all

Architecture: all
With that, I got the build to work, but trying to install I got an error for openbts because of its dependency on libc6-i686 which is apparently not possible to install in Ubuntu 14.04. I decided to go back to the openbts/debian/control file and changed in the Depends line libc6-i686 to only libc6, i.e. I deleted the -i686 bit. This feels like it may break the program, but it allowed for a proper installation of openbts on my computer. However, when I ran the program, I got the USB error. This is when I found the page zane93 mentions.
zane93 wrote:Looks promising. I will try it within the next week or so.
https://github.com/Nuand/bladeRF/wiki/M ... OpenBTS-5/
I actually found that last week and have finally managed to install it correctly with not too many hiccups along the way. I will write a tutorial of what I had to do to try and put everything in a single page for further reference and will post the link here.

=================
jynik wrote:I don't want to hijack the topic here, but just wanted to note that if it's an option, you may want to try out YateBTS, given that it has native bladeRF support.

It's pretty staight-forward to build, and the setup defaults to the Network in a Box (NIB) setup.

Check out their wiki. On the left side of the wiki, you'll see some categories. I'd recommend giving the "Installation and Administration" and the "Configuration" pages a good read before even entering a command on the console; there's a lot of good information there that really spells everything out nicely. I've seen people skip steps and then wonder why yate complains about things like not being configured with a transceiver, hence I stress reviewing their guides before starting.

You can install the web interface for registering phones, or forego that and instead register phones by editing config files and using the telnet interface.

Note that the Yate folks have their own community forum and #yate channel on Freenode, should you want to chat, troubleshoot, and discuss there.

With all that said, I really don't know enough in the realm of telephony or the *BTS projects to offer a great deal of advice or assistance in troubleshooting, sorry.
I might just give YateBTS a try, actually, thanks for the info. I was just being stubborn about getting OpenBTS to work. I can compare both of them after I install it and let you know my thoughts.

Re: openBTS

Posted: Fri Feb 13, 2015 9:39 am
by zane93
jpvc wrote:I managed to get the build to work and, after some library issues, also managed the installation, only to get a wrong USB error; I only have usb 2.0 in the computer I am using for this project. If anyone is interested, these are the changes I had to make, although I wouldn't recommend this route because it uses an old version of OpenBTS and is also a pain.

In the openbts/debian directory, I modified the file named control
change

Code: Select all

Architecture: i386
to

Code: Select all

Architecture: amd64
If you prefer, you can also use

Code: Select all

Architecture: all
With that, I got the build to work, but trying to install I got an error for openbts because of its dependency on libc6-i686 which is apparently not possible to install in Ubuntu 14.04. I decided to go back to the openbts/debian/control file and changed in the Depends line libc6-i686 to only libc6, i.e. I deleted the -i686 bit. This feels like it may break the program, but it allowed for a proper installation of openbts on my computer. However, when I ran the program, I got the USB error. This is when I found the page zane93 mentions.
zane93 wrote:Looks promising. I will try it within the next week or so.
https://github.com/Nuand/bladeRF/wiki/M ... OpenBTS-5/
I actually found that last week and have finally managed to install it correctly with not too many hiccups along the way. I will write a tutorial of what I had to do to try and put everything in a single page for further reference and will post the link here.

=================
jynik wrote:I don't want to hijack the topic here, but just wanted to note that if it's an option, you may want to try out YateBTS, given that it has native bladeRF support.

It's pretty staight-forward to build, and the setup defaults to the Network in a Box (NIB) setup.

Check out their wiki. On the left side of the wiki, you'll see some categories. I'd recommend giving the "Installation and Administration" and the "Configuration" pages a good read before even entering a command on the console; there's a lot of good information there that really spells everything out nicely. I've seen people skip steps and then wonder why yate complains about things like not being configured with a transceiver, hence I stress reviewing their guides before starting.

You can install the web interface for registering phones, or forego that and instead register phones by editing config files and using the telnet interface.

Note that the Yate folks have their own community forum and #yate channel on Freenode, should you want to chat, troubleshoot, and discuss there.

With all that said, I really don't know enough in the realm of telephony or the *BTS projects to offer a great deal of advice or assistance in troubleshooting, sorry.
I might just give YateBTS a try, actually, thanks for the info. I was just being stubborn about getting OpenBTS to work. I can compare both of them after I install it and let you know my thoughts.
That is great to hear! I look forward to your tutorial and I think some others do to...

Re: openBTS

Posted: Wed Feb 18, 2015 3:37 am
by jpvc
Here's the link for the tutorial I have written, sorry for it being in wordpress, but I have to keep a blog for this project: https://imjuanpablo.wordpress.com/2015/ ... r-bladerf/ Let me know if it works and where it fails for you so we can try to make it useful for as many people as possible.

JP

Re: openBTS

Posted: Wed Feb 18, 2015 7:23 am
by zane93
:D Very cool thanks a million! Ill go through it with a fresh install of 14.04 and let you know if I come across any issues.
jpvc wrote:Here's the link for the tutorial I have written, sorry for it being in wordpress, but I have to keep a blog for this project: https://imjuanpablo.wordpress.com/2015/ ... r-bladerf/ Let me know if it works and where it fails for you so we can try to make it useful for as many people as possible.

JP

Re: openBTS

Posted: Wed Feb 18, 2015 1:40 pm
by jynik
jpvc,

Nice work! Just to ensure credit is given where credit is due, I wanted to note that the bladeRF devs didn't write that wiki page -- community members have created that. Just didn't want the bladeRF team stealing credit for other folks' hard work! ;)

You can check the history of edits, but as noted in the beginning, mambrus created the write-up based upon discussions he had with rwr in the #bladeRF channel on Freenode.

Please do feel free to add a link to your blog post on the wiki, as it will make a great addition!

- Jon

Re: openBTS

Posted: Wed Feb 18, 2015 1:48 pm
by zane93
jpvc wrote:Here's the link for the tutorial I have written, sorry for it being in wordpress, but I have to keep a blog for this project: https://imjuanpablo.wordpress.com/2015/ ... r-bladerf/ Let me know if it works and where it fails for you so we can try to make it useful for as many people as possible.

JP
I have some edits to add to your WP I will post once I get through a full build.

I'm getting stuck here 3/4 of the way down. Make fails.

"Change to the subscriber registry directory and run the Makefile
../subscriberRegistry/
make"

Search yielded no results to get through this. Any ideas?

:/home/openbts_5/subscriberRegistry$ sudo make
make: *** No targets specified and no makefile found. Stop.

Re: openBTS

Posted: Thu Feb 19, 2015 10:50 am
by jpvc
zane93 wrote:
jpvc wrote:Here's the link for the tutorial I have written, sorry for it being in wordpress, but I have to keep a blog for this project: https://imjuanpablo.wordpress.com/2015/ ... r-bladerf/ Let me know if it works and where it fails for you so we can try to make it useful for as many people as possible.

JP
I have some edits to add to your WP I will post once I get through a full build.

I'm getting stuck here 3/4 of the way down. Make fails.

"Change to the subscriber registry directory and run the Makefile
../subscriberRegistry/
make"

Search yielded no results to get through this. Any ideas?

:/home/openbts_5/subscriberRegistry$ sudo make
make: *** No targets specified and no makefile found. Stop.
My bad! It should say
Change to the subscriber registry directory, build and run the Makefile

Code: Select all

cd ../subscriberRegistry/
./autogen.sh
./configure
make
I have modified the post.

Thanks for taking the time to try this out!

Re: openBTS

Posted: Thu Feb 19, 2015 11:09 am
by zane93
jpvc wrote:
zane93 wrote:
jpvc wrote:Here's the link for the tutorial I have written, sorry for it being in wordpress, but I have to keep a blog for this project: https://imjuanpablo.wordpress.com/2015/ ... r-bladerf/ Let me know if it works and where it fails for you so we can try to make it useful for as many people as possible.

JP
I have some edits to add to your WP I will post once I get through a full build.

I'm getting stuck here 3/4 of the way down. Make fails.

"Change to the subscriber registry directory and run the Makefile
../subscriberRegistry/
make"

Search yielded no results to get through this. Any ideas?

:/home/openbts_5/subscriberRegistry$ sudo make
make: *** No targets specified and no makefile found. Stop.
My bad! It should say
Change to the subscriber registry directory, build and run the Makefile

Code: Select all

cd ../subscriberRegistry/
./autogen.sh
./configure
make
I have modified the post.

Thanks for taking the time to try this out!
yep I was just about to post this:

So after a nights sleep I have gone back to review. Of course the error is correct there is no make file found in the subscriberRegistry dir.

So it looks like this has to be done first
sudo ./autogen.sh (this generates configure),
sudo ./configure (seems to run without error),
sudo make (seems to run without error)

Ill be posting a full list of edits/additions so jpvc can add it to his WP site.

Re: openBTS

Posted: Thu Feb 19, 2015 11:25 am
by jpvc
jynik wrote: I wanted to note that the bladeRF devs didn't write that wiki page -- community members have created that. Just didn't want the bladeRF team stealing credit for other folks' hard work! ;)

You can check the history of edits, but as noted in the beginning, mambrus created the write-up based upon discussions he had with rwr in the #bladeRF channel on Freenode.
Check! Updated the post with this info as well, thanks :)
jynik wrote: Please do feel free to add a link to your blog post on the wiki, as it will make a great addition!
Good idea. Should I just put the link in the home page under the How-to's ?

Re: openBTS

Posted: Thu Feb 19, 2015 1:23 pm
by zane93
jpvc wrote:Here's the link for the tutorial I have written, sorry for it being in wordpress, but I have to keep a blog for this project: https://imjuanpablo.wordpress.com/2015/ ... r-bladerf/ Let me know if it works and where it fails for you so we can try to make it useful for as many people as possible.

JP
Stating with a fresh install of Ubuntu 14.04 following the wordpress posted by jpvc.
I had some trouble installing libortp8 and uhd. I would suggest running the below prior to the first step or integrate it in somehow.

1) E: Unable to locate package libortp8

Code: Select all

sudo vim /etc/apt/sources.list
to the end, add:
deb http://us.archive.ubuntu.com/ubuntu precise main universe
sudo apt-get update
sudo apt-get install libortp8 libosip2-4
2) E: Unable to locate package uhd
http://code.ettus.com/redmine/ettus/pro ... /UHD_Linux

Code: Select all

sudo bash -c 'echo "deb http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list' sudo apt-get update sudo apt-get install -t `lsb_release -cs` uhd
3) continue on with post instructions from start of post....

4) Building OpenBTS apps missing "make" after "./configure --with-uhd"
Back in your OpenBTS_5 directory, copy the transceiver-bladerf file you just created into the openbts/apps directory and tell openbts to call it when it needs a transceiver

Code: Select all

cp ./yatebts/mbts/TransceiverRAD1/transceiver-bladerf openbts/apps/;
cd openbts/apps/;
ln -sf transceiver-bladerf transceiver
After this we are finally ready to build OpenBTS. Go bach to the openbts directory and run autogen.sh and after that configure with the uhd flag
./autogen.sh;
./configure --with-uhd
5) Missing dir for smq.cdr
sudo mkdir /var/lib/OpenBTS

Other than those couple of items the instructions where spot on. I will continue to test and post any other issues...

Re: openBTS

Posted: Thu Feb 19, 2015 3:24 pm
by zane93
Before I start shooting from the apt-get does anyone have any suggestions on getting asterisk installed and integrated with OpenBTS 5? Should I install it from RangeNetworks Git?

Re: openBTS

Posted: Thu Feb 19, 2015 5:47 pm
by jump
UHD package is to use the software with Ettus USRP software defined radios.
If you're going to use it with a bladeRF, this package shouldn't be needed.

Re: openBTS

Posted: Thu Feb 19, 2015 6:31 pm
by zane93
jump wrote:UHD package is to use the software with Ettus USRP software defined radios.
If you're going to use it with a bladeRF, this package shouldn't be needed.
Agreed, but when following the guide to auto install all dependence the below failed due to UHD not being able to install. It looks like UHD is referenced quite often in the script https://raw.githubusercontent.com/Range ... r/build.sh

Code: Select all

sudo apt-get install $(
wget -qO - https://raw.githubusercontent.com/RangeNetworks/dev/master/build.sh | \
grep installIfMissing | \
grep -v "{" | \
cut -f2 -d" ")

Re: openBTS

Posted: Fri Feb 20, 2015 7:28 am
by jynik
jpvc wrote:Good idea. Should I just put the link in the home page under the How-to's ?
Just added it under How-To's. Feel free to touch up the link or reference to your blog as you see fit! :)