HanG321 Blog

Raspberry Pi Zero W wifi and keyboard

headless setup according to https://core-electronics.com.au/tutorials/raspberry-pi-zerow-headless-wifi-setup.html

unfortunately it does not work for me, there is no IP address assigned in router info page. Connect Pi Zero W with HDMI and USB keyboard. I don’t have mini-USB to USB converter, surprisingly the OTG converter works.

$ sudo vim.tiny /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=AU

# Home Network
network={
    ssid="SSID1"
    psk="password1"
    key_mgmt=WPA-PSK
}

# Office Network
network={
    ssid="SSID2"
    psk="password2"
    key_mgmt=WPA-PSK
}

 

Since default locale is en_GB, the keyboard cannot type “|” in shell…… type $ sudo rasp-config  to re-config locale and $ sudo dpkg-reconfigure keyboard-layout  , then $ sudo reboot

Exit mobile version