HEADLESS RASPBERRY PI 3 SETUP
Requirements:
– Raspberry Pi 3 – Any Model with Wifi (Test on Model A+)
– MicroSD Card (8GB or More)
– MicroSD Card Reader/Adapter
– MicroUSB to USB connector
– A WiFi Hotspot
– A PC Obviously
Let’s Begin (macOS)
Windows/linux users also may follow similar steps but may have to use alternative software at certain steps.
(Note: Get all files and codes from Official Links, else you will be vulnerable to Hackers )
Step 1 :
Download Raspbian OS from the official Website and save it : https://www.raspberrypi.org/downloads/raspbian/
(Download any version of Raspbian you like – I used ‘Raspbian Stretch with desktop and recommended software‘ )
Step 2:
Download Etcher from the official Website and Install it in your system:
https://www.balena.io/etcher/
Step 3:
– Insert your microSD card to your PC using Card Reader
– Open Etcher, Click SELECT IMAGE button and choose your Raspbian image from saved location
– Then click SELECT DRIVE and Select your MicroSD card
– Finally Click FLASH and wait until it finishes
(automatically the SD card will get ejected)

Step 4:
– Plug out and Re-Insert your MicroSD card to PC
– You will see it mounted in the name ‘boot’
Step 5:
– Open an empty TextEdit and save it in boot with file name ‘ssh’ (No Extension)
– Again open another empty TextEdit and type the following:
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=“Your_Wifi_Name(SSID)”
scan_ssid=1
psk=“Your_wifi_Password”
key_mgmt=WPA-PSK
}
Save it in boot with the file name ‘wpa_supplicant.conf’
[ Enter your WiFi Name and Password in respective fields ]
(Windows users can use Notepad++ for creating the files)

Step 6:
Now you have two files in your microSD Card.
Eject your microSD card from PC and Insert it into your Raspberry Pi 3
Step 7:
Connect your Raspberry Pi to PC using the microUSB Cable to USB Port of PC.
Step 8:
You will see a green light flashing near the red power light of Raspberry Pi.
Hurray ! Waiting for 30-60s . . .
Important : Connect your PC to same WiFi Network your provided for your Raspberry Pi File above
Now open Terminal and Type the following and wait :
ssh pi@raspberrypi.local
——————————————————————————————————————–
Note : (Mac) If you gets an error at this point as in the below picture, do the following:
– Open Terminal and Type :
sudo nano /Users/your_pc_username/.ssh/known_hosts
– Delete all the Raspberry Pi related texts (Most case Delete everything in that file)
– Press Ctrl+O and hit Enter to Save
– Press Ctrl+X to exit
– Type again : ssh pi@raspberrypi.local

——————————————————————————————————————–
Step 9:
Now You will be asked to enter password for your Pi.
Default User Name: pi
Default Password: raspberry
Yahooooo ! your are connected to Pi Terminal
Keep this as it is.
Step 10:
Now Install a VNC viewer for your PC, i prefer realvnc
https://www.realvnc.com/en/connect/download/viewer/
(Available for all OS)
Step 11:
Now in the Pi Terminal type the following commands one by one :
$ sudo apt-get update
$ sudo apt-get install tightvncserver
$ /usr/bin/tightvncserver
$ vncserver
$ ifconfig


Step 12:
Get the IP address (Eg : 172.20.10.4:2 ) and type it in the VNC Viewer and Connect
(as in Figure)
Note: The number 2 in the IP Address came from raspberry:2 which you get on executing the command $ vncserver , if that number is different change it in IP also
Type in the tightvnc password
(The one You provide while executing the codes $/usr/bin/tightvncserver )
And Your are IN !


Thank You.
Please comment for any Queries or email us : 711solutions@pm.me
All Contents from 711Solutions are Trusted and Free From any Vulnerable Attacks.
711Solutions.