Quick Headless Raspberry Pi Setup
To run any software on your Raspberry Pi, it clearly needs to be set up. However, without an HDMI capable device or a USB keyboard we won’t get anywhere without a headless setup. You will need a DHCP capable router, a Raspberry Pi, a SD card, and a SD card reader/writer (if you computer doesn’t already provide one).
Recent versions of Raspbian have disabled access via SSH by default, in an attempt to prevent the proliferation of Raspberry Pis joining botnets.
SSH disabled by default; can be enabled by creating a file with name “ssh” in boot partition
Thus you will need
/boot/ssh; simply touching that file should be
should do on macOS. Note: if you don’t see
re-inserting the SD card.
Eject the SD card, and boot up your Raspberry Pi.
The Raspberry Pi should come up as
raspberrypi on your network,
depending on your setup, logging in via SSH might be as simple as
Or you might have to figure out the Raspberry Pis ip address from your
router. The default password is raspberry and you are strongly advised
to change it upon logging in for the first time using
You can now configure your Raspberry Pi to your liking using
I would also suggest to install any pending updates:
sudo aptitude update sudo aptitude upgrade
With all that in place you can enjoy playing with your Raspberry Pi. Next we will create a cross compilation toolchain and cross compile software to run on the Raspberry Pi.
If you also have a tontec mz61581 tft display, you might want to add
/boot/config.txt and append
fbcon=map:10 to your
/boot/cmdline.txt to enable the the display during the boot process.