Instead of Raspbian, flash the latest image release using balenaEtcher https://github.com/marcone/teslausb/releases
Once flashed, mount the sd card, and in the boot directory create a file named teslausb_setup_variables.conf
with the config:
export ARCHIVE_SYSTEM=cifs
export archiveserver=Nautilus
export sharename=SailfishCam
export shareuser=sailfish
export sharepassword='pa$$w0rd'
export camsize=100%
export SSID='your_ssid'
export WIFIPASS='your_wifi_password'
export HEADLESS_SETUP=true
Now, boot the raspberry pi with HDMI to see the installation progress
Enable ssh
cd /Volumes/boot
touch ssh
configure wireless
nano wpa_supplicant.conf
network={
ssid="YOUR_SSID"
psk="YOUR_WIFI_PASSWORD"
key_mgmt=WPA-PSK
}
ping raspberrypi.local
Pi Zero can emulate a whole host of USB devices including
Original repo for Testusb: https://github.com/cimryan/teslausb
Original One-step setup https://github.com/marcone/teslausb/blob/main-dev/doc/OneStepSetup.md