Skip to content

Wiki Headless

Carsten edited this page Feb 3, 2019 · 13 revisions

Welcome to the raspberry_headless wiki!

use rc.local

systemctl enable rc-local.service

Nice article

Maximize size of filesystem

raspi-config --expand-rootfs

reboot

DELETE ROOT PASSWORD

remove password : sudo passwd -d root

SAMBA

sed -i 's/read only = yes/read only = no/g' /etc/samba/smb.conf

smbpasswd -a pi

/etc/init.d/samba restart

BEAGLEBONE BLACK

boot from SD card

just insert SD card with a valid image an boot ....

Flash eMMC using SD Card

/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

stop the blue LED

echo none > /sys/class/leds/beaglebone:green:usr0/trigger

run a service

cd /etc/systemd/system

create new file testServer.service

[Unit]

Description=ENS Test Server After=network.target StartLimitIntervalSec=0

[Service]

Type=s

Restart=always

RestartSec=1

User=root

ExecStart=/home/debian/testServer/TestServer.exe

[Install]

WantedBy=multi-user.target

Clone this wiki locally