Raspberry Pi 3 Setup

How to set up your Raspberry Pi 3 and remote control with SSH & VNC

  1. First of all, you need to connect your Raspberry Pi to a monitor, install Raspbian and configure it. After everything is done, open terminal/shell in your Pi.
  1. Update system softwares first

    1
    2
    $ sudo apt-get install
    $ sudo apt-get update

    Also remember to allow remote in Pi for Windows remote desktop control

    1
    $ sudo apt-get install xrdp

    Install VNC in Pi

    1
    $ sudo apt-get install tightvncserver
  2. Allow Pi to auto-search wifi and auto-connect

    1
    $ sudo nano /etc/network/interfaces

    Modify iface wlan0 inet manual to iface wlan0 inet dhcp. The file should be like:

    1
    2
    iface wlan0 inet dhcp
    wpa_conf /etc/wpa_supplicant/wpa_supplicant.conf

    Save and exit. Then continue:

    1
    $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    Add your wifi infos in this format:

    1
    2
    3
    4
    5
    network={
    ssid="WiFi-name1"
    psk="WiFi-password1"
    priority=5
    }