KNX with Raspberry Pi – Install Raspbian Part 1

  • Download Raspbian Stretch from https://www.raspberrypi.org
  • Find required device name
    df -h
    /dev/mmcblk0p1 29G 32K 29G 1% /media/marc/1FAB-7

  • Umount device
    sudo umount /dev/mmcblk0p1

  • Copy image to SD card
    dd bs=4M if=2017-09-07-raspbian-stretch-lite.img of=/dev/mmcblk0p1
    sync

  • Mount image to activate ssh
    mount /dev/mmcblk0 /mnt
    touch /mnt/ssh

  • Connect raspberry to network and power up; Find IP address of Raspberry
    nmap -sP 192.168.178.0/24
    Nmap scan report for raspberrypi.fritz.box (192.168.178.42)

  • Enlarge filesystem by logging into pi with username pi and password raspbian
    ssh pi@192.168.178.42
    sudo raspi-config

  • Select 7) advanced options
  • Select a1) expand filesystem