Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnuradio 3.8 compatibility #74

Open
lipenasc opened this issue Oct 19, 2019 · 11 comments
Open

gnuradio 3.8 compatibility #74

lipenasc opened this issue Oct 19, 2019 · 11 comments
Labels

Comments

@lipenasc
Copy link

Recently gnuradio was updated to release 3.8.
Using @velichkov tips in [https://github.com/ptrkrysik/gr-gsm/issues/480] I think I fixed the troubles with gnuradio and gr-grsm packages compatibility, but when I try to run scan-and-livemon...

root@kali:~/SDR/IMSI-catcher# python scan-and-livemon
Locating potential GSM base station frequencies (this can take a few minutes).
Traceback (most recent call last):
File "scan-and-livemon", line 102, in
main()
File "scan-and-livemon", line 78, in main
list = find_gsm_bases()
File "scan-and-livemon", line 30, in find_gsm_bases
scanner = imp.load_source('scanner', grgsm_scanner_path)
File "/usr/local/bin/grgsm_scanner", line 24, in
from gnuradio import blocks
ImportError: No module named gnuradio

Using Kali in VMWare.
I think it's a matter of compatibility

@innerfire3
Copy link

I have the same problem... :(

@MrNonoss
Copy link

MrNonoss commented Dec 30, 2019

Hi guys,
Any news about it ?

@lipenasc
Copy link
Author

lipenasc commented Jan 3, 2020

Sorry, I've been a little busy in other projects...
Any news I have I'll let you know

@alphafox02
Copy link

Most likely you have just python3 / GNU Radio 3.8 installed. I have the same issue with this combination. Instead of python I type python3 before scan and livemon, but no idea if it actually works. I think maybe the IMSI catcher could use some updating or checking against the gnuradio 3.8 gr-gsm branch mentioned above.

@Oros42
Copy link
Owner

Oros42 commented Sep 8, 2020

I have found how to run python3 + GNU Radio 3.8 + simple_IMSI-catcher.py on LinuxMint 20 / Ubuntu 20.04 \o/
See this https://github.com/Oros42/IMSI-catcher#gr-gsm-for-ubuntu-2004
To setup gr-gsm :

sudo apt-get install -y \
    cmake \
    autoconf \
    libtool \
    pkg-config \
    build-essential \
    python-docutils \
    libcppunit-dev \
    swig \
    doxygen \
    liblog4cpp5-dev \
    gnuradio-dev \
    gr-osmosdr \
    libosmocore-dev \
    liborc-0.4-dev

git clone -b maint-3.8 https://github.com/velichkov/gr-gsm.git
cd gr-gsm
mkdir build
cd build
cmake ..
make -j 4
sudo make install
sudo ldconfig
echo 'export PYTHONPATH=/usr/local/lib/python3/dist-packages/:$PYTHONPATH' >> ~/.bashrc

@microwaven
Copy link

The README.md files states that for gnuradio 3.7, we shall use https://git.osmocom.org/gr-gsm but that requires Gnuradio 3.8 since May.

Both https://github.com/velichkov/gr-gsm.git and https://git.osmocom.org/gr-gsm/ seem to require Gnuradio 3.8. Interestingly, Vasil has spent an effort into https://git.osmocom.org/gr-gsm/ recently but not into https://github.com/velichkov/gr-gsm . Which one to use?

Somewhat difficult to build for Debian Buster these days that uses 3.7.

@Oros42
Copy link
Owner

Oros42 commented Aug 18, 2021

aaaah...
I'm not the author of gr-gsm. So I don't know :-/
Have you ty :

sudo apt install gr-gsm

or

sudo add-apt-repository -y ppa:ptrkrysik/gr-gsm
sudo apt update
sudo apt install gr-gsm

@PARAMJAI
Copy link

I have found how to run python3 + GNU Radio 3.8 + simple_IMSI-catcher.py on LinuxMint 20 / Ubuntu 20.04 \o/ See this https://github.com/Oros42/IMSI-catcher#gr-gsm-for-ubuntu-2004 To setup gr-gsm :

sudo apt-get install -y \
    cmake \
    autoconf \
    libtool \
    pkg-config \
    build-essential \
    python-docutils \
    libcppunit-dev \
    swig \
    doxygen \
    liblog4cpp5-dev \
    gnuradio-dev \
    gr-osmosdr \
    libosmocore-dev \
    liborc-0.4-dev

git clone -b maint-3.8 https://github.com/velichkov/gr-gsm.git
cd gr-gsm
mkdir build
cd build
cmake ..
make -j 4
sudo make install
sudo ldconfig
echo 'export PYTHONPATH=/usr/local/lib/python3/dist-packages/:$PYTHONPATH' >> ~/.bashrc

@PARAMJAI
Copy link

I am having this error message on this "-- Configuring incomplete, errors occurred!"
orso attach1

@InfinityJammyyy
Copy link

Instead of compiling gr-gsm from Github there are packages on Debian (https://packages.debian.org/bookworm/gr-gsm) and on Arch Linux through the AUR (https://aur.archlinux.org/packages/gr-gsm-git) that seem to work.

The compilation error seems to be an incompatibility thing between gr-gsm and the newer versions of gnuradio

PS I have only tested this "fix" on Manjaro and it seems to work just fine, I have not tested this fix on Debian.

@alphafox02
Copy link

If you’re trying to compile gr-gsm for the latest gnuradio 3.10.. use the PR labeled 3.10-3.11 support to do so. The PR still not been pulled into main, so if you’re using main and trying to compile on recent distributions it’s almost guaranteed to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants