Oros42 / IMSI-catcher

This program show you IMSI numbers of cellphones around you.
Creative Commons Zero v1.0 Universal
3.15k stars 717 forks source link

gnuradio 3.8 compatibility #74

Open lipenasc opened 4 years ago

lipenasc commented 4 years ago

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 commented 4 years ago

I have the same problem... :(

MrNonoss commented 4 years ago

Hi guys, Any news about it ?

lipenasc commented 4 years ago

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

alphafox02 commented 4 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 1 year ago

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 commented 1 year ago

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