GSM B0x Installation
Installation, Software ·This page provides step-by-step instructions for installing your GSM B0x, including hardware requirements, software dependencies, and configuration settings.
Prerequisites
This is a simplified guide for experimental purposes. Building a full-fledged, production-ready GSM network involves more complex configurations and legal considerations.
Hardware
To ensure clarity and organization, detailed hardware specifications and recommendations have been moved to a dedicated hardware page.
This allows for a more in-depth exploration of the necessary components, including SDRs, antennas, and computing resources, without cluttering the main project description.
Visit the hardware page to delve into the specifics of building your own GSM network.
Software
For a more detailed look at the software involved in this project, check out the dedicated software page.
Install GSM B0x
To get your GSM network up and running, you have two convenient installation options. \
First, you can use my pre-configured system image, which comes with all the necessary software and settings pre-installed for a hassle-free setup. \
Alternatively, if you prefer a more hands-on approach, you can install the operating system yourself and then utilize my provided installation scripts to automate the software installation and configuration process. \
This offers flexibility for those who want more control over their system environment.
Option 1 - RPI Custom Image
Option 2 - Manually Install
git clone https://github.com/TelcoSec/GSM-NiaB.git
chmod 777 install.sh
sudo ./install.sh
APN Config
sudo su
root@2g-b0x:~# nano /root/.bashrc
Add to the end of file:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Console Access
- telnet 127.0.0.1 4264 - CBC
- telnet 127.0.0.1 4258 - HLR
- telnet 127.0.0.1 4242 - BSC
- telnet 127.0.0.1 4241 - BTS
- telnet 127.0.0.1 4237 - OsmoTRX
- telnet 127.0.0.1 4254 - OsmoMSC
Test Your Network
Use a compatible GSM phone or device to search for available networks.
Connect to your newly created network.
Attempt to make a call or send an SMS message.
Troubleshooting
No network found: Double-check your SDR configuration, antenna connection, and frequency settings. Call fails: Verify your FreeRADIUS configuration and user accounts. Poor signal quality: Adjust the SDR’s gain and antenna placement.