Difference between revisions of "RPiAIS"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(install)
(install)
Line 51: Line 51:
 
* Test the installation:
 
* Test the installation:
 
** <code>rtl_test -t</code>
 
** <code>rtl_test -t</code>
 +
** output:
 +
<pre>
 +
Found 1 device(s):
 +
  0:  Realtek, RTL2838UHIDIR, SN: 00000001
 +
 +
Using device 0: Terratec Cinergy T Stick RC (Rev.3)
 +
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
 +
Sampling at 2048000 S/s.
 +
Benchmarking E4000 PLL...
 +
[E4K] PLL not locked for 51000000 Hz!
 +
[E4K] PLL not locked for 2187000000 Hz!
 +
[E4K] PLL not locked for 1094000000 Hz!
 +
[E4K] PLL not locked for 1243000000 Hz!
 +
E4K range: 52 to 2186 MHz
 +
E4K L-band gap: 1094 to 1243 MHz
 +
</pre>
  
 
[[category:Projekte]]
 
[[category:Projekte]]

Revision as of 13:15, 13 October 2018

stretch

setup

  • connect via ssh or scp as pi
sudo apt-get update
sudo apt-get upgrade
sudo su
mc
  • enable root login over SSH
    • add to /etc/ssh/sshd_config
      PermitRootLogin yes
    • restart service
      sudo /etc/init.d/ssh restart
    • set root password
      sudo passwd root
  • set up static IP at /etc/dhcpcd.conf
interface eth0
static ip_address=192.168.1.110/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
  • reboot

install

  • connect via ssh or scp as pi
sudo su -
apt-get update
apt-get install git
git clone git://git.osmocom.org/rtl-sdr.git
apt-get install libusb-dev libusb-1.0 libtool cmake
apt-get install build-essential
 
cd rtl-sdr/
mkdir build
cd build
cmake ../
make
make install
ldconfig
 
cd ..
cp rtl-sdr.rules /etc/udev/rules.d/
  • Blacklist the kernel module dvb_usb_rtl28xxu by adding the line blacklist dvb_usb_rtl28xxu to /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf
  • reboot
  • Test the installation:
    • rtl_test -t
    • output:
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Terratec Cinergy T Stick RC (Rev.3)
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
Sampling at 2048000 S/s.
Benchmarking E4000 PLL...
[E4K] PLL not locked for 51000000 Hz!
[E4K] PLL not locked for 2187000000 Hz!
[E4K] PLL not locked for 1094000000 Hz!
[E4K] PLL not locked for 1243000000 Hz!
E4K range: 52 to 2186 MHz
E4K L-band gap: 1094 to 1243 MHz