Trinh @ Bath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
growpi_setupremote [2020/12/26 18:20]
trinh created
growpi_setupremote [2021/01/01 14:03]
trinh
Line 1: Line 1:
 ====== Setting up remote login ====== ====== Setting up remote login ======
 +~~NOTOC~~
  
 Hi papi.  Hi papi. 
  
 The next step is to setup remote login into the Raspberry Pi. It is likely the case that you will not want to access the Raspberry Pi by keyboard/mouse/monitor and instead you can login to the machine via your iPad or Desktop PC.  The next step is to setup remote login into the Raspberry Pi. It is likely the case that you will not want to access the Raspberry Pi by keyboard/mouse/monitor and instead you can login to the machine via your iPad or Desktop PC. 
 +
 +For complete information you can consult [[https://www.raspberrypi.org/documentation/remote-access/|the documentation]]. 
 +
 +==== Get your hostname ====
 +
 +The easiest way to connect to your Raspberry Pi is via your hostname address. 
 +
 +I have set your hostname to be ''%%tdtpi%%''. You can test this as follows. 
 +
 +Click the terminal. 
 +
 +{{ ::grow:terminal.png?nolink&600 |}}
 +
 +Now enter the command:
 +
 +<Code:bsh>
 +hostname
 +</Code>
 +
 +If everything works as intended, it should state: 
 +<Code:bsh>
 +tdtpi
 +</Code>
 +
 +This is your hostname. You can connect to your Raspberry Pi with the full "address" of ''%%tdtpi.local%%''. Your Raspberry Pi also has a network IP address. Try the command: 
 +
 +<Code:bsh>
 +ping tdtpi.local
 +</Code>
 +
 +This should return your IP (often similar to ''%%192.168.1.X%%'').
 +
 +==== Connect using iPad ====
 +
 +Now using your iPad, download the iOS application VNC Viewer by RealVNC available on the App store.
 +
 +{{ ::grow:realvnc.jpg?nolink&400 |}} 
 +
 +Now login to your Raspberry Pi. You should use the address: 
 +
 +<Code:bsh>
 +tdtpi.local
 +</Code>
 +
 +Your username and password are the same as before:
 +
 +<Code:bsh>
 +username: pi
 +password: m******71
 +</Code>
 +
 +{{ ::grow:vnc_login01.jpg?nolink&500 |}}
 +
 +{{ ::grow:vnc_login02.jpg?nolink&500 |}} 
 +
 +{{ ::grow:vnc_login03.jpg?nolink&500 |}} 
 +
 +{{ ::grow:vnc_login04.jpg?nolink&500 |}} 
 +
 +{{ ::grow:vnc_login05.jpg?nolink&500 |}} 
 +
 +[[https://projects.raspberrypi.org/en/projects/raspberry-pi-using/8|More information on using the terminal]]
 +
 +==== Connect using PC ====
 +
 +I prefer to use the PC for communicating with the Raspberry Pi. You want to go through the same steps above but using VNC Viewer for Windows: [[https://www.realvnc.com/en/connect/download/viewer/raspberrypi/|https://www.realvnc.com/en/connect/download/viewer/raspberrypi/]]
 +
 +==== Video guide ====
 +
 +<html>
 +<p style="text-align:center">
 +<iframe width="560" height="315" src="https://www.youtube.com/embed/wVrrvac3cFQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
 +</p>
 +</html>