Raspberry Pi 3 B+: Difference between revisions

From misc notes
Jump to navigation Jump to search
Line 43: Line 43:


gpasswd -a homebridge dialout
gpasswd -a homebridge dialout
</syntaxhighlight>
== disable IPv6 ==
/boot/cmdline.txt
<syntaxhighlight lang="text" enclose="div">
ipv6.disable=1 consoleblank=0
</syntaxhighlight>
</syntaxhighlight>

Revision as of 14:54, 4 May 2019

memo

Ubuntu Server 18.04

Ubuntu Server on a Raspberry Pi 2 or 3

netplan

/etc/netplan/50-cloud-init.yaml

netplan apply

結局 RPi HDMI の制御ができなさそうなので、せっかくの aarch64 だがやりたいことが難しいので採用はしないことにした。

Raspbian memo

setup

raspi-config
# edit: /boot/config.txt
#  uncomment: hdmi_force_hotplug=1
apt-get install emacs-nox
apt-get install cec-utils
apt-get install nodejs npm
npm install -g n
n stable
aptitude purge nodejs npm
npm install -g --unsafe-perm homebridge
npm install -g homebridge-cmdswitch2
aptitude install supervisor
aptitude install python-serial
aptitude install avahi-utils
setup ssh keys
setup homebridge user & group
setup sudousers
setup homebridge (/var/lib/homebridge)
setup sshtunnel
setup querierd

gpasswd -a homebridge dialout

disable IPv6

/boot/cmdline.txt

ipv6.disable=1 consoleblank=0