forked from SiowCY/limesdr-uhd-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-guideline.txt
74 lines (67 loc) · 2.4 KB
/
install-guideline.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
sudo su -
wget https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz
tar -zxvf cmake-3.8.2-Linux-x86_64.tar.gz
mv cmake-3.8.2-Linux-x86_64 cmake
mv cmake /opt/cmake
ln -s /opt/cmake/bin/* /usr/local/bin
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update
sudo apt-get install git python-pip python-dev
pip install git+https://github.com/gnuradio/pybombs.git
pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
pybombs prefix init /usr/local -a myprefix -R gnuradio-default
pybombs install gqrx gr-osmosdr uhd
sudo apt-get install g++ libsqlite3-dev libsoapysdr-dev libi2c-dev libusb-1.0-0-dev libwxgtk3.0-dev freeglut3-dev
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir && cd builddir
cmake ../
make -j4
sudo make install
ldconfig
git clone https://github.com/EttusResearch/uhd.git
cd uhd/host/lib/usrp
git clone https://github.com/jocover/OpenUSRP.git
echo "INCLUDE_SUBDIRECTORY(OpenUSRP)">>CMakeLists.txt
cd OpenUSRP
nano limesdr_io_impl.cpp
## Comment line 691 to 697
## Comment line 699 to 700
cd ../../../
mkdir build && cd build
cmake ..
make -j4
sudo make install
sudo ldconfig
echo 'export UHD_MODULE_PATH=/usr/lib/uhd/modules' >> ~/.bashrc
source ~/.bashrc
grgsm_scanner -v
pybombs install gr-gsm
ldconfig
git clone https://github.com/ksnieck/airprobe.git
git clone https://github.com/scateu/airprobe-3.7-hackrf-patch.git
apt-get install git-core autoconf automake libtool g++ python-dev swig libpcap0.8-dev uhd-host libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy wireshark
cd airprobe-3.7-hackrf-patch/
cp * ../airprobe
cd ../airprobe
patch -p1 < zmiana.patch
cd gsm-receiver/
./bootstrap
./configure
make
make install
cd src/python/
python gsm_receive_rtl.py -f 935.8M
grgsm_livemon -f 935.8M
grgsm_scanner -v
airpobe_rtlsdr_capture.py -f 950200000 -s 1000000 -g 40 -c capture.cfile -T 60 ==> First Tab
wireshark -k -Y '!icmp && gsmtap' -i lo ==> Second Tab
grgsm_decode -f 950200000 -s 1e6 -c capture.cfile -m BCCH -t 0
grgsm_decode -f 950200000 -s 1e6 -c capture.cfile -m SDCCH8 -t 1
git clone https://github.com/Oros42/IMSI-catcher.git
apt-get install python-numpy python-scipy python-scapy
cd IMSI-catcher
python simple_IMSI-catcher.py ==> First Tab
airprobe_rtlsdr.py -f 935.2M -g 40 -s 1e6 ==> Second Tab (tune the frequency)
## GLHF ##