Difference between revisions of "WSPR: Persiapan RaspberryPi"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
* Default user raspbian = pi
 
* Default user raspbian = pi
 
* Default password raspbian = raspberry  
 
* 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==
 
==Instalasi ssh server==
 
  
 
  sudo su
 
  sudo su
 
  apt-get update
 
  apt-get update
 
  apt-get install openssh-server
 
  apt-get install openssh-server
 +
 +
==Perbaiki locale==
  
 
  sudo locale-gen id_ID.UTF-8
 
  sudo locale-gen id_ID.UTF-8
  
 +
 +
==Set Interface==
  
 
Edit
 
Edit
Line 57: Line 75:
  
 
  iface eth0 inet static
 
  iface eth0 inet static
address 192.168.0.3
+
    address 192.168.0.15
broadcast 192.168.0.255
+
    broadcast 192.168.0.255
netmask 255.255.255.0
+
    netmask 255.255.255.0
gateway 192.168.0.223
+
    gateway 192.168.0.223
  
 
atau
 
atau
Line 66: Line 84:
 
  iface eth0 inet dhcp
 
  iface eth0 inet dhcp
  
 +
atau
 +
 +
iface eth0 inet manual
 +
 +
 +
atau tambahkan di rc.local
 +
 +
vi /etc/rc.local
 +
 +
isi dengan
  
 +
ifconfig eth0 192.168.0.15 netmask 255.255.255.0
 +
route add default gw 192.168.0.223
 +
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
  
 +
==Set DNS==
 +
 +
vi /etc/resolv.conf
 +
 +
isi dengan
 +
 +
nameserver 8.8.8.8
  
 
==Instalasi WSPR==
 
==Instalasi WSPR==
  
Install required packages:
+
Install aplikasi pendukung
sudo apt-get install git g++ make grep mawk ntp
+
 
Make sure you are using the latest kernel by updating your system. The latest
+
sudo apt-get install git g++ make grep mawk ntp
kernel includes fixes wich improve NTP ppm measurement accuracy:
+
 
sudo apt-get update
 
sudo apt-get dist-upgrade
 
 
Get code/ compile:
 
Get code/ compile:
rm -rf WsprryPi
+
 
git clone https://github.com/JamesP6000/WsprryPi.git
+
cd /usr/local/src
cd WsprryPi
+
rm -rf WsprryPi
make
+
git clone https://github.com/JamesP6000/WsprryPi.git
 +
cd WsprryPi
 +
make
 +
 
 
Install to /usr/local/bin:
 
Install to /usr/local/bin:
sudo make install
+
 
 +
sudo make install
 +
 
 
Uninstall:
 
Uninstall:
sudo make uninstall
+
 
 +
sudo make uninstall

Latest revision as of 07:48, 20 April 2016

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


atau tambahkan di rc.local

vi /etc/rc.local

isi dengan

ifconfig eth0 192.168.0.15 netmask 255.255.255.0
route add default gw 192.168.0.223
echo "nameserver 8.8.8.8" >> /etc/resolv.conf

Set DNS

vi /etc/resolv.conf

isi dengan

nameserver 8.8.8.8

Instalasi WSPR

Install aplikasi pendukung

sudo apt-get install git g++ make grep mawk ntp

Get code/ compile:

cd /usr/local/src
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