How to connect the Raspberry Pi to laptop using putty
I had a problem when using the Raspberry pi which is I don’t have a separate display or a monitor to connect it. I had only the laptop with me. So after googling I found some interesting stuff. The best part is you can use your laptop’s(or PC’s) keyboard and track pad(or mouse pad) with the raspberry pi. Let’s see what is this method.
What you need
- Obviously a Raspberry Pi with Power Supply
- Ethernet cable
- Internet Router (Like ADSL or Fixed 4G anything is ok)
- VNC Viewer
- Advanced IP Scanner
How to do it
After getting what you need, downloading and installing required software in your laptop(or PC) follow these steps.
- Connect your Raspberry Pi to power supply and once you turn the power on it will boot automatically.
- Connect your Ethernet cable to Internet Router (make sure your router has a working internet connection).
- Connect the other end of the Ethernet cable to Raspberry Pi.
4. Open the Advanced IP Scanner and click Scan button. Then you will get a list of devices connected to your router and there ip addresses. Note down the ip address related to your raspberry pi.
5. Open the putty.exe file.
6. Type the noted ip address of the raspberry pi in the Host Name space and let other settings as default.
7. Then click Open and it will open a terminal(command prompt).
8. Type pi as the login and raspberry as the password and hit enter.
9. Then type the following commands in the terminal.
sudo apt-get update
sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer
10. After that type vncserver and press enter.
11. Note down the new desktop ip address.
12. Run VNC Viewer in your laptop(or PC) .
13. Go to file menu and click new connection.
14. Type the noted desktop address as the VNC Server and give a name for the connection.
15. Click OK.
16. Then double click the connection icon displayed in the VNC Viewer and enter the username as pi and password as raspberry and start work with your raspberry pi in your laptop. 😀
Originally published at www.blog.raveen.me on April 8, 2017.