ich bin neu hier und bin vor kurzem auf piVCCU gestossen, da YAHM bei mir nicht richtig funktioniert hat.
Ich habe die Installation schon einige male neu gemacht, verwendet wird ein Raspberry Pi 3 mit HM-MOD-RPI-PCB Funkmodul und RASPBIAN STRETCH LITE vom 2017-11-29.
Ich hab die Grundeinstellungen von Rasbian vorgenommen und auf einem sauberem System piVCCU nach der github Anleitung installiert.
Leider bekomme ich beim abfragen des Status folgendes Ergebnis:
Code: Alles auswählen
pi@raspberrypi:~ $ sudo pivccu-info
piVCCU version: 2.29.23-19
Kernel modules: Not available
Raw UART dev: Not available
Rasp.Pi3 UART: Assigned to GPIO pins
Board serial: Unknown
lxc doesn't exist
Folgende Abfragen ergeben:
journalctl -xe:
Code: Alles auswählen
pi@raspberrypi:~ $ journalctl -xe
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 23 18:11:31 raspberrypi systemd[597]: Reached target Basic System.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 23 18:11:31 raspberrypi systemd[597]: Reached target Default.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 23 18:11:31 raspberrypi systemd[597]: Startup finished in 64ms.
-- Subject: System start-up is now complete
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- All system services necessary queued for starting at boot have been
-- successfully started. Note that this does not mean that the machine is
-- now idle as services might still be busy with completing start-up.
--
-- Kernel start-up required KERNEL_USEC microseconds.
--
-- Initial RAM disk start-up required INITRD_USEC microseconds.
--
-- Userspace start-up required 64093 microseconds.
Dec 23 18:11:31 raspberrypi systemd[1]: Started User Manager for UID 1000.
-- Subject: Unit user@1000.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit user@1000.service has finished starting up.
--
-- The start-up result is done.
Dec 23 18:11:34 raspberrypi sudo[622]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/pivccu-info
Dec 23 18:11:34 raspberrypi sudo[622]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Dec 23 18:11:34 raspberrypi sudo[622]: pam_unix(sudo:session): session closed for user root
Dec 23 18:11:37 raspberrypi sudo[639]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/nano /etc/network/interfaces
Dec 23 18:11:37 raspberrypi sudo[639]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Dec 23 18:15:12 raspberrypi sudo[639]: pam_unix(sudo:session): session closed for user root
Dec 23 18:17:01 raspberrypi CRON[652]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 23 18:17:01 raspberrypi CRON[656]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Dec 23 18:17:01 raspberrypi CRON[652]: pam_unix(cron:session): session closed for user root
lines 1317-1367/1367 (END)
Code: Alles auswählen
pi@raspberrypi:~ $ systemctl status pivccu.service
● pivccu.service - piVCCU
Loaded: loaded (/lib/systemd/system/pivccu.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-12-23 18:11:06 CET; 7min ago
Process: 556 ExecStart=/var/lib/piVCCU/start_container.sh (code=exited, status=1/FAILURE)
CPU: 26ms
Dec 23 18:11:06 raspberrypi systemd[1]: Starting piVCCU...
Dec 23 18:11:06 raspberrypi start_container.sh[556]: <11>Dec 23 18:11:06 piVCCU: Could not locate raw uart interface. Are the kernel modules and the device tree overlays installed?
Dec 23 18:11:06 raspberrypi systemd[1]: pivccu.service: Control process exited, code=exited status=1
Dec 23 18:11:06 raspberrypi systemd[1]: Failed to start piVCCU.
Dec 23 18:11:06 raspberrypi systemd[1]: pivccu.service: Unit entered failed state.
Dec 23 18:11:06 raspberrypi systemd[1]: pivccu.service: Failed with result 'exit-code'.
Code: Alles auswählen
pi@raspberrypi:~ $ apt-cache show pivccu
Package: pivccu
Priority: extra
Section: misc
Maintainer: Alexander Reinert <alex@areinert.de>
Architecture: armhf
Version: 2.29.23-19
Depends: pivccu-kernel-modules
Pre-Depends: lxc, bridge-utils, systemd
Filename: pool/main/p/pivccu/pivccu-2.29.23-19.deb
Size: 58734268
MD5sum: fe8e0addbe3be10732cf819b469a0134
SHA1: ad7f69bb9bffeee4b43d80d02efc7e51ec57446d
SHA256: 3f37e58e8e2625933dc6747d5d48ac9235be92eb2e81e06f6e1cc1a0b6debfab
SHA512: d9a60fa7d11bf8676e73e780402f173fc569d595a367bc7421f52c4d03985e80bd30d863aab266544c7694b3fb2e023dd4300da7840e739af632a57332c483f3
Description: piVCCU - Homematic CCU LXC container
This package contains piVCCU - a Homematic CCU LXC container
Description-md5: b58b32cd9997994d89c73791f4b289c5
Homepage: https://github.com/alexreinert/piVCCU
Hier fehlt vermutlich "vethpivccu"...
Code: Alles auswählen
pi@raspberrypi:~ $ sudo ifconfig
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.178.24 netmask 255.255.255.0 broadcast 192.168.178.255
inet6 fe80::ba27:ebff:fe7d:6589 prefixlen 64 scopeid 0x20<link>
inet6 2003:e0:73ca:c700:ba27:ebff:fe7d:6589 prefixlen 64 scopeid 0x0<global>
ether b8:27:eb:7d:65:89 txqueuelen 1000 (Ethernet)
RX packets 2516 bytes 425190 (415.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 224 bytes 34829 (34.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether b8:27:eb:7d:65:89 txqueuelen 1000 (Ethernet)
RX packets 3532 bytes 803223 (784.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 224 bytes 37173 (36.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 2 bytes 78 (78.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 78 (78.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0