Raspberry pi Zero W - headless setup(Without using Keyboard,Mouse and Monitor)
- RaviKumar Uthirapathy
- May 24, 2020
- 2 min read
Raspberry pi Zero is a low cost board from raspberry community and comes with added wireless LAN and Bluetooth connectivity. Specification is awesome.
1GHz, single-core CPU
512MB RAM
Mini HDMI and USB On-The-Go ports
Micro USB power
HAT-compatible 40-pin header
Composite video and reset headers
CSI camera connector
First download Raspbian image and burn into micro SD card
Second, add wifi_supplicant.conf file in SD card for setup wireless network configuration
Third, add ssh.txt file in SD card for enable SSH connection
ssh.txt preparation
Click File / Save As …
Be sure to set Save as type to All Files (so the file is NOT saved with a .txt extension)
Call the file ssh.txt and save it
Close the file
wifi_supplicant.conf file preparation
To add network info you need to create a second text file called wpa_supplicant.conf and place that in the root of the boot SD too.
Run Notepad or using Notepad ++
In a new file
Paste in the contents below
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network=
{
ssid="your wifi signal credentials "
psk="your wifi signal credentials"
}
4. Click File / Save As wpa_supplicant.conf and save it
Put the SD card into the Pi Zero W
Plug a Micro-USB power cable into the power port (the one closest to the end of the board) before that please ensure your wifi signal is available.
Find out the IP which was allocated by your wifi router
Use AdvancedIP scanner on windows pc, scan tour wifi network with your router IP address to Broadcast address.
On successful completion of scanning IP which alloted to your raspberry pi zero with host name of Raspberry pi foundation.
Login to Raspberry pi using Putty
use the Host Name (or IP address) field to raspberrypi.local (dont change anythong)
On putty terminal displayed login name.
The default user name is: pi
The default password is: raspberry (Enter correctly letter is not displayed)
Finally terminal prompt shows,
home@raspberrypi$
Thats all .
Comments