Raspberry Pi | 01 headless installation and through wifi, ssh wireless connectivity tutorials record

hardware

  • Raspberry Pi 3B +
  • Class 10 capacity of more than 8G Micro SD card and card reader
  • USB data cable
  • A laptop
  • wifi

software

Mirror programming

  1. Select image-> in your mirror
  2. Select drive-> your SD card (be careful not to mistake their own elected computer disk, but it looks like the software will automatically select the U disk)
  3. Flash ( ! Note, there will be a prompt after burned BOOT what needs to be formatted, must choose to cancel! )
    Etcher 
    recall election canceled

Setting wifi, open ssh

  • Two new files in the BOOT disk wpa_supplicant.conf and ssh
    wpa_supplicant.conf and ssh
  • wpa_supplicant.conf content (note alternative YOUR_WIFI_NAME and YOUR_WIFI_PASSWORD ), (The key_mgmt = WPA-PSK is wifi encryption, priority = 1 is the priority of the plurality wifi wifi, seemingly with less change):
  • ssh file write nothing, not even extension

Check the IP address of the Raspberry Pi

  • After the SD card into the Raspberry Pi Raspberry Pi is connected to the power supply (I was directly USB powered)
  • Raspberry Pi is energized after about one minute in Advanced Ip Scanner click on the Scan, Manufacturer of that is your Raspberry Pi Raspberry, Raspberry Pi note of the IP

Advanced Ip Scanner

Telnet Raspberry Pi

    • Open PuTTY, enter the IP address of your Raspberry Pi, where I was 172.20.10.3, port number unchanged, click Open
      replaces the IP address of your Raspberry Pi
    • Enter the following login ID and password, pay attention to the input landing in Linux is not already displayed input character "*" prompt
    • login as:pi
    • password:  raspberry
      After successfully enter the login account password interface
    • Casually playing ls command to view the contents of the current folder
      view the current folder
    • The best update the system
      sudo apt-get update
      sudo apt-get upgrade
    • Unlock root 
      unlock the root account
    • Make sudo shutdown off to sleep, tomorrow to continue
      off to sleep

Guess you like

Origin www.cnblogs.com/lwlq/p/11546681.html