| 93 | |
| 94 | |
| 95 | == Binary installation from Ettus repository (http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Linux) == |
| 96 | |
| 97 | 1. Load baseline ubuntu 12.04 image onto node |
| 98 | |
| 99 | 2. Add Ettus repository |
| 100 | {{{ |
| 101 | root@node1-1:~# bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/uhd/ubuntu/`lsb_release -cs` `lsb_release -cs` main" > /etc/apt/sources.list.d/ettus.list' |
| 102 | root@node1-1:~# bash -c 'echo "deb http://files.ettus.com/binaries/uhd_stable/repo/gnuradio/ubuntu/`lsb_release -cs` `lsb_release -cs` main" >> /etc/apt/sources.list.d/ettus.list' |
| 103 | }}} |
| 104 | |
| 105 | 3. Update and install |
| 106 | {{{ |
| 107 | root@node1-1:~# apt-get update |
| 108 | root@node1-1:~# apt-get install -t `lsb_release -cs` uhd gnuradio |
| 109 | }}} |
| 110 | |
| 111 | 4. Update network interfaces to enable eth2. Add following line to /etc/network/interfaces |
| 112 | {{{ |
| 113 | auto eth2 |
| 114 | iface eth2 inet static |
| 115 | address 192.168.10.1 |
| 116 | netmask 255.255.255.0 |
| 117 | broadcast 192.168.10.255 |
| 118 | }}} |
| 119 | |
| 120 | 5. Add following lines to /etc/sysctl.conf |
| 121 | {{{ |
| 122 | net.core.rmem_max=50000000 |
| 123 | net.core.wmem_max=1048576 |
| 124 | }}} |
| 125 | |