Platform: Ubuntu Lucid 10.04/10.10
** All the following commands (in italic) are to be run at the shell.
- CMAKE: Check if CMAKE is installed (just try to execute command cmake). If not installed then do the following.1. Download from http://www.cmake.org/cmake/resources/software.html2. Unzip3. Goto the folder by $cd ~/cmake-X.X.X4. Run commands $./bootstrap; make; sudo make install
- GIT: Check if GIT is installed (just try to execute command git). If not then install it from Applications->Ubuntu Software Center
- LibUSB: If LibUSB is not installed...1. Download LibUSB from http://sourceforge.net/projects/libusb/.2. Unzip3. Goto the folder by $cd ~/libusb-X.X.X4. Run commands $./configure; make; sudo make install
- GNURADIO Pre-Requisites:
$sudo apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev \libcppunit-dev libboost-all-dev libusb-dev fort77 sdcc sdcc-libraries \
libsdl1.2-dev python-wxgtk2.8 git-core guile-1.8-dev \libqt4-dev python-numpy ccache python-opengl libgsl0-dev \python-cheetah python-lxml doxygen qt4-dev-tools \libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4
- Download and Install UHD
$git clone git://ettus.sourcerepo.com/ettus/uhd.git $cd ~/uhd/host/
$mkdir build$cd build$cmake ../$make$make test$sudo make install$sudo ldconfig
- Download and Install GNURADIO
$git clone git://gnuradio.org/gnuradio.git$cd ~/gnuradio$git branch --track next origin/next$git checkout next$./bootstrap$PKG_CONFIG_PATH=~/uhd/host/build/$export PKG_CONFIG_PATH$./configure --enable-gr-uhd$make$make check$sudo make install$sudo ldconfig
- Configure USRP Support
$sudo addgroup usrp $sudo usermod -G usrp -a <YOUR_USERNAME> $echo 'ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", GROUP:="usrp", MODE:="0660"' > tmpfile $sudo chown root.root tmpfile $sudo mv tmpfile /etc/udev/rules.d/10-usrp.rules $sudo udevadm control --reload-rules
- Configure UHD USRP2
1. Download the latest FPGA driver and FIRMWARE from http://www.ettus.com/download
2. Write the fpga and firmware on USRP2 SD card using usrp2_card_burner.py and usrp2_card_burner_gui.py scripts. The scripts are available at http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/repository/revisions/master/changes/host/utils/
3. Connect SD card with USRP2 and boot USPR2. Now the USRP2 should be accessible at ip address 192.168.10.2.