Configuration - Raspberry Pi 3

First of all, you need to configure Raspberry Pi, for this you need to download the image of the Raspbian system from official site and copy it on SD card.

In the case of using an operating system based on Linux Debian, copying is performed in this way:

$ sudo umount /media/$USER/*
$ sudo dd bs=32M if=raspbian-jessie-lite.img of=/dev/mmcblk0
$ sudo sync

In the case of using a Windows-based operating system, copying is done as follows:

  • Download Win32DiskImager utility from official site. Extract from the archive and run as administrator.
  • In the program, specify the location of the system image and select the SD card.
  • Press the Write button and wait for the image to be written to the media.

Detailed installation information is available at official RPi site.

We install the memory card in Raspberry Pi, load the system, we log into the system using the default credentials (login: pi password: raspberry) and perform the initial setup of the system.

To access the WiFi network, you need to make changes to the configuration file.

$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
        ssid="SSID"
        psk="Password"
}

Next, run the configuration utility.

$ sudo raspi-config

Make the settings in order:

  • Expand Filesystem — Expand the file system for the entire SD card.
  • Change User Password — Change the pi user password.
  • Localisation Options
    • Change Timezone — Set your time zone.
  • Interfacing Options — If necessary, enable the SSH server.
  • Advanced Options
    • Memory Split — Allocate 16 MB for the graphics adapter.
  • Finish

Reboot the system.

$ sudo reboot

Now we will update the system.

$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install rpi-update
$ sudo rpi-update

We reboot the system. The basic setting is complete.

$ sudo reboot

In some cases, you may need to set a static IP address. To do this, you need to make changes to the network configuration file.

$ sudo nano /etc/network/interfaces

The following example shows the settings for the wlan0 wireless interface. The system default settings are removed in the comment.

#allow-hotplug wlan0
#iface wlan0 inet manual
#    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan0
iface wlan0 inet static
address 10.0.1.12
netmask 255.255.255.0
dns-nameservers 10.0.1.1
gateway 10.0.1.1
wpa-passphrase Password
wpa-ssid SSID

On interface wlan0 we need to disable DHCP client dhcpcd. Just add strings into configuration file.

$ sudo nano /etc/dhcpcd.conf
#Disable DHCP client on interface wlan0
denyinterfaces wlan0

Reboot the system.

$ sudo reboot

Now the device is available on the network at 10.0.1.12

Mobile wallpapers!  |  Linux certification!

You can copy information from this site for personal, noncommercial use only. Copying and use of information from this site for any other purpose is prohibited.  |  All trademarks are the property of their respective owners.
© 1998-2020 Sameak. All rights reserved.