NB Cell Network: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
m (Reverted edits by 69.228.208.28 (Talk); changed back to last version by Jlapenna)
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Overview==
==Overview==


Jake wants to set up an internal 900mhz GSM cell network both on the Siemens BS-11 basestation transceiver and on his gnuradio USRP card using open source software. We'd have two lab basestations to play with and to learn cell telephony with. Some have expressed interest in data applications, and the possibilities seem pretty endless, barring regulatory problems.  
What if someone wanted to set up a cell network with a Siemens BS-11 base station transceiver and a gnuradio USRP card using open source software? You'd have two lab basestations to play with and to learn cell telephony with. Some have expressed interest in data applications, and the possibilities seem pretty endless, barring regulatory problems. Someone raised the possibility (sorry I forgot your name) of using RF blocking fabric to create a Faraday cage so you could test the base station without causing disruption.


==Progress==
==Build process==
OpenBTS software requirements:
* apt-get install -y libboost-dev python python2.5-dev libfftw3-dev swig sdcc-nf libusb-dev guile-1.8-dev libcppunit-dev libosip2-dev libortp7-dev asterisk
* gnuradio: http://gnuradio.org/trac/wiki/Download
** wget ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.1.3.tar.gz
** tar -xvzf gnuradio-3.1.3.tar.gz
** ./configure --enable-usrp
** make -j3
** sudo make install
* OpenBTS:
** ./configure
** make -j3
** sudo make install


Jake hopes to obtain a license or some FCC permission to operate the transceiver. For outgoing calls we can use the same VOIP account being used for the pay phone.
If you hit an "abort is not defined within this scope" or similar error, add a stdlib.h include to the offending source (such as RegExp.h):
diff -u CommonLibs/Regexp.h-orig CommonLibs/Regexp.h
--- CommonLibs/Regexp.h-orig    2009-03-12 23:55:50.000000000 -0700
+++ CommonLibs/Regexp.h 2009-03-12 23:56:06.000000000 -0700
@@ -28,6 +28,7 @@
 
  #include <regex.h>
  #include <iostream>
+#include <stdlib.h>


From what I understand, infrastructure-wise to realize Jake's plan we need:
Given FCC permission, we could operate the transceiver. For outgoing calls we can use the same VOIP account being used for the pay phone.
 
From what I understand, infrastructure-wise do that you'd need:


* A first linux box running the openBCS software
* A first linux box running the openBCS software
-- this box needs an E1 card and a free PCI slot for it
-- this box needs an E1 card and a free PCI slot for it (money has been collected from generous volunteers for the E1 card)


* A second linux box running openBTS/asterisk  
* A second linux box running openBTS/asterisk  
-- this box needs one or two RFX900 (900mhz) tranceiver daughterboards for the USRP card and needs a free pci slot
-- this box needs one or two RFX900 (900mhz) tranceiver daughterboards for the USRP card
 
On the other hand, it may be possible to consolidate the OpenBTS and OpenBSC software on one box... maybe more will be revealed at the OpenBTS/GSM talk on Thursday. I just realized USRP is either USB or ethernet based (Depending on version) so we only need one PCI slot.


Since we need outgoing voip for a variety of apps I wonder if we can isolate the asterisk service once things are stable so it can be shared by the pay phone, etc. But, that is speculation at this point.
Since we need outgoing voip for a variety of apps I wonder if we can isolate the asterisk service once things are stable so it can be shared by the pay phone, etc. But, that is speculation at this point.
Line 25: Line 49:
There is an ubuntu 8.10 i386 install disk in the library area in a pile of CDs. As for displays, the apple display has ADC, so a converter will be needed. The projectors probably have VGA, but we may be out of luck on DVI unless someone has an adapter, or wants to try to bring up a serial console of of a linux install disc.
There is an ubuntu 8.10 i386 install disk in the library area in a pile of CDs. As for displays, the apple display has ADC, so a converter will be needed. The projectors probably have VGA, but we may be out of luck on DVI unless someone has an adapter, or wants to try to bring up a serial console of of a linux install disc.


I may have an extra atom based mini-itx box to donate, if I can find all the bits and pieces. (obscurite)
==Links==
 
* GnuRadio: [http://gnuradio.org/trac/wiki]
* OpenBSC: [http://bs11-abis.gnumonks.org/trac/wiki/OpenBSC]
* OpenBTS: [http://www.gnuradio.org/trac/wiki/OpenBTS]
* USRP brochure: [http://www.ettus.com/downloads/er_broch_trifold_v5b.pdf]
* Ettus (source for USRP and daughterboards): [http://www.ettus.com]
* ASUS KV8-MAX3 page: [http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NAME=KV8-MAX3&fMTYPE=Socket+754]


== Participants ==
[[Category:Cellular]]
* [[User:Ioerror|Jacob]]
* [[User:obscurite|Obscurite]]

Revision as of 21:44, 13 September 2009

Overview

What if someone wanted to set up a cell network with a Siemens BS-11 base station transceiver and a gnuradio USRP card using open source software? You'd have two lab basestations to play with and to learn cell telephony with. Some have expressed interest in data applications, and the possibilities seem pretty endless, barring regulatory problems. Someone raised the possibility (sorry I forgot your name) of using RF blocking fabric to create a Faraday cage so you could test the base station without causing disruption.

Build process

OpenBTS software requirements:

If you hit an "abort is not defined within this scope" or similar error, add a stdlib.h include to the offending source (such as RegExp.h):

diff -u CommonLibs/Regexp.h-orig CommonLibs/Regexp.h
--- CommonLibs/Regexp.h-orig    2009-03-12 23:55:50.000000000 -0700
+++ CommonLibs/Regexp.h 2009-03-12 23:56:06.000000000 -0700
@@ -28,6 +28,7 @@
 
 #include <regex.h>
 #include <iostream>
+#include <stdlib.h>

Given FCC permission, we could operate the transceiver. For outgoing calls we can use the same VOIP account being used for the pay phone.

From what I understand, infrastructure-wise do that you'd need:

  • A first linux box running the openBCS software

-- this box needs an E1 card and a free PCI slot for it (money has been collected from generous volunteers for the E1 card)

  • A second linux box running openBTS/asterisk

-- this box needs one or two RFX900 (900mhz) tranceiver daughterboards for the USRP card

On the other hand, it may be possible to consolidate the OpenBTS and OpenBSC software on one box... maybe more will be revealed at the OpenBTS/GSM talk on Thursday. I just realized USRP is either USB or ethernet based (Depending on version) so we only need one PCI slot.

Since we need outgoing voip for a variety of apps I wonder if we can isolate the asterisk service once things are stable so it can be shared by the pay phone, etc. But, that is speculation at this point.

There are three barebones computers laying around the kitchen area.

  • The black case has an ASUS kv8-max3 motherboard and an AMD-64 cpu, a PSU and cdrom, network, no ram (supports up to 400mhz ddr), no HD
  • the beige case has an old-ass motherboard that looks damaged, a 2gig HD, and aside from having a cool slidey MB tray mechanism appears useless
  • the smaller media case has a newer micro-itx motherbard with a cpu, ram, integrated VGA and ethernet, and some kind of funky power supply (maybe a picoPSU) and looks like the best candidate to be up and running quickly
  • there is a small black 3.5" bay PSU that might be usable in the media PC case mentioned above

There is an ubuntu 8.10 i386 install disk in the library area in a pile of CDs. As for displays, the apple display has ADC, so a converter will be needed. The projectors probably have VGA, but we may be out of luck on DVI unless someone has an adapter, or wants to try to bring up a serial console of of a linux install disc.

Links

  • GnuRadio: [1]
  • OpenBSC: [2]
  • OpenBTS: [3]
  • USRP brochure: [4]
  • Ettus (source for USRP and daughterboards): [5]
  • ASUS KV8-MAX3 page: [6]