Initial Setup of Raspberry Pi 3 Model A+ (Headless Setup / No Cables) – Compatible with any Pi models with Wifi – Mac/Windows/Linux


– 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 :
(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:

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:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev


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
(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
Replace raspberry in raspberry:2 with ip address and type it in your vnc viewer
The highlighted part next to inet in wlan0 section is the ip of your raspberry pi

Step 12:
Get the IP address (Eg : ) 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 :

All Contents from 711Solutions are Trusted and Free From any Vulnerable Attacks.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s