Version 5 (modified by cdietric, 5 years ago)

deleted extra space

Ubuntu (Gutsy) Installation of the CIREN system

The CIREN system installation consists of installing 3 major components.

  1. The OSSIE Framework.
  2. GNURadio, specifically the USRP libraries.
  3. The CIREN system itself.

Ubuntu (Gutsy) Installation of OSSIE

Install required packages (some are likely already installed by Ubuntu by default; some are likely redundant with others; but these groups cover all of the required packages)

apt-get -y install g++ automake libtool python-dev fftw3-dev libcppunit-dev libboost-dev sdcc libusb-dev libasound2-dev libsdl1.2-dev python-wxgtk2.8 subversion guile-1.8 libqt3-mt-dev python-numpy-ext swig

Ubuntu (Gutsy) GNU Radio Installation

Download, bootstrap, configure, and compile GNU Radio:

svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio
cd gnuradio
./bootstrap
./configure
make

Now install GNU Radio for general use (default is in to /usr/local ):

sudo make install

Configure USB and change USRP permissions

To be able to run a waveform that uses the USRP you will either need to have root permissions or give access to your user to use the USRP. The process for each distribution is different but for Fedora 5 or 6: Define a group named usrp (as root):

# /usr/sbin/groupadd usrp

Add a user to the group

# /usr/sbin/usermod -G usrp -a [username]

Create a file named /etc/udev/rules.d/10-usrp.rules with the following contents, and be sure to include the : in MODE:="0660" otherwise the default usb_device rule will override MODE to "0640". This also applies to the GROUP setting.

# rule to grant read/write access on USRP to group named usrp.
# to use, install this file in /etc/udev/rules.d as 10-usrp.rules
ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002",
GROUP:="usrp", MODE:="0660"

Restart the udev daemon to enable he changes.

# killall -HUP udevd

You can check if this is working by examining /dev/bus/usb after plugging in a USRP:

$ ls -lR /dev/bus/usb

You should see a device file with group usrp and mode crw-rw----

Now restart your machine.

Ubuntu (Gutsy) CIREN Installation

By default, the installation directory of the OSSIE platform is /sdr. In order to install new source code and binaries into this directory without root permissions, you need to create and change the ownership of /sdr.

mkdir /sdr
chown -R username /sdr
chgroup -R username /sdr

Download, reconf, and compile CIREN in the following order:

svn co http://ossie.wireless.vt.edu/repos/wireless/ossie-dev

cd SigProc
./reconf
make

cd ../SigProc
./reconf
make

cd ../components

cd ../CIREN
./reconf
make