Pivccu 2018-04-19 - kein WLAN - kein SSH

Virtualisierte CCU für Raspberry Pi und Clones

Moderator: Co-Administratoren

carenick
Beiträge: 8
Registriert: 11.01.2018, 14:07

Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von carenick » 18.06.2018, 10:59

Guten Tag,

ich habe das "Raspbian_Stretch_Lite_piVCCU_2018-04-19" von der "https://www.pivccu.de/images/"
laut Anleitung installiert, er bootet dann auch korrekt, aber ich bekomme
keine Anmeldung über SSH hin und das WLAN bekomm ich auch gar nciht erst
aktivert, kann die Ländereinstellung dafür auch nicht ändern.

Wie kann ich die Probleme lösen.

Vielen dank im voraus

Mit freundlichen Grüßen,
Carsten

Benutzeravatar
deimos
Beiträge: 5398
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von deimos » 18.06.2018, 11:08

Hi,

die Images sind (bewusst) für LAN ausgelegt. Eine Hausautomatisierung über WLAN anzuschließen hat diverse Risiken, weil WLAN einfach nicht so zuverlässig ist.

Leider beschreibst du deine Probleme recht oberflächlich, so dass mir eine konkrete Hilfe schwer fällt:

Was meinst du genau damit, dass du keine Anmeldung über SSH bekommst? Timeout, Fehler beim Passwort, ...? Welche IP nutzt du für den SSH Login? Die vom Pi oder die von der (virtuellen) CCU?

Was meinst du damit, dass du die Ländereinstellungen beim WLAN nicht ändern kannst?

Aufgrund vom WLAN meine Empfehlung: Nimm die ein reines Raspbian Image und richte da das WLAN komplett ein. Danach machst du eine manuelle Installation von piVCCU, so wie sie auf Github beschrieben ist und beachtest speziell die Punkte für die WLAN Einrichtung, die sind etwas anders als bei einer Einrichtung mit LAN.

Viele Grüße
Alex

carenick
Beiträge: 8
Registriert: 11.01.2018, 14:07

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von carenick » 18.06.2018, 11:28

moin
danke für die superschnelle antwort
ja habs recht allgemein beschrieben, da ich nun nicht wußte ob es vll ein bekanntes Problem ist mit dem SSH und dem WLAN.

Das WLAN wollte ich nun nur zum konfigurieren nehmen, später läuft dann natürlich alles über LAN.
also WLAN scheint iwie nicht aktiv, wenn ich die Ländereinstllung vom WLAN ändern will dann komm
"could not communicate with wpa_supplicant". das ist nun aber auch nicht soo wichtig für mich.

wichtiger ist mir der Zugang per SSH auf den Pivccu,also direkt auf den Pi nicht auf den Container.
muss ich denn überhaupt erst über sudo raspi-config das SHH aktivieren?
oder müsste das von anfang an gehen?

und ist in dem Image der/die/das IO-Broker schon drin oder muss das noch installiert werden ?

Benutzeravatar
deimos
Beiträge: 5398
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von deimos » 18.06.2018, 11:38

Hi,

wenn du später LAN nutzen willst, dann verwende es besser bereits jetzt. Aufgrund von (techn.) Beschränkungen beim WLAN läuft das komplett anders und muss auch komplett anders konfiguriert werden (NATing, weil bei WLAN keine Bridges funktionieren).

So wie ich es verstanden habe, sind die Tage von wpa_supplicant bei Raspbian angezählt, ich würde bei Neuinstallation nach Möglichkeit nicht mehr darauf setzen. Und ganz allgemein ist das WLAN bei den piVCCU Images nicht per Default konfiguriert, daher müsstest du hier erst in der /etc/network/interfaces dafür sorgen, dass das WLAN initialisiert wird.

SSH zum Host geht bei den piVCCU Images ab dem ersten Boot. Allerdings halt nicht mit dem Benutzer root.

IObroker ist in den Images nicht drin. Auf der ioBroker Seite gibt es aber fertige Images, welche auf dem piVCCU Image aufsetzen und dann ioBroker mitbringen.

Viele Grüße
Alex

carenick
Beiträge: 8
Registriert: 11.01.2018, 14:07

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von carenick » 18.06.2018, 14:03

nun hab ich das AllinOne Image von IoBroker genommen und komme auch per SSH über LAN auf den Pi.

IoBroker und CCU2 laufen auch, aber nachdem ich einmal ein
"sudo apt-get update && sudo apt-get upgrade -y" auf dem Pi mache
funktioniert nur noch der IoBroker und ich komme nicht mehr auf die CCU2.

"sudo pivccu-info"

piVCCU version: 2.31.25-31
Kernel modules: Available
Raw UART dev: Available
Rasp.Pi3 UART: Assigned to GPIO pins
Rasp.Pi3 Uart: Assigned to GP10 pins
unmount: /var/lib/piVCCU/rootfs/dev: target is busy
HMRF Hardware: unknown
HMIP Hardware: unknown
Board serial: unknown
Radio MAC: unknown
SGTIN: unkown
State: stopped

Benutzeravatar
deimos
Beiträge: 5398
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von deimos » 18.06.2018, 15:06

Hi,

mach mal

Code: Alles auswählen

apt update && apt upgrade
und danach einen Reboot. (apt ohne get!)

Viele Grüße
Alex

carenick
Beiträge: 8
Registriert: 11.01.2018, 14:07

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von carenick » 18.06.2018, 15:39

pi@All-In-One_RasPi:/etc/piVCCU $ apt update && apt upgrade

->

Code: Alles auswählen

Paketlisten werden gelesen... Fertig
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Die Operation ist nicht erlaubt)
E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung)
W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung)
pi@All-In-One_RasPi:/etc/piVCCU $ sudo apt update && apt upgrade
OK:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Holen:2 http://archive.raspberrypi.org/debian stretch InRelease [25,3 kB]
OK:3 https://deb.nodesource.com/node_8.x stretch InRelease
OK:4 https://www.pivccu.de/piVCCU stable InRelease
Es wurden 25,3 kB in 1 s geholt (15,3 kB/s).
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?

Hier nochmal ein paar mehr Überprüfungen

->

Code: Alles auswählen

pi@All-In-One_RasPi:/etc/piVCCU $ sudo pivccu-info
piVCCU version: 2.31.25-31
Kernel modules: Available
Raw UART dev:   Available
Rasp.Pi3 UART:  Assigned to GPIO pins
umount: /var/lib/piVCCU/rootfs/dev: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
HMRF Hardware:  unknown
HMIP Hardware:  unknown
Board serial:   unknown
Radio MAC:      unknown
SGTIN:          unknown
State:          STOPPED
pi@All-In-One_RasPi:/etc/piVCCU $ sudo systemctl start pivccu
Job for pivccu.service failed because of unavailable resources or another system error.
See "systemctl status pivccu.service" and "journalctl -xe" for details.

pi@All-In-One_RasPi:/etc/piVCCU $ systemctl status pivccu.service

● pivccu.service - piVCCU
   Loaded: loaded (/lib/systemd/system/pivccu.service; enabled; vendor preset: enabled)
   Active: failed (Result: resources) since Mon 2018-06-18 14:52:00 CEST; 12min ago
  Process: 9497 ExecStart=/var/lib/piVCCU/start_container.sh (code=exited, status=0/SUCCESS)
      CPU: 748ms

Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: <12>Jun 18 14:51:25 piVCCU: HMIP hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: kernel.sched_rt_runtime_us = -1
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Jun 18 14:51:30 All-In-One_RasPi systemd[1]: pivccu.service: PID file /var/run/pivccu.pid not readable (yet?) after start: No such file or directory
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Daemon never wrote its PID file. Failing.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: Failed to start piVCCU.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Unit entered failed state.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Failed with result 'resources'.
pi@All-In-One_RasPi:/etc/piVCCU $ journalctl -xe
Jun 18 14:09:50 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:09:50 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 2h 8min 41.653660s random time.
Jun 18 14:09:50 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 46min 22.113553s random time.
Jun 18 14:10:06 All-In-One_RasPi systemd[1]: Reloading.
Jun 18 14:10:07 All-In-One_RasPi systemd-sysv-generator[4711]: Overwriting existing symlink /run/systemd/generator.late/iobroker.service with real service.
Jun 18 14:10:07 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:10:07 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 11h 31min 49.838782s random time.
Jun 18 14:10:07 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 51min 40.396306s random time.
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: Reloading.
Jun 18 14:11:59 All-In-One_RasPi systemd-sysv-generator[7773]: Overwriting existing symlink /run/systemd/generator.late/iobroker.service with real service.
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 10h 43min 17.547830s random time.
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 22min 7.126923s random time.
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: Reloading.
Jun 18 14:12:13 All-In-One_RasPi systemd-sysv-generator[7795]: Overwriting existing symlink /run/systemd/generator.late/iobroker.service with real service.
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 3h 59min 40.972623s random time.
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 41min 35.702458s random time.
Jun 18 14:12:18 All-In-One_RasPi sudo[2643]: pam_unix(sudo:session): session closed for user root
Jun 18 14:17:01 All-In-One_RasPi CRON[7990]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 18 14:17:01 All-In-One_RasPi CRON[7994]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 18 14:17:01 All-In-One_RasPi CRON[7990]: pam_unix(cron:session): session closed for user root
Jun 18 14:47:18 All-In-One_RasPi sudo[9175]:       pi : TTY=tty1 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/pivccu-info
Jun 18 14:47:18 All-In-One_RasPi sudo[9175]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Jun 18 14:50:52 All-In-One_RasPi sudo[9425]:       pi : TTY=unknown ; PWD=/etc/piVCCU ; USER=root ; COMMAND=/usr/sbin/pivccu-info
Jun 18 14:50:52 All-In-One_RasPi sudo[9425]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 18 14:50:58 All-In-One_RasPi sudo[9425]: pam_unix(sudo:session): session closed for user root
Jun 18 14:51:18 All-In-One_RasPi sudo[9491]:       pi : TTY=unknown ; PWD=/etc/piVCCU ; USER=root ; COMMAND=/bin/systemctl start pivccu
Jun 18 14:51:18 All-In-One_RasPi sudo[9491]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 18 14:51:18 All-In-One_RasPi systemd[1]: Starting piVCCU...
-- Subject: Unit pivccu.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pivccu.service has begun starting up.
Jun 18 14:51:18 All-In-One_RasPi systemd[1]: Couldn't stat device /dev/pts/ptmx
Jun 18 14:51:18 All-In-One_RasPi systemd[1]: Couldn't stat device /dev/pts/ptmx
Jun 18 14:51:24 All-In-One_RasPi start_container.sh[9497]: umount: /var/lib/piVCCU/rootfs/dev: target is busy
Jun 18 14:51:24 All-In-One_RasPi start_container.sh[9497]:         (In some cases useful info about processes that
Jun 18 14:51:24 All-In-One_RasPi start_container.sh[9497]:          use the device is found by lsof(8) or fuser(1).)
Jun 18 14:51:25 All-In-One_RasPi piVCCU[9556]: HMRF hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: <12>Jun 18 14:51:25 piVCCU: HMRF hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi piVCCU[9575]: HMIP hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: <12>Jun 18 14:51:25 piVCCU: HMIP hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: kernel.sched_rt_runtime_us = -1
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Jun 18 14:51:30 All-In-One_RasPi systemd[1]: pivccu.service: PID file /var/run/pivccu.pid not readable (yet?) after start: No such file or directory
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Daemon never wrote its PID file. Failing.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: Failed to start piVCCU.
-- Subject: Unit pivccu.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pivccu.service has failed.
--
-- The result is failed.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Unit entered failed state.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Failed with result 'resources'.
Jun 18 14:52:00 All-In-One_RasPi sudo[9491]: pam_unix(sudo:session): session closed for user root

pi@All-In-One_RasPi:/etc/piVCCU $ sudo journalctl -xe
Jun 18 14:09:50 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 46min 22.113553s random time.
Jun 18 14:10:06 All-In-One_RasPi systemd[1]: Reloading.
Jun 18 14:10:07 All-In-One_RasPi systemd-sysv-generator[4711]: Overwriting existing symlink /run/systemd/generator.late/iobroker.service with real service.
Jun 18 14:10:07 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:10:07 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 11h 31min 49.838782s random time.
Jun 18 14:10:07 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 51min 40.396306s random time.
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: Reloading.
Jun 18 14:11:59 All-In-One_RasPi systemd-sysv-generator[7773]: Overwriting existing symlink /run/systemd/generator.late/iobroker.service with real service.
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 10h 43min 17.547830s random time.
Jun 18 14:11:59 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 22min 7.126923s random time.
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: Reloading.
Jun 18 14:12:13 All-In-One_RasPi systemd-sysv-generator[7795]: Overwriting existing symlink /run/systemd/generator.late/iobroker.service with real service.
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: apt-daily.timer: Adding 3h 59min 40.972623s random time.
Jun 18 14:12:13 All-In-One_RasPi systemd[1]: apt-daily-upgrade.timer: Adding 41min 35.702458s random time.
Jun 18 14:12:18 All-In-One_RasPi sudo[2643]: pam_unix(sudo:session): session closed for user root
Jun 18 14:17:01 All-In-One_RasPi CRON[7990]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 18 14:17:01 All-In-One_RasPi CRON[7994]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 18 14:17:01 All-In-One_RasPi CRON[7990]: pam_unix(cron:session): session closed for user root
Jun 18 14:47:18 All-In-One_RasPi sudo[9175]:       pi : TTY=tty1 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/pivccu-info
Jun 18 14:47:18 All-In-One_RasPi sudo[9175]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Jun 18 14:50:52 All-In-One_RasPi sudo[9425]:       pi : TTY=unknown ; PWD=/etc/piVCCU ; USER=root ; COMMAND=/usr/sbin/pivccu-info
Jun 18 14:50:52 All-In-One_RasPi sudo[9425]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 18 14:50:58 All-In-One_RasPi sudo[9425]: pam_unix(sudo:session): session closed for user root
Jun 18 14:51:18 All-In-One_RasPi sudo[9491]:       pi : TTY=unknown ; PWD=/etc/piVCCU ; USER=root ; COMMAND=/bin/systemctl start pivccu
Jun 18 14:51:18 All-In-One_RasPi sudo[9491]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 18 14:51:18 All-In-One_RasPi systemd[1]: Starting piVCCU...
-- Subject: Unit pivccu.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pivccu.service has begun starting up.
Jun 18 14:51:18 All-In-One_RasPi systemd[1]: Couldn't stat device /dev/pts/ptmx
Jun 18 14:51:18 All-In-One_RasPi systemd[1]: Couldn't stat device /dev/pts/ptmx
Jun 18 14:51:24 All-In-One_RasPi start_container.sh[9497]: umount: /var/lib/piVCCU/rootfs/dev: target is busy
Jun 18 14:51:24 All-In-One_RasPi start_container.sh[9497]:         (In some cases useful info about processes that
Jun 18 14:51:24 All-In-One_RasPi start_container.sh[9497]:          use the device is found by lsof(8) or fuser(1).)
Jun 18 14:51:25 All-In-One_RasPi piVCCU[9556]: HMRF hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: <12>Jun 18 14:51:25 piVCCU: HMRF hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi piVCCU[9575]: HMIP hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: <12>Jun 18 14:51:25 piVCCU: HMIP hardware was not detected
Jun 18 14:51:25 All-In-One_RasPi start_container.sh[9497]: kernel.sched_rt_runtime_us = -1
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Jun 18 14:51:30 All-In-One_RasPi start_container.sh[9497]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Jun 18 14:51:30 All-In-One_RasPi systemd[1]: pivccu.service: PID file /var/run/pivccu.pid not readable (yet?) after start: No such file or directory
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Daemon never wrote its PID file. Failing.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: Failed to start piVCCU.
-- Subject: Unit pivccu.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pivccu.service has failed.
--
-- The result is failed.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Unit entered failed state.
Jun 18 14:52:00 All-In-One_RasPi systemd[1]: pivccu.service: Failed with result 'resources'.
Jun 18 14:52:00 All-In-One_RasPi sudo[9491]: pam_unix(sudo:session): session closed for user root
Jun 18 15:05:03 All-In-One_RasPi sudo[10340]:       pi : TTY=unknown ; PWD=/etc/piVCCU ; USER=root ; COMMAND=/bin/journalctl -xe
Jun 18 15:05:03 All-In-One_RasPi sudo[10340]: pam_unix(sudo:session): session opened for user root by (uid=0)

Benutzeravatar
deimos
Beiträge: 5398
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von deimos » 18.06.2018, 15:42

Hi,

hast du das Funkmodul korrekt aufgesteckt und ist das korrekt gelötet?

Viele Grüße
Alex

carenick
Beiträge: 8
Registriert: 11.01.2018, 14:07

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von carenick » 18.06.2018, 15:49

ganz ehrlich ? das hab ich mir noch nicht mal gekauft :D

wollte erstmal gucken wie die Software auf dem Rasperry so läuft.
Hätte nun nicht gedacht das das Modul zwingend erforderlich ist.
War auch vor dem ersten "apt update && apt upgrade" schonmal auf der CCU2 drauf
und konnte dort Sachen einstellen.

was ist eigentlich der Unterschied zwischen:
1) apt update && apt upgrade und 2) apt-get update && apt-get upgrade

Benutzeravatar
deimos
Beiträge: 5398
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Pivccu 2018-04-19 - kein WLAN - kein SSH

Beitrag von deimos » 18.06.2018, 15:55

Hi,

das Funkmodul ist zwingend erforderlich. Es gibt aber auch eine Software Emulation.

Umschalten zwischen den verschiedenen Varianten kann man mit

Code: Alles auswählen

sudo dpkg-reconfigure pivccu
Neben etwas Kosmetik ist einer der wesentlichen Unterschiede zwischen apt und apt-get, dass beim einem Upgrade bei apt wengier Pakete zurückgehalten werden. Das merkt man vor allem, wenn ein Paket-Update eine neue Abhängkeit bringt. Bei apt wird diese dann einfach installiert (mit Abfrage, falls man die nicht mit -y abstellt), bei apt-get wird in dem Fall das Update nicht installiert, sondern zurückgehalten.

Viele Grüße
Alex

Antworten

Zurück zu „piVCCU“