GSM-Basestation: Difference between revisions

From Irregularpedia
Jump to navigation Jump to search
syntax
Tag: 2017 source edit
bullets fixed
Tag: 2017 source edit
 
Line 13: Line 13:
* Computer or Raspberry Pi running [[dragonos#Install%20DragonOS|DragonOS]]
* Computer or Raspberry Pi running [[dragonos#Install%20DragonOS|DragonOS]]
* Software Defined Radio (SDR)
* Software Defined Radio (SDR)
  * [[phone-for-basestation|Compatible Phone]]
** [[phone-for-basestation|Compatible Phone]]
  * [[GSM-Basestation.md#compatible-sdrr|Compatible SDR]]
** [[GSM-Basestation.md#compatible-sdrr|Compatible SDR]]


== Cemaxecuter Guide ==
== Cemaxecuter Guide ==
Line 22: Line 22:
== Set Up Base Station Calling ==
== Set Up Base Station Calling ==
# Plug in the SDR.
# Plug in the SDR.
  * Connect SDR to the computer.
** Connect SDR to the computer.
  * Perform [[radio-checks.md|Radio Checks]].
** Perform [[radio-checks.md|Radio Checks]].
<pre>lsusb
<pre>lsusb
ifconfig</pre>
ifconfig</pre>
# Configure the network connection for IPv4.
# Configure the network connection for IPv4.
  * Create a new interface netmask graphically or via CLI:
** Create a new interface netmask graphically or via CLI:
<pre>Interface#
<pre>Interface#
IPV4
IPV4
Line 38: Line 38:
sudo nano config.json
sudo nano config.json
sudo main_uhd.py -u --sip</pre>
sudo main_uhd.py -u --sip</pre>
    * `-u` enables interactive mode.
** `-u` enables interactive mode.
    * `--sip` enables Asterisk support.
** `--sip` enables Asterisk support.
# Run the following in another terminal:
# Run the following in another terminal:
<pre>/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg</pre>
<pre>/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg</pre>
Line 45: Line 45:
== Set Up Base Station OpenBTS ==
== Set Up Base Station OpenBTS ==
# Plug in the SDR.
# Plug in the SDR.
  * Confirm the interface name:
** Confirm the interface name:
<pre>lsusb
<pre>lsusb
ifconfig</pre>
ifconfig</pre>
# Configure the network connection for IPv4.
# Configure the network connection for IPv4.
  * Create a new interface netmask:
** Create a new interface netmask:
<pre>Interface#
<pre>Interface#
IPV4
IPV4

Latest revision as of 18:14, 3 December 2024

Setting Up a GSM Base Station

Quickly create a GSM network that can support calls and SMS. Previously covered on this RTL-SDR Post.

Requirements

Software

Hardware

Cemaxecuter Guide

<iframe width="560" height="315" src="https://www.youtube.com/embed/6EnASi9MvSI?si=Oh7POmnmVHGAewSs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> Watch on YouTube.

Set Up Base Station Calling

  1. Plug in the SDR.
lsusb
ifconfig
  1. Configure the network connection for IPv4.
    • Create a new interface netmask graphically or via CLI:
Interface#
IPV4
192.168.1.20/24
  1. Confirm the setup using:
uhd_find_devices
   Ensure the device is listed.
  1. Update the configuration:
cd /usr/src/osmo-nitb-scripts
sudo nano config.json
sudo main_uhd.py -u --sip
    • `-u` enables interactive mode.
    • `--sip` enables Asterisk support.
  1. Run the following in another terminal:
/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg

Set Up Base Station OpenBTS

  1. Plug in the SDR.
    • Confirm the interface name:
lsusb
ifconfig
  1. Configure the network connection for IPv4.
    • Create a new interface netmask:
Interface#
IPV4
192.168.1.20/24
  1. Navigate to the OpenBTS directory:
cd /usr/src/OpenBTS/
  1. Register the SIM:
sudo /usr/src/OpenBTS/OpenBTS
   Connection should be quick.

Details

Compatible Phones

For this to work, the mobile device needs to have a Calypso baseband chip.

Compatible SDR

See the software-defined-radio comparison table.

    • Requirements:**
  • Full-duplex SDR
  • Covers frequency ranges: **850 MHz and 1900 MHz**
  • Compatible with the software

YateBTS works with:

srsRan supports:

Osmo-nitb works with: