ptrkrysik / gr-gsm

Gnuradio blocks and tools for receiving GSM transmissions
Other
1.33k stars 429 forks source link

Gr-gsm failures =( #598

Open jackattack21 opened 2 years ago

jackattack21 commented 2 years ago

Hey all - I have been having some issues getting things going. I've worked through a number of the different repos that reference different dependencies and such, but many were throwing errors (unbuntu 20.04 mostly). I couldn't for the life of me figure out what it was.

Anyways, I now have a system running on a raspberry pi 4, and gr-gsm is running well with no errors.

Still when I run grgsm_scanner I get no output, just 00000000

however when I run kal -s GSM850 I am able to identify nearby BTS's their relative frequencies. 849.6 seems to be the highest power.

With that, I then try: grgsm_livemon -f 849.6 -g 40

and I again just see 0000000000000000000000000000000000000000

My spectrum chart does show peaks at the GSM freqs, but I am not identifying any packets.

Any ideas!??

velichkov commented 2 years ago

Hi @jackattack21,

Still when I run grgsm_scanner I get no output, just 00000000

These are not zeros 0 but a capital O characters and indicates Overflows

Any ideas!??

Most probably the RPi4 is not powerful enough to run grgsm_scanner with the default 2e6 sample rate and grgsm_livemon with the GUI.

jackattack21 commented 2 years ago

Interesting. Thanks for the insight. Do you think I can lower the sample rate and be ok? There's a number of users who have success with the rpi4 - this was the post I followed: https://github.com/gordonwelchman/rpi_imsi_catcher

i also saw a similar issue with my Ubuntu install. All O's and that was on a dell xps developer edition

jackattack21 commented 2 years ago

Bumping this in desperation =(

velichkov commented 2 years ago

Do you think I can lower the sample rate and be ok?

Yes, you can try different values.

There's a number of users who have success with the rpi4 - this was the post I followed: https://github.com/gordonwelchman/rpi_imsi_catcher

Better ask them how to properly install, configure and optimize gr-gsm for rpi4. Also read older discussions here in the github issues or in the mailing list, for sure there were few threads about rpi.

i also saw a similar issue with my Ubuntu install. All O's and that was on a dell xps developer edition

That's strange! There was something wrong with your installation.

jackattack21 commented 2 years ago

I cant for the life of me get this thing to work - multiple distros, multiple tutorials, multiple SDRs, same story.

example attached... ugh

graph terminals wireshark
jackattack21 commented 2 years ago

Same issue when I run a more powerful system that can handle greater sample rate also.

jackattack21 commented 2 years ago

Any ideas given the new info?

velichkov commented 2 years ago

I cant for the life of me get this thing to work - multiple distros, multiple tutorials, multiple SDRs, same story. Same issue when I run a more powerful system that can handle greater sample rate also. Any ideas given the new info?

Do you have a suitable antenna attached to your SDR devices? In case you are inside of a big building try moving near a window or outside if possible. Have you tried different gain settings and why you did you choose -g 40?

Are you sure that there are GSM cells on these frequencies? kal is known to report false positives.

HackRF has a big DC offset that can negatively affect some of the gr-gsm's tools.