Connecting Raspberry pi with your Laptop using Ethernet Cable

Published Feb 24, 2023
 0 hours to build
 Beginner

There are many steps available on the Internet to help you connect your raspberry pi with your Laptop using ethernet cable. But over here I am going to tell you one more way that worked for me and might also be helpful for you

display image

Components Used

Raspberry Pi 4 Model B - 2 GB RAM
Single Board Computers Raspberry Pi 4 Model B - 2 GB RAM
1
RJ45 Cable
Ethernet Cables / Networking Cables UTP SLIM CAT6 28AWG YELLOW 1FT
1
Camera Module Raspberry Pi
Camera Module Raspberry Pi
1
Description
  1. At first we have to install Raspbian pi OS on our MicroSD card. Here I am using "SanDisk Ultra 32 GB class 10" SD card. 
  2. Install "Raspberry pi Imager" from the following website: https://www.raspberrypi.com/software/
  3. After installing raspberry pi imager open it and use your SD card Reader to connect your SD card with your Laptop.
  4. Refer this document for installation: https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system

 

  1.  
  2. Connect your raspberry pi with ethernet Cable to your Laptop.
  3. Now switch ON your raspberry pi now. Keep it switched ON for a moment.
  4. Open "Control Panel" on your Laptop.
  5. Open "Network and Sharing Centre"
  6. A window will appear like this:
  7. In the Image "Wi-Fi(VIT 2.4G)" is my wi-fi connection given to my Laptop and Ethernet is connected to my raspberry pi.
  8. Click on "Wi-fi" as highlighted. A window will appear like this:
  9. Now Click on "Properties".
  10. A window will appear like this:
  11. Now here is a little catch. Many tutorials will tell you to select and double click on "Internet protocol version 4 (TCP/IPv4)". But before that there is one more important thing that needs to be done.
  12. Instead we will first click on "Sharing Tab". 
  13. Change all the settings on the window like it is given in the following image.
  14. Since the connection between my Laptop and Raspberry pi is being shown as "Ethernet" as per previous images. That's why I am also choosing "Ethernet" in the "Home connection menu".
  15. Now come to Networking section. Double click on "Internet protocol version 4 (TCP/IPv4)".
  16. Now you can proceed with normal operations as given in other tutorials.
  17. Change the Settings on the pop up window as given in the image.
  18. Press "Ok".
  19. Now you have to repeat the above process for "Ethernet" as well.
  20. Instead of doing any "sharing" setting we will be directly going for "networking" setting.
  21. Now double click on "Internet protocol version 4 (TCP/IPv4)". And do the same settings as given in the image.
  22. Click on "ok". And close everything. Wait for 5 mins because raspberry pi will take a little time to connect with the available networks i.e. your wi-fi right now. 
  23. Now download and open "Putty". You can use this link for download. https://www.putty.org/
  24. Now type "raspberrypi.local" as hostname on putty. Don't write the same hostname as given in the image because many a times users change the hostname of their raspberry pi straight during the installation of Raspbian pi OS on their SD card. If your Hostname was also "raspberrypi.local" during the installation then its ok.
  25. Click on Open.
  26. Enter your login ID and password which you entered during installation.
  27. After successful login it will appear like this.
  28. Now type "hostname -I" to get the IP address of your internet connection through which your raspberry pi is connected.
  29. Below which you will receive your IP address.
  30. Copy that IP address and use it on VNC viewer to connect with your raspberry pi.

Institute / Organization

VIT University, Vellore
Comments
Ad