- get raspbian lite: -> official site
- dump image to sdcard (via dd or other known methods)
- customize BOOT partition (optional, but recommended):
- activate SSH: generate an empty file named
ssh
- assign an IP Adress for the first start:
extend filecmdline.txt
:
ip=141.14.128.34::141.14.128.128:255.255.255.0:timet06:eth0:off
schematic:
IP:remote-boot-server:gateway:netmask:hostname:iface:autoconfig
- activate SSH: generate an empty file named
-
setup network as usual in
/etc/network/interfaces
# static network configuration auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 141.14.128.34 gateway 141.14.128.128 netmask 255.255.240.0 dns-nameservers 141.14.128.1 dns-search rz-berlin.mpg.de fhi-berlin.mpg.de
-
setup hostname (
/etc/hostname
) -
cleanup
/boot/cmdline.txt
(remove first-start network settings) -
install git:
sudo apt update && sudo apt install git
-
clone github repository:
git clone https://github.molgen.mpg.de/kw/raspytime
-
run
cd raspytime && sudo ./installscript.sh