Jump to content

help with analyzing GSM


Recommended Posts

After reinstall gnuradio it still returns the same error:

root@kali:/airprobe/gsm-receiver/src/python# ./go.sh capture_941.8M_112.cfile
Traceback (most recent call last):
  File "./gsm_receive.py", line 12, in <module>
    import gsm
  File "../lib/gsm.py", line 26, in <module>
    _gsm = swig_import_helper()
  File "../lib/gsm.py", line 18, in swig_import_helper
    import _gsm
ImportError: No module named _gsm

Link to comment
Share on other sites

The only gsm.py file I can find referenced online is this github entry which suggests it's a part of something called python-smpplib. Perhaps you can see if something like that has been installed on your system and if so you either can upgrade or reinstall it in the hope that might fix things.

Edited by Cooper
Link to comment
Share on other sites

ok failing that :

apt-get update

apt-get --reinstall install gnuradio-dev cmake git libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy

I did have the same error as you? all i did was reinstall some packages and i got it working, can't remember which package exactly maybe it was the gnuradio-dev not the gnuradio?

Link to comment
Share on other sites

What was the kali source that you used? - live dvd or vm, I worked from the vm-image download. If that makes any difference???

Edited by midnitesnake
Link to comment
Share on other sites

  • 2 months later...

Alas, I'm getting the same thing after following the tutorial. Did anyone get a fix for this? I do see that the directory structure on my kali is different. In the demo the libosmocore directory contains the airprobe directory but on my system both sub-directories oare in the /root directory. I've no idea if this is making a difference though.

Anyone help?

Link to comment
Share on other sites

  • 1 month later...

hi
i also got this problem


root@kali:/airprobe/gsm-receiver/src/python# ./go.sh capture_941.8M_112.cfile
Traceback (most recent call last):
File "./gsm_receive.py", line 12, in <module>
import gsm
File "../lib/gsm.py", line 26, in <module>
_gsm = swig_import_helper()
File "../lib/gsm.py", line 18, in swig_import_helper
import _gsm
ImportError: No module named _gsm

anyone got a solution yet ?
Or do i just need to start over
And does it only work with older Kali or also with the new 1.0.9 ?

Thanks in advance

Link to comment
Share on other sites

  • 2 weeks later...

i got this fixed now!

i was working an a kali 1.09a and there was even no gnuradio or rtl packages in this distro :s don't know why

but afterwards i tried it with a kali 1.0.6 and came up with the same problem of no module gsm

then did apt-get install gnuradio gnuradio-dev cmake git libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy

and did rerun ./bootstrap on gsm-receiver and now it's all working :)

Love this :)

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...

Tried reinstall and building all the dependancies, but still the following error is received :

Traceback (most recent call last):
File "./gsm_receive.py", line 12, in <module>
import gsm
File "../lib/gsm.py", line 26, in <module>
_gsm = swig_import_helper()
File "../lib/gsm.py", line 18, in swig_import_helper
import _gsm
ImportError: ../lib/.libs/_gsm.so: undefined symbol: _ZTI8gr_block

Please help !

Link to comment
Share on other sites

Dude, please don't post the exact same issue to other topics.

In fact, you should've made your own topic for your issue as opposed to hijacking a pre-existing topic, but we all have to learn sometime...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...