Difference between revisions of "Dedicated RPI Camera Monitor"
Line 28: | Line 28: | ||
make and install dwm and st | make and install dwm and st | ||
apt-get remove nfs-common rpcbind avahi-daemon | apt-get remove nfs-common rpcbind avahi-daemon | ||
continue following that guide | |||
.xinitrc for your new user will be | |||
#!/bin/bash | |||
export DISPLAY=:0 & | |||
xset s off & | |||
xset -dpms & | |||
/usr/bin/firefox & | |||
exec dwm |
Revision as of 23:03, 22 August 2018
Following the similar Dedicated_SBC_Camera_Monitor guide, I'll do the same thing with a Raspberry Pi model 3, and Devuan Ascii, this time (migrated from Debian Stretch Lite)
First, image the Debian Stretch Lite to your SD card
Boot up and enable ssh (service ssh start), change your password (passwd pi), and apt-get update && apt-get dist-upgrade If you later want to use ffmpeg and hwaccel to view streams, you will want to install ffmpeg now from the official rpi repos (more details further down).
Now migrate following these instructions [1]
Before installing sysvinit-core I created an /etc/network/interfaces file with the following tab did not exist. auto eth0 iface eth0 inet dhcp i Before rebooting, after apt-get install sysvinit-core, make sure /etc/inittab exists, and has startup data. I've had issues where, when migrating a VPS to devuan Jessie, inittab did not exist, and the VPS would fail to boot.
Continue with the ascii migration guide.
At the end, go to /etc/apt/sources.list.d/ and remove the raspberry pi link there.
Sidenote: This particular arm OS is armhf (arm with hardware float peripheral included). There is also armel, and arm64 (arm with software float, and arm 64 bit respectively) that is available for debian on the pi. The devuan sd card image for rpi3, if used from the devuan mirrors, is arm64. This is an important distinction in the case that you might want to use this platform for something else. Some apt packages and external software that is available for armhf, are not supported (officially supported) as well in arm64, and possibly vice versa. The main raspberry pi 3 images are armhf, so from that, most software is compatible with armhf.
I will try install firefox-esr here. NOTE: it's truly best to use VLC or mplayer with the hwaccel codecs, and directly view the RTSP stream of the camera, but I happen to be using this for viewing an internet stream in this use case scenario. For those interested in using VLC or mplayer direct with hwaccel codecs, please see this thread [2].
Continue following the Dedicated SBC guide, where you install htop, tcpdump, and git clone the repos for dwm and st. make and install dwm and st apt-get remove nfs-common rpcbind avahi-daemon
continue following that guide .xinitrc for your new user will be
- !/bin/bash
export DISPLAY=:0 & xset s off & xset -dpms & /usr/bin/firefox & exec dwm