Raspbee 2 installation?

Begonnen von neyzen, 15 März 2020, 22:58:21

Vorheriges Thema - Nächstes Thema

neyzen

Hallo,

ich hab das neue Raspbee 2 und hab es nach dieser Anleitung installiert
https://github.com/dresden-elektronik/raspbee2-rtc

Nach dem ich die Installationsdatei gedownloaded habe mit unzip und ins folgende Verzeichnis wechsele und dann make mache bekomme ich folgende meldung:

pi@pisis:~/raspbee2-rtc-master $ make
checking deb package dependencies...
i2c-tools
build-essential
raspberrypi-kernel-headers
build rtc module...
make -C /lib/modules/4.14.98-v7+/build M=/home/pi/raspbee2-rtc-master modules
make[1]: *** /lib/modules/4.14.98-v7+/build: Datei oder Verzeichnis nicht gefunden.  Schluss.
Makefile:16: die Regel für Ziel ,,build" scheiterte
make: *** [build] Fehler 2
pi@pisis:~/raspbee2-rtc-master $ sudo make
checking deb package dependencies...
i2c-tools
build-essential
raspberrypi-kernel-headers
build rtc module...
make -C /lib/modules/4.14.98-v7+/build M=/home/pi/raspbee2-rtc-master modules
make[1]: *** /lib/modules/4.14.98-v7+/build: Datei oder Verzeichnis nicht gefunden.  Schluss.
Makefile:16: die Regel für Ziel ,,build" scheiterte
make: *** [build] Fehler 2
pi@pisis:~/raspbee2-rtc-master $ pi@pisis:~ $ cd raspbee2-rtc-master
pi@pisis:~/raspbee2-rtc-master $ sudo make
checking deb package dependencies...
i2c-tools
build-essential
raspberrypi-kernel-headers
build rtc module...
make -C /lib/modules/4.14.98-v7+/build M=/home/pi/raspbee2-rtc-master modules
make[1]: *** /lib/modules/4.14.98-v7+/build: Datei oder Verzeichnis nicht gefunden.  Schluss.
Makefile:16: die Regel für Ziel ,,build" scheiterte
make: *** [build] Fehler 2


Was mach ich hier falsch?

neyzen


neyzen

Jetzt gibt es ein Update, bekomme aber folgenden Fehler.


login as: pi
pi@xx's password:
Linux pisis 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun  8 22:08:56 2020 from xx
pi@pisis:~ $ sudo hwclock --systohc
pi@pisis:~ $ sudo hwclock --verbose
hwclock: Unbekannte Option »--verbose«

Usage:
hwclock [function] [option...]

Query or set the hardware clock.

Functions:
-h, --help           show this help text and exit
-r, --show           read hardware clock and print result
     --get            read hardware clock and print drift corrected result
     --set            set the RTC to the time given with --date
-s, --hctosys        set the system time from the hardware clock
-w, --systohc        set the hardware clock from the current system time
     --systz          set the system time based on the current timezone
     --adjust         adjust the RTC to account for systematic drift since
                        the clock was last set or adjusted
-c, --compare        periodically compare the system clock with the CMOS clock
     --getepoch       print out the kernel's hardware clock epoch value
     --setepoch       set the kernel's hardware clock epoch value to the
                        value given with --epoch
     --predict        predict RTC reading at time given with --date
-V, --version        display version information and exit

Options:
-u, --utc            the hardware clock is kept in UTC
     --localtime      the hardware clock is kept in local time
-f, --rtc <file>     special /dev/... file to use instead of default
     --directisa      access the ISA bus directly instead of /dev/rtc
     --badyear        ignore RTC's year because the BIOS is broken
     --date <time>    specifies the time to which to set the hardware clock
     --epoch <year>   specifies the year which is the beginning of the
                        hardware clock's epoch value
     --update-drift   update drift factor in /etc/adjtime (requires
                        --set or --systohc)
     --noadjfile      do not access /etc/adjtime; this requires the use of
                        either --utc or --localtime
     --adjfile <file> specifies the path to the adjust file;
                        the default is /etc/adjtime
     --test           do not update anything, just show what would happen
-D, --debug          debugging mode

pi@pisis:~ $


Hier kommt als Fehler hwclock: Unbekannte Option »--verbose«

Hat noch jemand den Raspbee2 installiert?

jsChris

Hi,

doch, ich habe gerade vom Conbee auf den RaspBee || gewechselt.

Ich habe es mir aber viel einfacher gemacht. Ich habe mir hier:
https://phoscon.de/de/raspbee/sdcard
das fertige Raspbian Buster Desktop (stable) auf die SD-Karte geflashed.

Ich habe es schon wieder vergessen, aber ich glaube, ich habe dann ssh und wlan "headless" konfiguriert, also ssh mit
"touch ssh" auf oberster Ebene,
dann WLAN wie hier:
https://www.raspberrypi.org/documentation/configuration/wireless/headless.md
oder hier
https://pi-buch.info/wlan-schon-vor-der-installation-konfigurieren/

Dann Karte in den Raspi, starten, via WLAN verbinden und erst einmal "sudo raspi-config", um eine Einstellungen und Updates zu machen.

Fertig :)
lg
Chris


wollebit

Hallo, ich hatte nachfolgendes probiert und es funktioniert (leider noch nicht mit Installation auf ssd, aktuell nur auf sd) auch:
- Raspi 4B+
- mit Raspi-Imager die aktuelle version von buster installiert und danach:
------------------------------
deCONZ-Installation https://phoscon.de/en/raspbee2/install#raspbian
----------------------
1. Configure user access rights of the serial interface

->     sudo raspi-config

Interfacing Options → Serial
-> Would you like a login shell accessible over serial? → No
-> Would you like the serial port hardware to be enabled? → Yes

    Note: Changes to access rights only become active after a restart.

2. Import Phoscon public key

->     wget -O - http://phoscon.de/apt/deconz.pub.key | \
               sudo apt-key add -

3. Configure the APT repository for deCONZ
Stable

->    sudo sh -c "echo 'deb http://phoscon.de/apt/deconz \
                $(lsb_release -cs) main' > \
                /etc/apt/sources.list.d/deconz.list"

4. Update APT package list

-> sudo apt update

5. Install deCONZ

-> sudo apt install deconz

6. Update WiringPi (only needed for Raspberry Pi 4B)

cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
---------------------
viele Grüße