This is an old revision of the document!


Project owner: Overdrive
Interested: peterbay, Overdrive
Related:
License: Uveďte původ-Zachovejte licenci; CC BY-SA

picka_small.jpg

Howto for different single-boards

  • rpi-update - update firmware
  • rpi-config - system config
SemioTex:pavouk$ mount | grep -i picka1
/dev/disk3s1 on /Volumes/PICKA1 (msdos, local, nodev, nosuid, noowners)

SemioTex: pavouk$ cd ~/Desktop/
SemioTex:Desktop pavouk$ ls -la *.img
-rw-r--r--  1 pavouk  staff  3932160000  5 srp  2015 Raspbian_For_BPI_M1_V4.0.img

SemioTex:Desktop pavouk$ sudo diskutil unmount /Volumes/PICKA1
Volume PICKA1 on disk3s1 unmounted

SemioTex:Desktop pavouk$ sudo dd bs=1m if=~/Desktop/Raspbian_For_BPI_M1_V4.0.img of=/dev/disk3 
  • u can check progress with CTRL+T [SIGINFO]

Configure Mac to be able to directly conenct to Picka over ETH through trunderbolt

  • connect thunderbolt and Picka by straight cable
  • system preferences on mac → Network → Thunderbolt: use DHCP
  • system preference on mac → Sharing → check ON Internet sharing
  • ifconfig: find bridge*
bridge100: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether 2a:37:37:c1:c0:64 
	inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
	inet6 fe80::2837:37ff:fec1:c064%bridge100 prefixlen 64 scopeid 0xa 
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x2
	member: en5 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 9 priority 0 path cost 0
	nd6 options=1<PERFORMNUD>
	media: autoselect
	status: active
  • use nmap to find where you have Picka [or you can try to find it as next to bridge ip]
SemioTex:Picka pavouk$ nmap 192.168.2.*

Starting Nmap 6.47 ( http://nmap.org ) at 2016-03-13 14:47 CET
Nmap scan report for 192.168.2.2
Host is up (0.0017s latency).
Not shown: 999 closed ports
PORT   STATE SERVICE
22/tcp open  ssh

https://wiki.archlinux.org/index.php/Banana_Pi#Network

  • ssh root@IP
  • password is bananapi
 mkdir ~/.ssh
 chmod 700 ~/.ssh
 touch ~/.ssh/authorized_keys
 chmod 600 ~/.ssh/authorized_keys
 nano ~/.ssh/authorized_keys <--- copy there public key generated somewhere

this is what you should have:

drwx—— 2 root root 4096 Mar 13 13:23 .ssh

-rw——- 1 root root 209 Mar 13 13:21 authorized_keys

 nano /etc/ssh/sshd_config -> PasswordAuthentication no
 sudo service ssh restart

test by:

 ssh root@localhost

if it is asking for key, everything is ok !!! do not disconnect from session before test from outside !!! try from outside:

 ssh root@IP_of_pi

when able to connect by key, everything is fine

 nano ~/.bashrc

edit to something like this 31m is red:

 PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] '

raspi-config –expand-rootfs

 tzselect  

SDR

   
sudo apt-get install pulseaudio pulseaudio-module-zeroconf alsa-utils avahi-daemon pulseaudio-module-zeroconf pulseaudio-utils

The following is what I did just to get it working in per-session mode (not system mode). System mode may work as well, I haven't attempted it. Setting up server will require some more work. I found this information in various places, hopefully gathering it here will help someone.

Install pulseaudio and make sure user (e.g. over) is part of the audio group:

 sudo adduser over audio

Change /etc/asound.conf look like the following. This sets up pulseaudio to be used as an alsa device by default so applications use it without any additional configuration. The first two declarations (including the commented one) was in the original file.

pcm.mmap0 {
    type mmap_emul;
    slave {
      pcm "hw:0,0";
    }
}

pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }

Add the following lines to /etc/pulse/daemon.conf:

default-sample-rate = 48000
resample-method = trivial

OVERDRIVE'S CONFIG TO MAKE IT RUN

sudo nano /etc/pulse/default.pa

.nofail
.fail
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-pipe-sink
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
load-module module-detect
.endif
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle

.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply

.ifexists module-x11-publish.so
.nofail
load-module module-x11-publish
.fail
.endif

set-default-sink output
set-default-source input

To start the pulseaudio server, use:

 pulseaudio -k; pulseaudio -D

You might be also be able to set up in system-wide mode with:

sudo pulseaudio --system 

To debug, run:

 pulseaudio --log-level=debug

To test alsa, run:

 amixer -Dpulse

edit like this

 deb http://mirrordirector.raspbian.org/raspbian/ jessie  main contrib non-free rpi

patch whole system

 apt-get update
 apt-get upgrade

apt gnuRadio

 apt-get install gnuradio
 

DSD : Digital Speech Decoder

RTL-SDR

RADIO-TEORIE

  • Evidence stanic bezdrátového místního informačního systému (BMIS) | Český telekomunikační úřad:

http://www.ctu.cz/vyhledavaci-databaze/evidence-stanic-bezdratoveho-mistniho-informacniho-systemu-bmis/prehled

  • ANTENNA MAGUS - List of Antennas | Explore | Features | The leading Antenna Design Software tool. | Antenna Design. Simplified:

http://www.antennamagus.com/antennas.php?page=antennas

  • project/single_boards.1458422390.txt.gz
  • Last modified: 2016/03/19 22:19
  • by over23