Giter VIP home page Giter VIP logo

Comments (8)

schneider42 avatar schneider42 commented on August 16, 2024 1

The main issue here is the version hell that gnuradio is putting us through :/ This is not at all a beginners mistake.

We will have to look into what Ubuntu really does and try to reproduce your results. Might take some time.... I'll have to ask for a bit of patience until this can be figured out.

from gr-iridium.

schneider42 avatar schneider42 commented on August 16, 2024

You mention that you have Gnuradio "3.9.2.0" installed. The output of the script mentions version "3.8.1.0" though. Are you sure there are no Gnuradio 3.8 files installed on that computer?

from gr-iridium.

65745256426 avatar 65745256426 commented on August 16, 2024

Well I am not entirely sure this is a fresh ubuntu installation on a virtual machine (after failing the installation before) with no other programs installed the first thing I did was commence the install of gnuradio.

sudo add-apt-repository ppa:gnuradio/gnuradio-releases
I installed GNURadio from the releases repo using that command and then apt-get update as doing the default command of apt-get install gnuradio would install the older 3.8 version

The command gnuradio-config-info --version outputs 3.9.2.0

I then proceeded with the installation of gr-iridum.

I then received another error saying that the library "iridium" was not found. So I proceeded to type this command
export PYTHONPATH=/usr/local/lib/python3/dist-packages
Which solved the issue but then brought about another one
ImportError: No module named osmosdr

So I went ahead and typed
sudo apt-get install gr-osmosdr

But now I'm receiving that other error that I've put as a screenshot.

I'm sorry if I've made a beginners mistake here and I'm wasting everyone's time, I found this project from a Youtube tutorial and they did not encounter any of these sorts of errors that I encountered so perhaps I've just done something fundamentally wrong ?

from gr-iridium.

schneider42 avatar schneider42 commented on August 16, 2024

The problem is that gr-osmosdr is installed from the Ubuntu 20.04 repositories. It depends on gnuradio-3.8 and when running apt install gr-osmosdr a gnuradio 3.8 installation is pulled in together with it. This causes the master branch of gr-iridium to not work anymore as the system now has a mix of gnuradio 3.8 and 3.9 installed.

Currently there are two options for you:

  • Do not install gnuradio 3.9 from the gnuradio ppa. Install gnuradio 3.8 from Ubuntu repositories and then use the maint-3.8 branch of gr-iridium
  • Install gnuradio 3.9 from the gnuradio ppa. Do not install gr-osmosdr from the Ubuntu repositories. Build and install gr-osmosdr as described here: https://osmocom.org/projects/gr-osmosdr/wiki

from gr-iridium.

Sec42 avatar Sec42 commented on August 16, 2024

While the two options @schneider42 mentioned are probably the best ones, there is a third one:

  • install everything(gnuradio-3.9, gr-osmosdr & gr-iridium) from source with pybombs

If you follow the commands in the the README of https://github.com/Sec42/sec-gr/ you should end up with a working gnuradio/gr-iridium build in a local prefix. Be warned that this will take around ~20G of space and likely a few hours of compile time depending on your hardware.

from gr-iridium.

Sec42 avatar Sec42 commented on August 16, 2024

I just wrote some code which allows to use soapy instead of osmosdr. This hopefully works out of the box with gnuradio-3.9 without the need of installing gr-osmosdr.

You can check whether soapy works for you by running "SoapySDRUtil --find" with the SDR plugged in. If it can see your SDR you might be able to use it.

To try it, checkout & build the "soapy" branch, and then run:

iridium-extractor -D 4 examples/rtl-sdr-soapy.conf

If anyone tries this, please add a comment wether that works for you or not.

from gr-iridium.

harrycheng20 avatar harrycheng20 commented on August 16, 2024

https://github.com/Sec42/sec-gr/

While the two options @schneider42 mentioned are probably the best ones, there is a third one:

  • install everything(gnuradio-3.9, gr-osmosdr & gr-iridium) from source with pybombs

If you follow the commands in the the README of https://github.com/Sec42/sec-gr/ you should end up with a working gnuradio/gr-iridium build in a local prefix. Be warned that this will take around ~20G of space and likely a few hours of compile time depending on your hardware.

I follow the README in the Github link and it works on Ubuntu 20.04 with gnuradio-3.9! It takes around 1-hour with i7-6600U processor.

from gr-iridium.

schneider42 avatar schneider42 commented on August 16, 2024

I've mentioned this in the readme: https://github.com/muccc/gr-iridium/blob/master/README.md#gnuradio-39-on-ubuntu-or-debian

from gr-iridium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.