domingo, 19 de septiembre de 2021

How to setup Raspberry Pi Zero by LAN

 

This article show You how to setup Raspberry Pi Zero by LAN, because one of characteristics of this device is its few connection ports.


Only has 3 ports including the power supply. therfore it i much easier to configure it and make it accessible on the network.


Requirements:

  • Laptop (Linux or Mac)
  • raspberry pi zero

SetUp:

  1. Download the raspberry image from official website:  Raspberry Pi OS choose the version Lite.
  2.  Download and install Raspberry Pi Imager is the easy way for install Raspberry Pi OS to a micro SD card.



  3. Setup the WIFI connection and SSH connection
    For WIFI connection:
    You need to create the file named: wpa_supplicant.conf into the /partition/boot  and put the next script or instructions:

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=PE
    
    network={
    	ssid="MOVISTAR_A141"
    	psk="0987654321"
    	key_mgmt=WPA-PSK
    }
    
    network={
    	ssid="iPhone"
    	psk="iphonepassword"
    	key_mgmt=WPA-PSK
    }
    
    network={
            ssid="MOVISTAR_A141_INVITADO"
            psk="movistarpassword"
            key_mgmt=WPA-PSK
    }
        
    For SSH connection:
    By default all ports are closed We are need to expose the port for to  available on the network.
    Create the file ssh  into  /partition/boot too.


    For testing your connection you can  also do it through the terminal of your laptop:
    ping raspberrypi.local
    ping 192.168.1.27
    
    Now it only remains to connect by ssh. The default password is: raspberry
    ssh pi@192.168.1.27
Source:
1. Youtube: How to Setup Raspberry Pi Zero WH
2. How to Change Your Raspberry Pi's Hostname

 





No hay comentarios.:

Publicar un comentario