Install Osmocom on your system:

Use Osmocom to analyze a GSM network:

osmocom -h

osmocom -a <interface> -f <filter>

Here's a step-by-step guide to using Osmocom: