WSPR: Persiapan RaspberryPi

From OnnoWiki
Jump to navigation Jump to search

Download Raspbian

Download dari


Burn ke SD card

Buang semua partisi dari SD card di /dev/sdb

fdisk /dev/sdb
d
d
d
d
w

Burn Raspbian IMG ke SD card untuk RaspberryPi dapat mengunakan perintah

sudo su
unzip 2016-03-18-raspbian-jessie-lite.zip
dd if=2016-03-18-raspbian-jessie-lite.img of=/dev/sdb

akan keluar kira-kira

2658304+0 records in
2658304+0 records out
1361051648 bytes (1,4 GB) copied, 839,032 s, 1,6 MB/s

Pastikan

  • File 2016-03-18-raspbian-jessie-lite.img di unzip dari source .zip-nya
  • SD card berada di /dev/sdb

Default Username & Password

  • Default user raspbian = pi
  • Default password raspbian = raspberry

Matikan ipv6

sudo su
vi /etc/sysctl.conf

set

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Jalankan

sudo sysctl -p

Instalasi ssh server

sudo su
apt-get update
apt-get install openssh-server

Perbaiki locale

sudo locale-gen id_ID.UTF-8


Set Interface

Edit

vi /etc/network/interfaces

Isi dengan, misalnya,

iface eth0 inet static
    address 192.168.0.15
    broadcast 192.168.0.255
    netmask 255.255.255.0
    gateway 192.168.0.223

atau

iface eth0 inet dhcp

atau

iface eth0 inet manual

Instalasi WSPR

Install required packages: sudo apt-get install git g++ make grep mawk ntp Make sure you are using the latest kernel by updating your system. The latest kernel includes fixes wich improve NTP ppm measurement accuracy: sudo apt-get update sudo apt-get dist-upgrade Get code/ compile: rm -rf WsprryPi git clone https://github.com/JamesP6000/WsprryPi.git cd WsprryPi make Install to /usr/local/bin: sudo make install Uninstall: sudo make uninstall