sudo dpkg -i VNC-Server-5.2.b VNC-Viewer-5.2.b We need to install these onto our Pi and to do that we use the following command. We now have two new files in our current directory VNC-Server-5.2.b In a terminal type the following, and press Enter to run. This will download an archive to our Raspberry Pi, now we need to extract the contents. In a terminal type the following and press Enter to run. We start by downloading the package which contains the software for our Raspberry Pi. With SSH running correctly lets now install a VNC server which will run on our Pi and enable remote control from a tablet/laptop/phone. You may need to reboot your Raspberry Pi if prompted. Exit raspi-config by clicking on Finish from the menu. Select to Enable the SSH server and press Enter. Select option A4 SSH using the cursor keys and press Enter. Navigate to option 8 Advanced Options and press Enter. If your SSH server is not running, then use this command to run raspi-config sudo raspi-config If working skip to Install VNC Server section If SSH is running correctly it will return this message. With your Raspberry Pi SD card inserted your Raspberry Pi, boot your Pi to the Raspbian desktop.įrom the desktop open a terminal and lets check that the SSH server is running using this command. To set a static IP address that is in the same range as we created earlier on Windows.Install a VNC server so we can control our Pi remotely. Our goal in configuring the Raspberry Pi is We used the latest version of Raspbian as it comes with an SSH server already setup. Configuring your Raspberry PiĬompared to configuring Windows our Raspberry Pi configuration is a little more complicated but take it step by step and not much can go wrong. You can now close all of the windows / dialog boxes that opened as a result of using the Network and Sharing Center. Make a note of these details before we move on. What's important is that you use an IP range that is similar for both the laptop and Raspberry Pi We also tested 192.168.3.10 and gateway 192.168.3.1 and they both worked a treat. So our laptop has an IP address of 192.168.0.10 and a gatewat of 192.168.0.1 but your laptop may need a different IP address. Click on Use the following IP address and change it to the following. But for our project we need to set the IP address manually. Typically a computer will get an IP address automatically from the router, this is a process known as DHCP (Dynamic Host Configuration Protocol). Left click on the text, leave the tick box alone :) then click on Properties to load the next dialog box. We are looking for Internet Protocol Version 4 (TCP/IPv4). So this screen looks a little scary right? It's ok though. Double left click on it to view its properties. We are interested in the Local Area Connection icon. On the left of the screen you can see Change adapter settings left click here and you will now see this screen. Or you can search for Network in the Start menu. We need to configure our laptop so that its Ethernet IP address is fixed and to do that we need to use the Network and Sharing Center, you can open this by right clicking on the icon in the bottom right of the screen. So we have the tools that we need, now we need to configure our Ethernet port so that we can communicate with our Raspberry Pi. For our machine we downloaded the 32-bit EXE version. The next piece of software that we need is a VNC viewer, and again we use the cream of the crop which is Real VNC To use it you will need to give a few details to the team behind it. Download putty and for now don't open it. For Windows we need to source an SSH client, and the most popular is called putty and I use the version from as it is a single file to download and requires no installation. To control our Raspberry Pi over a network we need two pieces of software. We start by booting our laptop to the Windows desktop. These steps can be reproduced on Windows Vista, 8 and 10. In this tutorial we used Windows 7 running on a Lenovo 圆1 laptop. So where do we begin? Let's start by setting up our Windows laptop. A laptop running Windows with an Ethernet port.VNC - A tool that enables a user to sit at a computer and control the mouse and keyboard of another while receiving a view of the desktop.īoth of these technologies work over a local network connection, but can also be used over great distances, should the need arise. SSH - A protocol that enables remote control of a computer. To control a Raspberry Pi remotely we need to use two technologies.
0 Comments
Leave a Reply. |