Tested on:RPi3; Raspbian Stretch
Prerequisites:Raspberry Pi with Raspbian Jessie(see steps 1-5 in the Introduction)

raspi-config: Raspberry Pi configuration with terminal commands

The need of manual interaction with raspi-config disturbs many installation procedures. Luckily, nowadays raspi-config can be configured with terminal commands and can be used for fully automated installer scripts.

For example, SSH, SPI and the camera can be activated with

If a 1 is passed instead of the 0, the device is deactivated again. An overview of existing terminal commands for controlling raspi-config is available on StackOverflow.

raspi-config terminal commands on StackOverflow: https://raspberrypi.stackexchange.com/questions/28907/how-could-one-automate-the-raspbian-raspi-config-setup#47958
raspi-config on eLinux: https://elinux.org/RPi_raspi-config

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


Time limit is exhausted. Please reload CAPTCHA.