It definitely can be done with the official Raspberry Pi OS.
To enable SSH logins on a headless system you just need to create an empty file named
ssh (or ssh.txt) on the small "boot" partition, which has a FAT32 file system (so you can even do that from a Windows or Mac OS PC).
To connect to a wireless network on first boot of a headless system, just create another file named
wpa_supplicant.conf on that same boot partition with the following content.
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="WiFi SSID"
psk="WPA/WPA2 passphrase"
}
Edit country=, ssid= and psk= with your information.
With those 2 files added to a freshly written RaspiOS card you can run a completely headless system. Further OS configuration can be done with the raspi-config utility (including enabling VNC remote desktop, assuming you are using Raspberry Pi OS with desktop or with desktop and recommended software).
I haven't tried Fedora, so I'm not sure if it has the same functionality.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?