Remote access Raspberry pi

Musaddiq Al Ali (Ph.D.)
3 min readAug 14, 2020

--

In the previous parts we flashed the Raspbian on micro sd card , lets plug our Raspberry pi with LAN,HDMI, and keyboard then micro USB power supply. The power supply should be sufficient enough. Raspberry pi is not a power hungry board ( at least for the one I use for this series which is Raspberry pi 2) .

After powering the broad, it will soon start to boot with rainbow screen then it will turn to be black based screen then the insta’llation will be almost complete after finishing the the installation as the pictures below

After finishing update it is the time to control Rospberry pi from another computer. This will limit the unnecessary physical attachment with the board as well as let us control our project remotely. First from the command as shown in the picture type:

sudo raspi-config

The following window will appear . We need to enable SSH as the following steps

Now check the IP address of the device using

sudo ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.145.89 netmask 255.255.255.255 broadcast 192.112.0.1
inet6 fe80::3950:afbc:82c2:d1e7 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:7a:5d:48 txqueuelen 1000 (Ethernet)
RX packets 18426 bytes 1385357 (1.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 43920 bytes 60578305 (57.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 122.14.12.60 netmask 255.255.255.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 11 bytes 918 (918.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11 bytes 918 (918.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

check the ssh with the following command ssh ( your user name , as default it is : pi)@( yor IP) so for our example it will be “

ssh pi@192.168.145.89

the it will ask you the password. After entering the password it will show the following message

pi@192.168.145.89's password: 
Linux raspberrypi 4.19.81-v7+ #1276 SMP Fri Nov 1 14:13:14 GMT 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extentpermitted by applicable law.

Next episode will discuss installing python3 and tensor flow on Raspberry pi

--

--

Musaddiq Al Ali (Ph.D.)
Musaddiq Al Ali (Ph.D.)

Written by Musaddiq Al Ali (Ph.D.)

0 Followers

Specialized in structural optimization and laser physics

No responses yet