Style : Classique Ngage Design Messenger Xbox Xtreme Matrix WinHelp Pas de Style
http://hotline.c.la :  Begoodtux Megasearch :Camping-carhamsearchminisearch
Annuaire Web

 Installation du SDR avec Tuner DVB-T

  • Installation du SDR avec Tuner DVB-T à quelques 20€
    ( Modèle Logilink VG0002A acheté chez Conrad.de )

  • Au-dessous installation de la clé avec le Tuner 4000 plus performant

    Remarque: Ubuntu 12.04 ( ne semble pas fonctionner avec Ubuntu 10.04 d'après F1FXW )

    But: Réception tous signaux de 64 MHz à 1700MHz
    Condition: Modèle récepteur ici http://sdr.osmocom.org/trac/wiki/rtl-sdr

    - Source des infos: http://doc.ubuntu-fr.org/rtl-sdr

    - Vérification du matériel
    Dans un terminal lsusb donne:
    Bus 001 Device 004: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle


    - Installation:
    Dans un terminal exécuter

  • wget http://www.sbrac.org/files/build-gnuradio
    chmod +x build-gnuradio
    ./build-gnuradio

  • ( le temps de téléchargement et de la compilation prend 2 heures. J'ai recommencé la compilation ./build-radio )
    La machine répond ceci:
    =========================================================
    This script will install Gnu Radio from current GIT sources
    You will require Internet access from the computer on which this
    script runs. You will also require SUDO access. You will require
    approximately 500MB of free disk space to perform the build.
     
    This script will, as a side-effect, remove any existing Gnu Radio
    installation that was installed from your Linux distribution packages.
    It must do this to prevent problems due to interference between
    a linux-distribution-installed Gnu Radio/UHD and one installed from GIT source.
     
    The whole process may take up to two hours to complete, depending on the
    capabilities of your system.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    NOTE: if you run into problems while running this script, you can re-run it with
    the --verbose option to produce lots of diagnostic output to help debug problems.
    This script has been written to anticipate some of the more common problems one might
    encounter building ANY large, complex software package. But it is not pefect, and
    there are certainly some situations it could encounter that it cannot deal with
    gracefully. Altering the system configuration from something reasonably standard,
    removing parts of the filesystem, moving system libraries around arbitrarily, etc,
    it likely cannot cope with. It is just a script. It isn't intuitive or artificially
    intelligent. It tries to make life a little easier for you, but at the end of the day
    if it runs into trouble, a certain amount of knowledge on your part about
    system configuration and idiosyncrasies will inevitably be necessary.


    Proceed?
    jp@jp-HP-dx2000-MT-DX875ET:~$ ./build-gnuradio
    This script will install Gnu Radio from current GIT sources
    You will require Internet access from the computer on which this
    script runs. You will also require SUDO access. You will require
    approximately 500MB of free disk space to perform the build.
     
    This script will, as a side-effect, remove any existing Gnu Radio
    installation that was installed from your Linux distribution packages.
    It must do this to prevent problems due to interference between
    a linux-distribution-installed Gnu Radio/UHD and one installed from GIT source.
     
    The whole process may take up to two hours to complete, depending on the
    capabilities of your system.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    NOTE: if you run into problems while running this script, you can re-run it with
    the --verbose option to produce lots of diagnostic output to help debug problems.
    This script has been written to anticipate some of the more common problems one might
    encounter building ANY large, complex software package. But it is not pefect, and
    there are certainly some situations it could encounter that it cannot deal with
    gracefully. Altering the system configuration from something reasonably standard,
    removing parts of the filesystem, moving system libraries around arbitrarily, etc,
    it likely cannot cope with. It is just a script. It isn't intuitive or artificially
    intelligent. It tries to make life a little easier for you, but at the end of the day
    if it runs into trouble, a certain amount of knowledge on your part about
    system configuration and idiosyncrasies will inevitably be necessary.


    Proceed?y
    Starting all functions at: samedi 11 août 2012, 08:09:35 (UTC+0200)
    SUDO privileges are required
    Do you have SUDO privileges?y
    Continuing with script
    [sudo] password for jp:
    Installing prequisites...Checking for package libfontconfig1-dev
    Checking for package libxrender-dev
    Checking for package libpulse-dev
    Checking for package swig
    Checking for package g++
    Checking for package automake
    Checking for package autoconf
    Checking for package libtool
    Checking for package python-dev
    Checking for package libfftw3-dev
    Checking for package libcppunit-dev
    Checking for package libboost-all-dev
    Checking for package libusb-dev
    Checking for package libusb-1.0-0-dev
    Checking for package fort77
    Checking for package libsdl1.2-dev
    Checking for package python-wxgtk2.8
    Checking for package git-core
    Checking for package guile-1.8-dev
    Checking for package libqt4-dev
    Checking for package python-numpy
    Checking for package ccache
    Checking for package python-opengl
    Checking for package libgsl0-dev
    Checking for package python-cheetah
    Checking for package python-lxml
    Checking for package doxygen
    Checking for package qt4-dev-tools
    Checking for package libusb-1.0-0-dev
    Checking for package libqwt5-qt4-dev
    Checking for package libqwtplot3d-qt4-dev
    Checking for package pyqt4-dev-tools
    Checking for package python-qwt5-qt4
    Checking for package cmake
    Checking for package git-core
    Checking for package wget
    Checking for package libxi-dev
    Checking for package python-docutils
    Checking for package gtk2-engines-pixbuf
    Checking for package r-base-dev
    Checking for package python-tk
    Checking for package liborc-0.4-0
    Checking for package libasound2-dev
    Checking for package python-gtk2
    Checking for library libusb ...Found library libusb
    Checking for library libboost ...Found library libboost
    Checking for library libcppunit ...Found library libcppunit
    Checking for library libguile ...Found library libguile
    Checking for library libfftw ...Found library libfftw
    Checking for library libgsl ...Found library libgsl
    Done
    Fetching Gnu Radio via GIT...Done
    Fetching UHD via GIT...Fetching rtl-sdr (rtl-sdr, and gr-osmosdr) via GIT
    Done
    Starting function uhd_build at: samedi 11 août 2012, 08:31:52 (UTC+0200)
    Building UHD...Done building/installing UHD
    Done function uhd_build at: samedi 11 août 2012, 08:54:04 (UTC+0200)
    Starting function firmware at: samedi 11 août 2012, 08:54:04 (UTC+0200)
    Downloading images from: http://files.ettus.com/binaries/master_images/archive/uhd-images_003.004.002-180-gb6bb13bc.zip
     6.96 MB/6.96 MB (100.00%)
    Images successfully installed to: /usr/local/share/uhd/images
    Done downloading firmware to /usr/local/share/uhd/images
    Done function firmware at: samedi 11 août 2012, 08:54:29 (UTC+0200)
    Starting function gnuradio_build at: samedi 11 août 2012, 08:54:29 (UTC+0200)
    /usr/local/lib already in ld.so.conf.d
    Doing ldconfig...
    Building Gnu Radio...
    ...Doing cmake
    ...Cmaking
    ...Building
    ...Installing
    Done building and installing Gnu Radio
    GRC freedesktop icons install ...Done
    Done function gnuradio_build at: samedi 11 août 2012, 09:49:50 (UTC+0200)
    Starting function rtl_build at: samedi 11 août 2012, 09:49:50 (UTC+0200)
    Building rtl-sdr...Done building/installing rtl-sdr/gr-osmosdr
    Done function rtl_build at: samedi 11 août 2012, 09:52:09 (UTC+0200)
    Starting function extras at: samedi 11 août 2012, 09:52:09 (UTC+0200)
    Doing GIT checkout for extra module gr-baz
    Building extra module gr-baz
    Doing GIT checkout for extra module grextras
    Building extra module grextras
    Done function extras at: samedi 11 août 2012, 09:59:07 (UTC+0200)
    Starting function mod_groups at: samedi 11 août 2012, 09:59:07 (UTC+0200)
    ********************************************************************************
    This script has just modified /etc/group to place your userid '('$USER')' into group 'usrp'
    In order for this change to take effect, you will need to log-out and log back
    in again.  You will not be able to access your USRP1 device until you do this.

    If you wish to allow others on your system to use the USRP1 device, you will need to use:

      sudo usermod -a -G usrp userid
     
    For each userid you wish to allow access to the usrp

    ********************************************************************************

    Further
    Done function mod_groups at: samedi 11 août 2012, 09:59:07 (UTC+0200)
    Starting function mod_udev at: samedi 11 août 2012, 09:59:07 (UTC+0200)
    Done function mod_udev at: samedi 11 août 2012, 09:59:08 (UTC+0200)
    Starting function mod_sysctl at: samedi 11 août 2012, 09:59:08 (UTC+0200)
    Applying updates to /etc/sysctl.conf
    Group 'usrp' now has real-time scheduling privileges
    You will need to log-out and back in again for this to
    take effect
    Done function mod_sysctl at: samedi 11 août 2012, 09:59:08 (UTC+0200)
    Starting function pythonpath at: samedi 11 août 2012, 09:59:08 (UTC+0200)


    ************************************************************
    You should probably set your PYTHONPATH to:
     
         /usr/local/lib/python2.7/dist-packages
     
    Using:
     
    export PYTHONPATH=/usr/local/lib/python2.7/dist-packages
     
    in your .bashrc or equivalent file prior to attempting to run
    any Gnu Radio applications or Gnu Radio Companion.
    *************************************************************
    Done function pythonpath at: samedi 11 août 2012, 09:59:08 (UTC+0200)
    Done all functions at: samedi 11 août 2012, 09:59:08 (UTC+0200)
    All Done
    ============================================================

    Puis vérification du fonctionnement avec la commande rtl_test -t

    rtl_test -t
    Found 1 device(s):
      0:  Dexatek DK DVB-T Dongle (Logilink VG0002A)

    Using device 0: Dexatek DK DVB-T Dongle (Logilink VG0002A)
    Found Fitipower FC0013 tuner
    Supported gain values (4): -6.3 7.1 19.1 19.7
    No E4000 tuner found, aborting.

    Mon tuner n'est pas le bon !

    Pour terminer installation de Gqrx ( voir page spécifique)
    Note: Gqrx fonctionne, le tuner va de 50 à 900 MHz.

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Ci-dessous le mémo écrit par F1FXW Robert qui a installé la bonne clé:
    Pour installer GNU-Radio :
    wget http://www.sbrac.org/files/build-gnuradio
    chmod +x build-gnuradio
    ./build-gnuradio

    Pour contrôler le fonctionnement de la clé :
    rtl_test -t
    Found 1 device(s):
      0:  Generic RTL2832U (e.g. hama nano)
    Using device 0: Generic RTL2832U (e.g. hama nano)
    Found Elonics E4000 tuner
    Supported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0
    Benchmarking E4000 PLL...
    [E4K] PLL not locked for 51000000 Hz!
    [E4K] PLL not locked for 2166000000 Hz!
    [E4K] PLL not locked for 1083000000 Hz!
    [E4K] PLL not locked for 1226000000 Hz!
    E4K range: 52 to 2165 MHz
    E4K L-band gap: 1083 to 1226 MHz
    Found 1 device(s):
      0:  Generic RTL2832U (e.g. hama nano)

    Using device 0: Generic RTL2832U (e.g. hama nano)
    Found Elonics E4000 tuner
    Supported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0
    Benchmarking E4000 PLL...
    [E4K] PLL not locked for 51000000 Hz!
    [E4K] PLL not locked for 2166000000 Hz!
    [E4K] PLL not locked for 1083000000 Hz!
    [E4K] PLL not locked for 1226000000 Hz!
    E4K range: 52 to 2165 MHz
    E4K L-band gap: 1083 to 1226 MHz


    Pour installer GNURadio-Companion :
    svn co https://www.cgran.org/svn/projects/multimode

    Pour installer Gqrx :
    sudo apt-get install git-core qt4-qmake build-essential
    git clone https://github.com/csete/gqrx.git
    cd gqrx
    qmake
    make
    sudo cp gqrx /usr/local/bin/

    Mise à jour Gqrx :
    cd gqrx
    git pull
    make clean
    qmake
    make
    sudo cp gqrx /usr/local/bin/

    Ouverture Gqrx :
    robert@ubuntu:~$ gqrx
    linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.003-227-g0ccf3453
    gr-osmosdr supported device types: file fcd rtl rtl_tcp uhd
    >>> gr_fir_ccf: using SSE
    >>> gr_fir_ccc: using SSE
    Using Volk machine: sse3_32
    >>> gr_fir_fff: using SSE
    gr-osmosdr supported device types: file fcd rtl rtl_tcp uhd
    Using device #0: Generic RTL2832U (e.g. hama nano)
    Found Elonics E4000 tuner
    Exact sample rate is: 910000,026819 Hz
    >>> gr_fir_fcc: using SSE
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


    Autres sources:
    http://www.tsf70.com/forum/viewtopic.php?id=3652
    http://www.hack4fun.eu/2012/05/rtl-sdr-backtrack-5-r2/
    http://www.oz9aec.net/index.php/gnu-radio/gnu-radio-blog/472-gqrx-with-rtl-sdr-and-uhd-support

  • Mot de passe root à http://ubuntuguide.org/
    taper ->
    sudo passwd root
    (mdp 2 fois)
    -> mot de passe a été mis à jour avec succès.
    -> su
    -> mettre le nouveau mdp root.


  •