|Version 3 (modified by sylvain, 19 months ago) (diff)|
You must first prepare your system by installing the required development packages.
apt-get install build-essential libtool autoconf git-core pkg-config libfftw3-dev
If you want to capture samples off the air, you'll also need gnuradio and uhd. Installing those is outside the scope of this page, refer to the GNURadio / Ettus documentation.
Compiling the software
You obviously need to install our main utility library:
git clone git://git.osmocom.org/libosmocore cd libosmocore autoreconf -i -f ./configure make sudo make install cd ..
Then you need to install our new Software Defined Radio helper library:
git clone git://git.osmocom.org/libosmo-sdr cd libosmo-sdr autoreconf -i -f ./configure make sudo make install cd ..
And finally compile the main Osmocom GMR software stack:
git clone git://git.osmocom.org/osmo-gmr cd osmo-gmr autoreconf -i -f ./configure make cd ..
The current version of the capture tool is not integrated with the main autotool process yet and has to be built separately:
cd osmo-gmr/utils/gmr_multi_rx make TARGET=uhd cd ../../..
There are several possible targets depending on your hardware:
- uhd: For using any ettus hardware
- usrp: To use the libusrp drivers for the USRP1 hardware
- fcdp: To use the specific Fun Cube Dongle Pro drivers
The best way to see the packets is using wireshark. All the required patches are not in mainline yet since the GMR support is far from complete. So you'll need to build wireshark from sources, using the sylvain/gmr branch of our local wireshark git.
git clone git://git.osmocom.org/wireshark cd wireshark ./autogen.sh ./configure make sudo make install cd ..
Running the software
You need to capture samples off the air and of course "there's an app for that". For a first try the easier is to lookup a beam that match your geographic area by looking at ThurayaBeams? and the associated map.
Depending on the target hw you selected, options might vary. Example below is for the UHD version. You can lookup the available options using gmr_multi_rx -h .
This example will capture ARFCN 941 and 942 for 10 second using the 'B' side daughterboard and the RX2 input :
./gmr_multi_rx --gmr1-dl 941 942 -a RX2 -S B:0 -T 10
A few notes concerning multi ARFCN capture:
- All the ARFCN need to fit within the bandwidth of your device (so you can't get ARFCN1 and 1007 at once for example)
- It can be pretty CPU intensive depending on the # of ARFCNs and how much they're spaced.
- Launch wireshark and listen to the lo interface
- Make sure to use the custom version compiled above
- Also make sure you have the rights to capture on lo
- Run the gmr_rx compiled in the src/ directory on the generated files:
- gmr1_rx 4 /tmp/gmr1-dl-977-sps93600.cfile
- View packets in wireshark