Giter VIP home page Giter VIP logo

portablecellnetwork's Introduction

Portable Cell Network

To deploy your own portable cell network you can:

Compile From Source Utilizing The Install Script

  1. Fetch and configure the install script from this repository

    wget https://raw.githubusercontent.com/MBRO95/PortableCellNetwork/master/PortableCellNetwork.sh #Download script
    chmod +x ./PortableCellNetwork.sh #Add execute functionality
  2. Run script

    sudo ./PortableCellNetwork.sh
  3. The script will walk you through customizing the cell network name and then kick off

  4. After the packages are installed and configured for the BladeRF, the script will detect if the device is present and, if not, it will pause and ask you to connect the BladeRF to the Raspberry Pi. Once connected, press any key to continue and the script will continue until installation is complete.

  5. Reboot the Pi

    sudo reboot now
  6. Run the 'StartYateBTS.sh' script located in the home directory

    sudo ./StartYateBTS.sh -i #It's important to keep the '-i' flag so the script runs interactively

Current Installation Time: Tue 21 Mar 13:15:08 UTC 2017 > Tue 21 Mar 14:16:37 UTC 2017 = ~61 Minutes

Flash A Pre-built Image To An SD Card

Additionally, you can skip compiling above by downloading an SD card image file below and flashing to your SD card:

For More Details, View The Documentation Here.

Deploy the network after script install or image flash

View Deployment Video Here

portablecellnetwork's People

Contributors

bbharlow avatar mbro95 avatar titokhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

portablecellnetwork's Issues

Which version of BladeRF firmware are you used?

Thanks your nice project.
when i use it with bladerf ver.1.9 or 2.0 firmware ,Signal interruption and restart.
maybe BladeRF Firmware version problem?or bladeRF Temperature is too high?

Compatible with RTL SDR?

Hello.
I have an SDR Reciever and use the Raspberrys GPIO as Transmitter.

Is that somehow compatible? I cant pay that much money for that Transciever.

RPi Version?

I tried running the script on my fresh RPi install (RPi 3) and parts of it failed. Raspbian Stretch version. What Raspbian version was this project based on? Assuming Raspbian Jessie, correct? Currently I'm downloading an image of Jessie to give that go.

Can't wait to start playing with my BladeRF x40. I'm a licensed ham radio guy so there are a world of possibilities :)

linux prebuilt for pc

hello i'm locking for prebuilt iso image (ubuntu or debian) or any image that i can run it in virtualbox or vmware
because i don't have a raspberry pi

Help

I need to know what would be the cheapest SDR that works with the pi and this project.
I also want to know if there aren't any ways to use brand cards to emulate roaming or if I have to buy blank sim cards.
That's it.

bladerf x40 firmware loaded/reflashed raspberry/gprs anmd sms to eliza dont work they fail

Hi there sorry to bother you again but i'm trying hard to make this work i have read lots of documentation.

Indeed i didn't see about the specific firmware i thought newer one will do also I'm sorry for that I didn't see anywhere that it wont work with other firmwares except 1.9.1 ONLY , the guide just said download and install 1.9.1 firmware it didn't say it wont work with anything else but this. or at least i didn't see it.

the good news is that my phone has connected to the cell network bow but gprs and sms to eliza sms chat robot dont work.

I dont know if i should mess with the settings as this image is ready to go and has already set up all those right? in your video it appears you connect to gprs immediatelly after connecting to the network so my question is should i mess with the settings or I'm doing something wrong ?

I'm using it on a phone without sim card but i have allowed all callers (.*)
if i program and install sim will the sms and gprs work or its irrelevant ?

cheers and sorry for the lots of questions this is a great project and you have done a great job but as it seems in every forum anyone says whatever they want so i thought it would be better to ask here since you are the maker of this.

do i need to mess with any settings or ? cheers

viber_image_2020-08-14_20-42-58

Changing regexp value

Hey man,

Just messing around. Im trying to get your pi to register my handset without having to program SIM and all that. I started my own yateBTS locally on another machine and changed the regexp value to "" instead of "^0101" and it let my phone connect without SIM programming and i could accomplish the basic network in a box features as described by yates wiki. I went into the /usr/local/etc/yate/subscribers.conf file on the flashed image i downloaded from you guys and changed that regexp from what you set it to, to "". But when i fire up the pi, find the network, and attempt to register, i just get a timeout. Any ideas on anything i can change to accept the "*" with your version?

Thanks a lot, hope that makes sense.
KP

Build of sudo ./PortableCellNetwork.sh fails

Hi,
just tried to run the script on brand new Rasp Pi 3B+ - failes.
php5 no longer available, usb lib not available and other issues. Is a new version of the script in work? Or just altering a few things? YateBTS also throws warnings - I think the code basis changed. What version of BladeRF Firmware is recommended?

kind regards

Accepting any SIM

Does the system function with any SIM given the RegExp ".*" as described in the YateBTS documentation? If so, I cannot see a visible network? Are these distinct issues?

SIM Card Options?

I have everything in place, and am trying to use YateBTS to write to a couple blank SIM cards that I sourced. Apparently the SIM card make/manufacturer aren't compatible, so the process fails. Here is my YateBTS forum question I have, with the specifics detailed --> https://forum.yate.ro/index.php?topic=1937.msg6132#msg6132.

Out of curiosity, what specific type of SIM cards did you use for this project? I've Googled around and the Sysmocom sysmosim-gr1 and gr2's appear to be discontinued?

web dependency installs fail

apt-get install -y apache2 php5 libusb-1.0-0 libusb-1.0-0-dbg libusb-1.0-0-dev libgsm1 libgsm1-dev inside PortableCellNetwork.sh fails.

Worked for me:

  • download php manually since it was missing other dependencies,
    sudo apt-get install -y apache2 libusb-1.0-0-dev libusb-1.0-0-dev libusb-1.0-0-dev libgsm1 libgsm1-dev
    Change versions to Dev. I dont know if this will work down the road but it got the dependencies installed anyway.

Get Devices to connect without adding SIM to subscriber list

Hey,

Sorry to leave an issue but i really just have a question, couldn't find a way to email or message directly.

I just want to know if its possible to get the handset to register with this setup without the need to format the SIM with the reader and add it to the subscriber list. I can see the network in the list of access points but when i try to register with it, it wont let me, im assuming thats because of the SIM write/subscribe step, im trying to get around that. Just curious. Thanks a lot.

KP

FPGA version: Unknown (FPGA not loaded)

Hello Excellent day, I hope not inconvenience,

I'M doing the project https://mbro95.github.io/PortableCellNetwork/ With the Raspberri Pi3, Bladerf x40 and the zip image you have created.

I Have a problem in the Bladerf x40 not able to load the FPGA not to follow command or in which library I can access, I hope not to bother the message that appears to me is the following

FPGA version: Unknown (FPGA not loaded)

Thank You for your attentions

MBTS Problem - Not sure though

Hey guys,

I installed from your .img file, haven't tried the manual process yet. I'm running same specs as you but a 16GB card vs recommended 32GB. After running the install script i keep getting the below message that eventually moves on because of time out.

Release 5.0.1 formal build date Jun 10 2018 rev
Starting MBTS...
2018-06-10_20:09:10.075065 <bladerf/4:WARN> Failed to open USB device: USB reset failed - No device found [0x75301680]
2018-06-10_20:09:10.075846 gsmtrx:GOON Failed to create radio interface: failure
ALERT 1992683520 20:09:10.0 TRXManager.cpp:135:sendCommand: RESET failed with status 2
2018-06-10_20:09:10.076961 mbts:WARN TRXManager.cpp:135:sendCommand: RESET failed with status 2
ALERT 1992683520 20:09:10.0 OpenBTS.cpp:250:main: Failed to reset transceiver
2018-06-10_20:09:10.077371 mbts:WARN OpenBTS.cpp:250:main: Failed to reset transceiver

Thanks!

Paid for help

Hello, author. I encountered some problems in using your program again and could not find the network on my mobile phone. I hope you can help me and pay for it

bladerf x40 not working

IMG-2537eb329e8679c3b4053fed44f334d4-V

bladerf x40 isnt detected on raspberrypi it was flashed with newest firmware on windows any idea why?cheers
IMG-2537eb329e8679c3b4053fed44f334d4-V

Rase erre 4

Thé script don't work with raspberry 4 ?!

not work, busy network why?

Hello ,

I took the image: 4.13.2017 Build (Fixed on 8.8.2018) I have an rpi3 , bladerf x40. I receive the message of recognition imsi but when I make a call, it immediately rejects. I do not understand why.

Pre-built Image he's bad?
thanks

No signal issue

Hi ...
Everything went fine...
But I am unable to find network name ..
I used raspberry pi , bladerf

Raspi 3 B+

Images do not boot on this new hardware- do you have a fix?

how to change the gsm network name ???

got my raspberry pi 3 b today and waiting for bladerf to arrive in my mail so i can test this further, image works ok now by using pi 3b.

a question i would like to ask is how do we change the network name ? it appears that in some tutorials i have read provider name is always test and some random numbers doesn't this change from the webgui ?

if it doesn't is there any hack so i can change it ? cheers

Request assistance

Hello, author. I would like to ask for your assistance when I encounter some problems in the process of building. Could you please provide me with the contact information, such as email address, so that I can pay the labor cost.
image

LTE support

Is it possible to update this and include LTE support?

Which firmware is working with BladeRF X115?

I am using the latest firmware and FPGA but It seems not working. Could anyone help me, please?

The returned error:

Release 5.0.1 formal build date May 10 2019 rev
Starting MBTS...
2019-05-10_03:59:31.078105 <bladerf/10:WARN> Failed to open USB device: USB reset failed - No device found [0x75301838]
2019-05-10_03:59:31.078650 gsmtrx:GOON Failed to create radio interface: failure
ALERT 1995612160 03:59:31.0 TRXManager.cpp:135:sendCommand: RESET failed with status 2
2019-05-10_03:59:31.079821 mbts:WARN TRXManager.cpp:135:sendCommand: RESET failed with status 2
ALERT 1995612160 03:59:31.0 OpenBTS.cpp:250:main: Failed to reset transceiver
2019-05-10_03:59:31.080446 mbts:WARN OpenBTS.cpp:250:main: Failed to reset transceiver
2019-05-10_03:59:38.001983 ybts:GOON Restart index reached maximum value 10. Exiting ...
Yate engine is shutting down with code 125
Unloaded module Users Management
Unloading module Call Parking
2019-05-10_03:59:39.288221 Unloading 'gsmtrx' removed 0 out of 1 plugins
Unloading module Signalling Channel
Unloaded module Presence
Unloaded module Radius client
Unload module Registration from file
Unloaded module Monitoring
Unloading module Analog Channel
Unloading module MRCP
Unloading module SIP Features
Unloading module Late Router
Unloading module Queues
Unloading module YBTS
Unloading module CCongestion
Unloading module Heartbeat
Unloading module Queues Notify
Unloading module CallCounters
Unloading module Register for database
Unloading module Cache
Unloading module PBX for database
2019-05-10_03:59:39.292136 Unloading 'ysnmpagent' removed 0 out of 1 plugins
2019-05-10_03:59:39.292265 Unloading 'mgcpgw' removed 0 out of 1 plugins
Unloading module YRTP
Unloading module ToneGen
Unloading module FileInfo
Unloading module GSM with 0 codecs still in use
Unloading module ExtModule
Unloading module RManager
Unloading module YSTUN
Unloading module iSAC with 0 codecs still in use
Unloading module GVoice
2019-05-10_03:59:39.296839 Unloading 'yjinglechan' removed 0 out of 1 plugins
Unloading module YIAX
Unloading module PBX
Unloading module Call Forker
Unloading module iLBC with 0 codecs still in use
Unloading module Call Generator, clearing 0 calls
2019-05-10_03:59:39.298329 Unloading 'msgsniff' removed 0 out of 1 plugins
Unloading module CdrCombine
Unloading module CdrBuild
Unloading module DumbChannel
Unloading module MOH
Unloading module Analyzer
Unloading module Conference
Unloading module iLBC webrtc with 0 codecs still in use
2019-05-10_03:59:39.299338 Unloading 'ysipchan' removed 0 out of 1 plugins
2019-05-10_03:59:39.299412 Unloading 'tonedetect' removed 0 out of 1 plugins
Unloading module ZLib
2019-05-10_03:59:39.299611 Unloading 'ysockschan' removed 0 out of 1 plugins
Unloading module MUX
2019-05-10_03:59:39.299760 Unloading 'javascript' removed 0 out of 1 plugins
Unloading module CdrFile
Unloading module File Transfer
Unloading module Subscriptions
Unloading module Analog Detector
2019-05-10_03:59:39.300600 Unloading 'sigtransport' removed 0 out of 1 plugins
Unloading module Cpu
Unloading module Cisco SM
Unloading module Event Logs
Unloading module MGCP-GW
Unloading module MGCP-CA
Unloading module SIP Channel
Unloading module ToneDetector
2019-05-10_03:59:39.301509 Unloading 'mgcpca' removed 4 out of 1 plugins
Unloading module Clustering
Unloading module Jabber Server
Unloading module Jabber Server Features
Unloading module DummyRadio
Unloading module BladeRF
2019-05-10_03:59:39.302385 Exiting with 0 locked mutexes and 7 plugins loaded!
Yate (23101) is stopping Fri May 10 03:59:39 2019
Unloading module GSM Transceiver
Unloaded module SNMP Agent
Unloading module SigTransport
Unloading module Javascript
Unloading module YJingle
Unloading module YSOCKS
Supervisor: child 23101 exited with code 125
Supervisor (23096) exiting with code 125

Use with LimeSDR Mini

I've done my research and it seems as though the LimeSDR mini has equal and/or greater specs than the BladeRF. I would like to use a LimeSDR mini to make a portable cell network instead of the BladeRF because I'm cheap. Is this possible?

Hey

How can I route the yatebts connect to a real bts.....

the img files dont work and script generates some errors

Hi there x2 issues i would like to report first i tried recovering the sdcard images for the cell network (tried all x3 of them) on my raspberry 3 b+ but they cause rainbow screen and it wont power up.

I installed raspbian and the depedencies manually but i get a few errors

creating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/adc_core.c
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/adc_core.h
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/config.h
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/dac_core.c
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/dac_core.h
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/platform.c
inflating: bladeRF-master/thirdparty/analogdevicesinc/no-OS_local/platform_bladerf2_headless/platform.h
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
CMake Error at common/thirdparty/ad936x/CMakeLists.txt:140 (message):
Directory
/tmp/bladeRF-master/host/common/thirdparty/ad936x/../../../../thirdparty/analogdevicesinc/no-OS_local/../no-OS/ad9361/sw
was not found. It appears that this submodule has not been properly
initialized. Please run 'git submodule init' and 'git submodule update',
and then re-run cmake.

-- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") -- Looking for clock_gettime in c -- Looking for clock_gettime in c - found -- libad936x: Configuring build... -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- libad936x: Attempting to initialize missing submodule -- Found Git: /usr/bin/git (found version "2.20.1") -- Configuring incomplete, errors occurred! See also "/tmp/bladeRF-master/host/build/CMakeFiles/CMakeOutput.log". See also "/tmp/bladeRF-master/host/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
BladeRF Was Not Detected!
Please connect the BladeRF...then press any key to continue...

One question when edit MCC and MNC

Hi,

I want to use your project to do a penetration testing for a 2G device, so I need to monitor the traffic. For now, if I did not edit any configuration, I can detect the test base station which is perfect.

However, When I try to edit the MCC and MNC value to some specific values like MCC:460, MNC:01, My device cannot detect the base station.

Do you have any idea why?

Many thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.