« Hacking:Script de déploiement radio » : différence entre les versions

De HackBBS
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
(2 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 7 : Ligne 7 :
  mkdir radio
  mkdir radio
  cd radio
  cd radio
  echo "[+] ********BOOST"
  wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio
  echo " [-] Téléchargement de boost"
exit
  apt-get install libboost-thread1.49-dev
#echo "[+] ********BOOST"
  wget http://netcologne.dl.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.bz2
  #echo " [-] Téléchargement de boost"
  echo " [-] Installation de boost"
  #apt-get install libboost-thread1.49-dev
  tar -xvzf boost_1_54_0.tar.bz2; cd boost_1_54_0; BOOST_PREFIX=/opt/boost_1_54_0; ./bootstrap.sh; ./b2 --prefix=$BOOST_PREFIX --with-thread --with-date_time --with-program_options --with-filesystem --with-system --layout=versioned threading=multi variant=release install
  #wget http://netcologne.dl.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.bz2
  echo "[+] ********GNURADIO"
  #echo " [-] Installation de boost"
  echo " [-] Téléchargement de gnuradio"
  #tar -xvzf boost_1_54_0.tar.bz2; cd boost_1_54_0; BOOST_PREFIX=/opt/boost_1_54_0; ./bootstrap.sh; ./b2 --prefix=$BOOST_PREFIX --with-thread --with-date_time --with-program_options --with-filesystem --with-system --layout=versioned threading=multi variant=release install
  TODO /!\
  #echo "[+] ********GNURADIO"
  echo " [-] Compiler gnuradio
  #echo " [-] Téléchargement de gnuradio"
  cmake -DBOOST_ROOT=$BOOST_PREFIX -DBoost_INCLUDE_DIR=$BOOST_PREFIX/include/boost-1_54/ -DBoost_LIBRARY_DIRS=$BOOST_PREFIX/lib ../
  #TODO /!\
  #echo " [-] Compiler gnuradio
  #cmake -DBOOST_ROOT=$BOOST_PREFIX -DBoost_INCLUDE_DIR=$BOOST_PREFIX/include/boost-1_54/ -DBoost_LIBRARY_DIRS=$BOOST_PREFIX/lib ../
 
[[Category:Hacking]][[Category:Radio]]

Dernière version du 9 janvier 2024 à 02:05

#!/bin/bash
#Auteur: @Korigan, 17/08/13
#Ressources: Http://wiki.hackbbs.org
#Contact: irc.hackint.eu,#HackBBS
#Testé sur: Debian7
echo "[+] Creation du repertoire de travail"
mkdir radio
cd radio
wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio
exit
#echo "[+] ********BOOST"
#echo " [-] Téléchargement de boost"
#apt-get install libboost-thread1.49-dev
#wget http://netcologne.dl.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.bz2
#echo " [-] Installation de boost"
#tar -xvzf boost_1_54_0.tar.bz2; cd boost_1_54_0; BOOST_PREFIX=/opt/boost_1_54_0; ./bootstrap.sh; ./b2 --prefix=$BOOST_PREFIX --with-thread --with-date_time --with-program_options --with-filesystem --with-system --layout=versioned threading=multi variant=release install
#echo "[+] ********GNURADIO"
#echo " [-] Téléchargement de gnuradio"
#TODO /!\
#echo " [-] Compiler gnuradio
#cmake -DBOOST_ROOT=$BOOST_PREFIX -DBoost_INCLUDE_DIR=$BOOST_PREFIX/include/boost-1_54/ -DBoost_LIBRARY_DIRS=$BOOST_PREFIX/lib ../