1 – Download Raspbian
Go to https://www.raspberrypi.org/downloads/raspbian/ and download the latest Raspbian with desktop.
Raspbian Buster with desktop and recommended software
2 – Etch it on Micro SD Card
I use Etcher now also know Balena Etcher
Etch the .img on your micro SD card that will be used in your Raspberry pi
3 – Enable SSH
When the etch is complete remove and reinsert the card in your computer.
You need to create a file ssh with no extension on the root of the sd card.
In mac use terminal to access the root and use the command :
In windows open cmd Command
Go in your sd card in my case E: and type the following command.
e: type nul > ssh
This will create the ssh file in the root of the sd card.
This will tell your Raspberry pi to enable ssh when configure the unit for the first time.
So we can access the unit headless.
4 – Boot and access the pi in terminal or putty
Remove the card and insert in a Power Off Raspberry pi.
Make sure the pi has an RJ45 Network cable connect to the internet.
After a few minutes/secondes your pi is running.
Use a tool to scan your network to get the Raspberry pi IP address.
In my case I use Angry IP Scanner or Fing
My Raspberry Pi took the IP 192.168.50.10
In mac OSX you can open terminal.
ssh pi@your raspberry ip ssh firstname.lastname@example.org
The default password is “raspberry”
In windows use putty. With the same user and address.
Now it’s time to change the default password.
passwd Enter the raspberry password Type your new password 2 time
Next time you will try to connect to your Raspberry pi you need to use the new password.
5 – Update / Upgrade & install missing tool
When log in type the following command to update and upgrade your pi.
sudo apt-get update sudo apt-get upgrade
This process should take 1-2 minutes.
6 – RE Configure your pi to be able to access with team viewer
Type this command to start the reconfigure process.
In the menu, you need to do 3 things.
Disable some display.
Re-enable the correct one.
Set a default Resolution so Teamviewer will work.
Go in Option 7 Advanced Option
Select option A9 Pi 4 Video Output
Now the option V3 Disable Both
Return in Option 7 A9 And V1 Enable 4Kp60 HDMI
Last Go in Option 7 Then in Option A5 Resolution
Then choose the last DMT Mode 82 1920 x 1080
Exit and reboot using the command.
sudo shutdown -r now
7 – Install Team Viewer
To install TV it’s pretty simple.
Connect to the PI in SSH
Go in your Download Folder.
Then type those following command.
wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb sudo apt-get -f install ./teamviewer-host_armhf.deb
In the process type y to confirm the installation.
Sometime it will fail and you need to re-run the last command.
Now we need to configure TV
sudo teamviewer setup
Follow the on-screen instructions.
It will ask you to connect to your account.
Most of the time it will ask you do double opt-in in the sign-in process.
Add the device to your trusted list.
When complete you are done.
I purchase 3 Raspberry pi 4 to install in remote office.
So I have access to the network un-attended without disturbing some user when taking control of there computer.