With a rpi 1 debian is a bit shite, it's a shame as it's easy to customize and set up.
Install debian image from https://raspi.debian.net/daily-images/ using dd
xzcat raspi_1_bookworm.img.xz | sudo dd of=/dev/mmcblk0 bs=4M
Configure root password or ssh key using root_pw
or root_authorized_key
in the file sysconf.txt
which is at the base of the firmware partition (mounts as RASPIFIRM) on the image. Documentation here: https://raspi.debian.net/defaults-and-settings/
Configure wireless in the pre-existing file etc/network/interfaces.d/wlan0
in the root partition (mounts as RASPIROOT) included in the image.