Installation method of OSMOCOMBB in Kali

Source: Internet
Author: User

Reproduced, slightly modified to adapt to the Kali system

OSMOCOMBB is an open source implementation of the GSM protocol stack (protocols stack), full name is open source mobile communication baseband. The goal is to achieve the three-tier implementation of the mobile phone from the physical layer (layer1) to the Layer3. But for now, the real physical layer (physical layer) does not have a real open source implementation, and for the time being, no implementation plan is seen. Only the physical layer controls. Because the real physical layer is running on the DSP core of baseband processor, it involves the implementation of many signal processing algorithms, but also involves a lot of hardware rf things.

Second, install the required packages to compile the OSMOCOMBB:

$ aptitude Install Libtool Shtool autoconf git-core pkg-config make GCC

Third, download the required gnuarm toolchain

Based on x86 architecture

$ wget http://gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2

Baidu Network Disk

$ tar XF bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2 $ mv gnuarm-* ~/gnuarm

Based on 64-bit architecture

Baidu Network Disk

$ tar XF bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2$ mv gnuarm-* ~/gnuarm

In this way, we have completed the construction of the cross-compilation environment for OSMOCOMBB, and the rest is the most critical setting environment variable

$ export Path=~/gnuarm/bin: $PATH

The suggestion is to directly edit the contents of the ~/.BASHRC, add the above paragraph directly to the last.

Iv. Compiling Libosmocore:

Here Kali will prompt

Configure:error:Package requirements (Libpcsclite) were not met:

No package ' libpcsclite ' found

You need to install Libpcsclite, you can look under, and then press

Apt-cache Search Libpcsclite

Apt-get Install Libpcsclite-dev

$ git clone git://git.osmocom.org/libosmocore.git $ cd libosmocore/   $ autoreconf-i   $./configure   $ make   $ make install   $ cd   . $ ldconfig

The Ldconfig command must not forget to execute, otherwise OSMOCOMBB will not find libosmocore.so.4 error when running after compiling.

Five, compile OSMOCOMBB:

$ git clone git://git.osmocom.org/osmocom-bb.git $ cd osmocom-bb $ git pull--rebase $ cd src $ make

Basically all the compile operations have been completed! Enjoy your toys!

Installation method of OSMOCOMBB in Kali

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.