In this blog post, we walk you through setting up a 2G base station using the USRP X310 and OpenBTS software. While alternatives like YateBTS exist, we focus on OpenBTS for clarity and stability. Please note all tests are conducted in a secure, license-exempt environment to ensure full legal compliance.
[INSERT HERO PHOTO HERE: USRP X310 on a desk with OpenBTS running on the PC screen and a mobile phone displaying the “Welcome to SDRstore Network” SMS message. Alt text: "USRP X310 running OpenBTS with phone receiving welcome SMS"]
Begin by cloning the OpenBTS repository from GitHub:
git clone https://github.com/PentHertz/OpenBTS
cd OpenBTS
# Optionally checkout the stable 5.1.0 branch
git checkout 5.1.0
Run the preinstall script. Note that libcoredumper errors may appear but can be safely bypassed:
./preinstall.sh
Afterward, proceed with building and installing OpenBTS:
./autogen.sh
./configure --with-uhd
make -j$(nproc)
sudo make install
sudo ldconfig
Before launching OpenBTS, load the firmware and FPGA image using the UHD probe tool:
uhd_usrp_probe
This will output information confirming the device and firmware loading:
[INFO] [UHD] linux; GNU C++ version ...
[INFO] [X310] Loading firmware image...
[INFO] [X310] Detected Device: USRP X310
[INFO] [X310] Loading FPGA image...
...
Start the required services in the background and then launch OpenBTS:
sudo smqueue &
sudo sipauthserve &
<p><b title="X310" class="wysiwyg-block-loader cm-block-loader cm-block-loader--jVnmCBkFqAE=" ></b></p>sudo /OpenBTS/OpenBTS
After OpenBTS is running, check the current configuration:
config
To set the base station name to whatever you like, we will set it to SDRstore. Run:
config GSM.identity.ShortName SDRstore
We recommend restarting OpenBTS to apply changes:
restart
sudo /OpenBTS/OpenBTS
On your phone, go to Settings > Mobile Networks and uncheck “Connect automatically.” The network “00101” should appear. Select it to connect. The phone may initially show “00101” because it hasn’t yet read the ShortName. Once connected, you will receive an SMS displaying your IMSI number.
[INSERT PHONE CONNECTION PHOTO HERE: Phone showing network “00101” and SMS with IMSI confirmation. Alt text: "Mobile phone connected to SDRstore Network with IMSI SMS"]
sudo tail -f /var/log/OpenBTS.log to monitor logs for troubleshootingWe offer the USRP X310 at the best possible price with guaranteed quality. Shipping is handled by premium carriers such as DHL and FedEx to ensure safe and timely delivery worldwide.
No posts found
Write a review© 2023 - 2025 SDRstore.