【 Connect Raspberry Pi to Windows or Mac 】 Step by Step Guide ▷ 2022

if you have one and you use it as either a stand-alone computer, TV entertainment system, or video game console, then The possibility of being able to connect it to a computer to manage files and settings will be very useful for you.

Regardless of what you’re using your Pi for, most operating systems that are available include the option to enable a remote connection to manage the files that your device needs to work with.

In this article, We will explain step by step the most used methods to connect your Pi to your computer with Windows or MacOS and how to make the most of this quality.

What are the benefits and utilities of connecting your Raspberry Pi to your computer or PC?

The connection between Raspberry Pi and the computer it has a wide range of benefits that vary depending on the operating system installed on the Micro SD of your Pi and the use you are giving it. The most widely used method of forming a connection, either remotely or via ethernet cable, between a PC and a Rapsberry Pi It is achieved by activating the SSH connection protocol that enables connections with external equipment.

This connection method becomes particularly useful when, for example, all you have is the Raspberry Pi motherboard. and you need to perform a remote desktop operation to be able to configure it and perform the necessary actions using a PC.

For users of entertainment operating systems such as OSMC either batocerathe utility of the connection lies in the possibility of making direct transfers of multimedia files, in the case of the first, or of emulation, in the case of the secondso you always want to maintain a connection to your PC to manage your files.

See also  【Schedule Content on Instagram】Step by Step Guide ▷ 2022

Learn step by step how to connect your Raspberry Pi to your Windows PC or MacOS computer

The connection methods between Raspberry Pi and a computer vary depending on the objective you have and the settings applied to your Raspberry. One of the most applied methods is the remote connection via local networkfor which the configuration of ssh connection must be enabled on the board.

Next, we will explain in detail the ways in which you can connect your Pi to a computer:

In Windows 10

When enabling a functional connection to a Raspberry Pi, Windows has a certain disadvantage over operating systems like MacOS or Linux because it does not have an SSH server by default. to complete the connection.

Let’s see next:

  • Enable SSH on your Raspberry Pi: At this point, you should already have an operating system installed on the Micro SD of your Raspberry Pi. If you do not have computer peripherals, all you have to do is remove the Micro SD, insert it into your PC, open it and create a file without extension called “ssh” . Then insert the card back into your Pi and that enables the SSH connection. If instead you have a monitor, keyboard and mouse, all you have to do is open the start menu and enter “Preferences”, open the tab “Interfaces” and enable the option “SSH”.
  • Connect the one from your PC to your Raspberry Pi: Make sure the ethernet cable is connected before inserting the power adapter. Once turned on, it will take about 30-40 seconds to start the OS and stabilize the connection.
  • Check the link on the Ethernet port of your PC: To verify that the connection was made successfully, we will open the Windows command terminal. For this, press “Windows+R” and writes “cmd” as soon as the terminal opens, type the command “ipconfig” and look for the Ethernet connection. If everything went well, it will show us an IP address associated with the Ethernet port. If the final number of the Ethernet IP is “1”then the Raspberry Pi’s IP will end in “two” either “3”.
  • Open the Windows SSH connection tool: When the connection is established, open the putty tool and type in the IP address of your Raspberry Pi. Immediately a command window will pop up that will request credentials. By default, the username will always be “Pi”. Once you have entered, the command terminal will open and you can start working remotely.
See also  【 Uses and Applications of the OSINT System 】 List ▷ 2022

on macOS

The computer operating system Apple takes advantage of the free software implementation of OpenSSH, which allows it to automatically support connecting with the SSH protocol.

The only requirement is that both the computer and the Raspberry Pi are connected to the same network:

  • Install Raspberry Pi OS on your MicroSD: In order to connect your Pi to a PC running MacOS, you need to make sure that your Raspberry Pi’s MicroSD card has the Raspberry Pi OS installed, along with the file that enables the SSH protocol.
  • For this, Download Raspberry Pi Imager for MacOS. Then, open the Raspberry PI Imager and follow the instructions to write the operating system to the Micro SD quickly and easily.
  • Get the IP address: All you have to do is get the IP address by entering the following command in your PC terminal: “hostname –I”.
  • Establish the SSH connection: Subsequently, you should try to establish the SSH connection by entering the following command in the terminal: “ssh username@ip-address”.

Replaces the parameters “Username” by “Pi” which is the default username of the Raspberry Pi. You should also replace “IP adress” with the address obtained with the command: “hostname”. As soon as you have logged in for the first time, the system will display a security and authentication notificationmake sure you read it correctly and write “And it is” in the terminal, it will finally ask for the password, which by default will be raspberries and finally you will have full access to the command terminal of the Raspberry Pi.

Loading Facebook Comments ...
Loading Disqus Comments ...