Create User Account and Password
As of the bullseye release of the Raspberry Pi OS, the default account with username
pi and password raspberry has been removed. This blog post has more
information.(https://adafru.it/19te)
To create a user account, a file named userconf.txt is created that contains the
account username and encrypted password. The password must be encrypted, which
can be a hassle. If you have access to a running Pi or other linux machine, can use the
following:
pi@raspberrypi:~ $ echo "raspberry" | openssl passwd -6 -stdin
$6$AAEwDli5NhfHfGpt$Wtvv7DiMGR8mtGn/
rDlgn80.MYQ2.bGCBmWrULW75KyTsXNm1vFndSS8TLdlxWZbNMoEuWqlmIwr3f9grFMf5/
The resulting contents of the userconf.txt file would then look like:
pi:$6$AAEwDli5NhfHfGpt$Wtvv7DiMGR8mtGn/
rDlgn80.MYQ2.bGCBmWrULW75KyTsXNm1vFndSS8TLdlxWZbNMoEuWqlmIwr3f9grFMf5/
That will create a user account with username pi and password raspberry.
Configure WiFi
The Pi Zero W has built in WiFi so nothing additional is required. WiFi is only
supported on 2.4 GHz band. If you are using the original Pi Zero, you will need some
form of WiFi Adapter(http://adafru.it/814) and a way to connect it: cable(http://
adafru.it/1099) or adapter(http://adafru.it/2910).
The WiFi configuration file does not exist and needs to be created. The name of the
file should be wpa_supplicant.conf and its contents will get copied to the system
folder at boot time. It will then be deleted. So this a one time only process. If you want
to try again, you have to recreate the file and reboot.
The contents of the file should be as shown below. Replace YOURSSID and
YOURPASSWORD with whatever is used for your network setup.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="YOURSSID"
psk="YOURPASSWORD"
©Adafruit Industries Page 9 of 34