Difference between revisions of "Explorer/RaspberryPi"

From PaparazziUAV
Jump to navigation Jump to search
(Created page with "Download and install raspbian (debian for raspberry) lite package (same for PI3 and PIzero)<br /> Raspberry Pi OS (32-bit) Lite Initial configuration: PI3 and PIZero can be c...")
 
Line 31: Line 31:
  nmap -sn 192.168.1.0/24
  nmap -sn 192.168.1.0/24


[[Explorer/RasberryPi/BackupRestore]]
[[Explorer/RaspberryPi/BackupRestore]]

Revision as of 07:50, 22 June 2020

Download and install raspbian (debian for raspberry) lite package (same for PI3 and PIzero)
Raspberry Pi OS (32-bit) Lite

Initial configuration: PI3 and PIZero can be configured headless, without a keyboard and a display.
You just need to configure the board to connect to a wifi hotspot when power on.

  • Plug the memory SD card with the fresh raspbian installed.

Create file (sudo touch)

 boot/ssh

Create the file with following content (sudo vi)

 boot/wpa_supplicant.conf
 "
 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
 update_config=1
 country=FR
 network={
   ssid="Androidxp"
   psk="pprzpprz"
 }
 network={
   ssid="pprz_router"
   key_mgmt=NONE
 }
 "
  • Plug the SD memory card in the raspberry Pi and power on.
  • Connect your computer to the same wifi hotspot
  • Look for the Raspberry IP on the network
nmap -sn 192.168.1.0/24

Explorer/RaspberryPi/BackupRestore