Archive for the ‘Linux Solution’ Category

Mattermost Release v5.28 – now offers certificate-based AD/LDAP authentication

Donnerstag, Oktober 22nd, 2020

Node-RED 1.2.1 – now generally available

Donnerstag, Oktober 15th, 2020

Raspberry Pi 4 8GB – boot a ESXi-ARM ISO

Mittwoch, Oktober 14th, 2020

Banana Pi BPI-EAI80 AIoT – ist ab sofort für knapp € 14 erhältlich

Sonntag, Oktober 11th, 2020

Raspberry Pi – WLAN/WIFI ohne Monitor und Tastatur einrichten

Samstag, Oktober 10th, 2020

   Um die WLAN Zugangsdaten einzurichten muss eine Datei namens ‚wpa_supplicant.conf‘ im Rootverzeichnis (/boot) der SD-Karte erstellt werden mit diesem Inhalt

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
network={
ssid=“<ssid>“
psk=“<password>“
key_mgmt=WPA-PSK
}

… und es muss SSH aktiviert werden um ohne Monitor und Tastatur (also ‚headless‘) per Netzwerk die Administration machen zu können aber aus Sicherheitsgründen ist SSH standardmäßig nicht aktiviert aber mit einer Datei ’ssh‘ im Rootverzeichnis (/boot) der SD-Karte erstellt ohne Inhalt wird SSH aktiviert beim ersten Start

Raspberry Pi – install ‚motionEye‘ a security camera

Samstag, Oktober 10th, 2020

motionEye is a web-based frontend for motion – install on Raspbian

# apt-get install ffmpeg libmariadb3 libpq5 libmicrohttpd12
# wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
# dpkg -i pi_buster_motion_4.2.2-1_armhf.deb
# apt-get install python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev
# pip install motioneye
# apt-get install python-pillow
# mkdir -p /etc/motioneye
# cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
# mkdir -p /var/lib/motioneye
# cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
# systemctl daemon-reload
# systemctl enable motioneye
# systemctl start motioneye
# pip install motioneye –upgrade
# systemctl restart motioneye
http://<IP@>:8765/

Mattermost Release v5.27 – is now available

Donnerstag, Oktober 8th, 2020

Cacti – how to monitor the network using Raspberry Pi

Mittwoch, September 23rd, 2020

Raspberry Pi – how to boot from a USB mass storage device such as a flash drive or a USB hard disk

Samstag, September 19th, 2020

   Raspberry Pi – how to boot from a USB mass storage device such as a flash drive or a USB hard disk

Raspberry Pi – enabling SNMPv2

Samstag, September 5th, 2020

# apt-update -y
# apt-get install -y snmpd snmp
# systemctl stop snmpd
Edit the file vi /etc/snmp/snmpd.conf and change the following
These three lines are the default
agentAddress udp:127.0.0.1:161
rocommunity public default -V systemonly
rocommunity6 public default -V systemonly
I changed to these lines
agentAddress udp:192.168.1.159:161
rocommunity SuPerSecr3t default -V systemonly
# rocommunity6 public default -V systemonly
# snmpwalk -v 2c -c SuPerSecr3t 192.168.1.159
iso.3.6.1.2.1.1.1.0 = STRING: „Linux rpi-iot-jsho-zabbix-client-01 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l“
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (7212) 0:01:12.12
iso.3.6.1.2.1.1.4.0 = STRING: „Me <me@example.org>“
iso.3.6.1.2.1.1.5.0 = STRING: „rpi-iot-jsho-zabbix-client-01“
iso.3.6.1.2.1.1.6.0 = STRING: „Sitting on the Dock of the Bay“
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.11.3.1.1
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.15.2.1.1
iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.10.3.1.1
iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1
iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.6.3.16.2.2.1
iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.49
iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.4
iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.2.1.50
iso.3.6.1.2.1.1.9.1.2.9 = OID: iso.3.6.1.6.3.13.3.1.3
iso.3.6.1.2.1.1.9.1.2.10 = OID: iso.3.6.1.2.1.92
iso.3.6.1.2.1.1.9.1.3.1 = STRING: „The MIB for Message Processing and Dispatching.“
iso.3.6.1.2.1.1.9.1.3.2 = STRING: „The management information definitions for the SNMP User-based Security Model.“
iso.3.6.1.2.1.1.9.1.3.3 = STRING: „The SNMP Management Architecture MIB.“
iso.3.6.1.2.1.1.9.1.3.4 = STRING: „The MIB module for SNMPv2 entities“
iso.3.6.1.2.1.1.9.1.3.5 = STRING: „View-based Access Control Model for SNMP.“
iso.3.6.1.2.1.1.9.1.3.6 = STRING: „The MIB module for managing TCP implementations“
iso.3.6.1.2.1.1.9.1.3.7 = STRING: „The MIB module for managing IP and ICMP implementations“
iso.3.6.1.2.1.1.9.1.3.8 = STRING: „The MIB module for managing UDP implementations“
iso.3.6.1.2.1.1.9.1.3.9 = STRING: „The MIB modules for managing SNMP Notification, plus filtering.“
iso.3.6.1.2.1.1.9.1.3.10 = STRING: „The MIB module for logging SNMP Notifications.“
iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.9 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.4.10 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.25.1.1.0 = Timeticks: (121314) 0:20:13.14
iso.3.6.1.2.1.25.1.2.0 = Hex-STRING: 07 E4 09 05 0D 2D 22 00 2B 01 00
iso.3.6.1.2.1.25.1.3.0 = INTEGER: 393216
iso.3.6.1.2.1.25.1.4.0 = STRING: „coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2“
iso.3.6.1.2.1.25.1.5.0 = Gauge32: 3
iso.3.6.1.2.1.25.1.6.0 = Gauge32: 128
iso.3.6.1.2.1.25.1.7.0 = INTEGER: 0
iso.3.6.1.2.1.25.1.7.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

Raspbian Buster 2020-08-20 – released

Freitag, September 4th, 2020

Mattermost 5.26 – is now available for download

Freitag, August 28th, 2020

Docker Official Image ‚PostgreSQL‘ – an object-relational database system provides reliability and data integrity

Mittwoch, August 26th, 2020

  Docker Official Image ‚PostgreSQL‘ – often simply „Postgres“ is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. As a database server, its primary function is to store data, securely and supporting best practices, and retrieve it later, as requested by other software applications, be it those on the same computer or those running on another computer across a network

Raspberry Pi – Docker is a tool for creating deploying and running applications in containers

Montag, August 24th, 2020
# apt-get update -y
# apt-get upgrade -y
# curl -fsSL https://get.docker.com -o get-docker.sh
# chmod +x get-docker.sh
# ./get-docker.sh
# usermod -aG docker pi
# docker version
# docker info
# docker run hello-world

# docker run –name wordpress -d -p 80:80 waog/rpi-wordpress

Raspberry Pi – PiShrink is a bash script that automatically shrink a pi image that will then resize to the max size of the SD card on boot

Samstag, August 22nd, 2020