Category: Academics
blog address: https://blog.guruface.com/how-to-set-up-raspberry-pi-to-laptop-part-2/
blog details: You are reading the 2nd part of the 3-part blog series – The Complete Guide to Configure Raspberry Pi to Laptop by Guruface Academy. Here is the full list of Blogs in this series.
Blog Series – The Complete Guide to Configure Raspberry Pi to Laptop
What is Raspberry Pi and How to Use It – Part 1
How to Set Up Raspberry PI to Laptop – Part 2
Raspberry Pi LED Light Control Project Guide – Part 3
Some interesting raspberry pi projects - Guruface Blog
Table of Contents
Introduction
Step 1: Create SSH.Txt File in SD Card
Step 2: Set up the Raspberry Pi’s Wi-Fi
Step 3: Use a laptop to access the Raspberry Pi terminal
VNC for the Raspberry Pi
Part 3 – How to Get Started with a Raspberry Pi Project
Introduction
In this second part of our blog series – Raspberry Pi Setup and configuration, we are going to explain the steps to set up your Raspberry Pi using a laptop. If you have not read the first part – What is Raspberry Pi and how to use it, do it before continuing. Let’s see how to set up Raspberry PI to laptop here.
After Writing Raspberry OS on a micro-SD card, Take your Raspberry Pi SD card out of the device and connect it to your laptop using a card reader. The SSH service on your Raspberry Pi must be enabled if you are using it for the first time.
Step 1: Create SSH.txt file in the SD Card
Create a blank word file called “ssh.txt” in the SD card folder.
Raspberry pi to laptop configuration - Guruface blog
Step 2: Set up the Raspberry Pi’s Wi-Fi
Now see the next step in configuring Raspberry pi to laptop. If you don’t have an Ethernet cable, you can use this approach to connect Raspberry Pi to your Wi-Fi network. If you do have an Ethernet cable, you should use it to connect Raspberry Pi to the internet.
Make a “WPA supplicant.conf” word file in the directory of the Raspberry Pi SD card.
Raspberry pi DIY laptop process - Guruface blog
Open the created WPA word file and paste the below-mentioned text
}
country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP
=netdev update_config=1
network={
ssid="Name of your WIFI Network " scan_ssid=1
psk="Password of your WIFI Network" key_mgmt=WPA-PSK
It’s crucial to remember from the information above that to successfully join your device to the network, you must input the precise Wi-Fi name and password as well as your country code. After making the modifications listed below, save the file, take your SD card out of your laptop, turn on your Raspberry Pi device, and put the card in.
Step 3: Use a laptop to access the Raspberry Pi terminal
The third step in configuring Raspberry pi to laptop starts here.
Now, launch Command Prompt with Administrator on your laptop to access the Raspberry Pi terminal.
Raspberry pi DIY laptop steps - Guruface blog
How to start using raspberry from laptop - Guruface
Use the command below on Command Prompt to access the Raspberry Pi terminal:
ssh @
After completing the initial Raspberry Pi setup in the first stage, you must remember the login and password you created. If you’re unsure of the IP address assigned to your Raspberry Pi, you can use the “arp -a” command in Command Prompt to discover it.
Using Raspberry from laptop made easy - Guruface
It’s best to disable Wi-Fi on all other devices. Save for your laptop if you have many devices linked to your network because you must manually attempt each IP address one at a time. Raspberry Pi
ssh pi@192.168.18.58
Raspberry pi DIY laptop tutorial - Guruface
Enter “yes” to allow connecting to your Raspberry Pi device after running the SSH command.
Enter the default password for your Raspberry Pi after adding it.
Raspberry Pi Blog Series - Guruface
Raspberry Pi DIY laptop Instructions - Guruface blog
VNC for the Raspberry Pi
Users can use the Raspberry Pi device display on their laptops via the VNC platform. On your device, this service will be disabled by default. Use the following command to open Raspberry Pi configuration in Command Prompt to enable it:
$ sudo raspi-config
Raspberry Pi Tutorial Blog - Guruface
To continue setting up Raspberry Pi to laptop, click on interface options and select VNC and enable it.
Raspberry Pi Blog series - Guruface Inc.
Raspberry Pi Resources - Guruface Blog
Download and install the VNC server on your laptop. Below is the VNC installation page and downloading the .exe file.
Install it on your laptop.
Raspberry Pi laptop installation - Guruface
Run the program on your desktop after successfully installing VNC on a laptop, then enter the Raspberry Pi’s IP address in the highlighted area as seen below:
Raspberry Pi DIY laptop - Guruface
Enter your username and password
Raspberry pi to laptop techniques explained - Guruface
This will display the Raspberry Pi desktop on the VNC server, which you can use with your laptop’s touchpad and keyboard to navigate without a separate mouse or keyboard.
Learn techniques for using raspberry from laptop - Guruface
Those who don’t want to invest in a separate desktop environment must rely on the Raspberry Pi display on their laptop. You need to create files on the SD card’s directory to enable SSH and WIFI on your Raspberry Pi. Using the Raspberry Pi setup on Command Prompt and the device’s IP address, you must then enable the VNC service. To utilize your laptop monitor as a Raspberry Pi display after completing these steps, you must install the VNC server on your computer and enter the IP address, username, and password for your device. Now you have completed the configuring process for setting up Raspberry pi to laptop.
Part 3 – How to Get Started with a Raspberry Pi Project
The first 2 parts in this blog series showed you how to set up and configure Raspberry Pi without a head, using your laptop. Hope you got a good hang of the process. The 3rd part of this series will show you how to get started with the Raspberry Pi by initiating your first project.
For beginners, we would also suggest our blog on the topic ‘How to Decide Between GPIO ZERO library and RPi GPIO Library‘ to gather better insight on executing your first electronic project.
Register for Guruface's free webinar 'Robotics for kids'.
Good day!
keywords: raspberry pi, raspberry pi, technology, technology trend
member since: Dec 05, 2024 | Viewed: 168