Opnehabian 3 lässt sich nicht installieren

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

manuelk
Beiträge: 17
Registriert: 28. Feb 2021 13:13
Answers: 0

Opnehabian 3 lässt sich nicht installieren

Beitrag von manuelk »

Hallo

nach dem ich viel rumprobiert habe woltte ich mir nochmals eine komplett frische Installation aufsetzen

Ich ging wie folgt vor

1. Laden Sie Etcher https://etcher.io/ herunter und installieren Sie es.
2. Laden Sie das openHABian-Image (.img.xz-Datei) für Ihr System von https://github.com/openhab/openhabian/releases/latest herunter:
Aktuelles openHABian System Image
3. Schreiben Sie das Image mit Etcher auf Ihre SD-Karte
4. Legen Sie die SD-Karte in Ihr Gerät ein, stellen Sie sicher, dass Sie eine Verbindung haben, entweder durch Einstecken eines Ethernet-Kabels oder durch Konfigurieren des Wi-Fi, und booten Sie!
5. Warten Sie zwischen 15 und 45 Minuten, bis openHABian seine Ersteinrichtung durchgeführt hat
6. Navigieren Sie mit einem Webbrowser zu http://openhabian:8080.
7. Fahren Sie fort, indem Sie dem Tutorial folgen, um loszulegen

Ich verwende eine Raspberry Pi3 md. B V1.2 mit dem aktuellen Image openhabian-pi-raspios32-v1.6.3.img.xz

Nach einer sehr guten dreiviertel Stunden kommt beim aufrufen der Seit http://openhabian:8080 immer noch Die Website ist nicht erreichbar

Was mache ich falsch

ich habe mir mal die Openhabian.conf angesehen

Ich habe kein Wlan eingetragen.
Kann es an der Einstellung IPadressv6 hier steht nämlich enabled.
Ich verwende eine fritzbox mit ipv4

Verstehe es nicht denn vor zwei Tagen ging es ja auch noch....
Habe auch schon verschiede SD Karten ausprobiert immer der selbe Fehler.

Bin gerade etwas Ratlos

Benutzeravatar
mischko
Beiträge: 8
Registriert: 27. Feb 2021 18:16
Answers: 0

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von mischko »

Hi,

hast du die openhabian.conf bearbeitet? Dort steht bei hostname als default openHABianDevice.

Gruß
Michael

manuelk
Beiträge: 17
Registriert: 28. Feb 2021 13:13
Answers: 0

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von manuelk »

Nein habe ich nicht bearbeitet.
Soll ich hier dann den Namen openhab eintragen?

Benutzeravatar
KellerK1nd
Beiträge: 432
Registriert: 17. Jun 2019 16:45
Answers: 1
Wohnort: Griesheim

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von KellerK1nd »

Einfach gehts über die IP, finde die IP deiner Himbeere heraus und versuche es dann mal. Zusätzlich würde ich mal schauen ob du dich per SSH einloggen kannst, User ist openhabian und das Passwort ist habopen, ganz wichtig, Passwort ändern.
Betriebssystem: Proxmox 7.3-4
openHAB Container: debian11 LXC
openHAB Version: 3.4
Hardware: HomeServer Eigenbau mit einem Intel i5 9600K
Smarthome-Equipment:
- Rasperrymatic
- deConz
- HUE
- Shellys
- Mosquitto
- AVM Fritz!Box

manuelk
Beiträge: 17
Registriert: 28. Feb 2021 13:13
Answers: 0

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von manuelk »

Danke

so Host auf pi-openhab3 geändert er fährt nun hoch

über
http://pi-openhab3:8080 keine Verbindung
http://192.XXX.XXX.XXX:8080 keine Verbindung

Virenscanner habe ich auch mal ausgeschaltet
Bringt leider auch nichts.

Warum ging es die Tage zuvor?

Kann es an der SD Karte liegen?
Liegt es am PI3?
Ist der vielleicht zu schwach? Aber dann wäre es die Tage zuvor ja auch nicht gegangen.

Über Putty bekomme ich mit pi-openhab3 keine Verbindung

Über die IP Adresse und Username und Passwort das Ergebnis

login as: openhabian
openhabian@192.XXX.XXX.XXX's password:
Access denied
openhabian@192.XXX.XXX.XXX's password:
Linux pi-openhab3 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 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.

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.

Attention! The openHABian setup process has not finished yet.
Every 2.0s: cat /boot/first-boot.log pi-openhab3: Wed Mar 10 17:28:28 2021

2021-01-11_13:09:25_UTC [openHABian] Starting the openHABian initial setup.
2021-01-11_13:09:25_UTC [openHABian] Storing configuration... OK
2021-01-11_13:09:25_UTC [openHABian] Starting webserver with installation log... OK
2021-01-11_13:09:30_UTC [openHABian] Changing default username and password... OK
2021-01-11_13:09:31_UTC [openHABian] Setting up Ethernet connection... OK
2021-01-11_13:09:31_UTC [openHABian] Ensuring network connectivity... OK
2021-01-11_13:09:31_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2021-03-10_15:40:19_UTC [openHABian] Updating repositories and upgrading installed packages... OK (rebooting)
2021-03-10_15:45:29_GMT [openHABian] Starting the openHABian initial setup.
2021-03-10_15:45:29_GMT [openHABian] Storing configuration... OK
2021-03-10_15:45:29_GMT [openHABian] Starting webserver with installation log... OK
2021-03-10_15:45:34_GMT [openHABian] Changing default username and password... SKIPPED
2021-03-10_15:45:34_GMT [openHABian] Setting up Ethernet connection... OK

Benutzeravatar
KellerK1nd
Beiträge: 432
Registriert: 17. Jun 2019 16:45
Answers: 1
Wohnort: Griesheim

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von KellerK1nd »

2021-01-11_13:09:31_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2021-03-10_15:40:19_UTC [openHABian] Updating repositories and upgrading installed packages... OK (rebooting)
Die fast 2 Stunden stimmen einen schon nachdenklich, ich persönlich nutze aber auch keine SD Karten, sondern alles per SSD und externen HDD Case. Kann schon sein, das deine Karte einen Rappel hat. So rein zum Setup für openHAB ist der Pi3 nicht zu schwach, kommt aber auch auf dein späteres Setup an, da wirst du schon irgendwann an die Grenzen stossen. Ich hab früher auch mit einem pi3 angefangen, nach 45 Minuten war das komplette Setup via openhabian aber auch wirklich durch.

Beim Putty würde ich auch über die IP-Adresse gehen. Ist dein pi per LAN angeschloßen?
Betriebssystem: Proxmox 7.3-4
openHAB Container: debian11 LXC
openHAB Version: 3.4
Hardware: HomeServer Eigenbau mit einem Intel i5 9600K
Smarthome-Equipment:
- Rasperrymatic
- deConz
- HUE
- Shellys
- Mosquitto
- AVM Fritz!Box

manuelk
Beiträge: 17
Registriert: 28. Feb 2021 13:13
Answers: 0

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von manuelk »

Danke

Hab mir gerade beim großen roten Markt per Click and by ne neue Karte geholt

Hab ich auch noch nen 16 GB Stick.. würde der auch gehen? Kann ich den ganz einfach nur einstecken oder so vorgehen als wäre ne SD drin?

Benutzeravatar
udo1toni
Beiträge: 15247
Registriert: 11. Apr 2018 18:05
Answers: 242
Wohnort: Darmstadt

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von udo1toni »

Es ist nicht so ganz einfach, den Raspberry dazu zu überreden, von USB zu booten.
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet

manuelk
Beiträge: 17
Registriert: 28. Feb 2021 13:13
Answers: 0

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von manuelk »

ok dann lass ich das mit dem usb stick aber nun habe ich die neue karte rein vorhin frisch gekauft und es geht leider immer noch nicht .....
.....selber Fehler...

Kann es an der Fritzbox liegen? Steckt am Port mit 100 MBit
Habe auch schon ein anderes Kabel probiert.
Kann es am Netzteil liegen?
Was mir noch einfällt bei der ersten Installation hatte ich den ZigBee Stick gesteckt das dürfte aber doch nichts ausmachen oder?

Oder evtl doch an der openhabian.conf

# Modify your openHABian settings
# Handle with care, only touch if you need to!!
# This file will only be used on unattended initial install.
# If you want to change anything after unattended install completed, use menu in openhabian-config.

# Hostname to set this one to
hostname=openhabian
# if it exists, the default user (with its working environment) will be renamed to this username given here ...
username=openhabian
# ... and given this password. The password will be removed from this file after completion for security reasons.
userpw=openhabian
# set this to download a SSH key and authorize the owner to login as the admin user
#adminkeyurl=https://github.com/openhab/openhabian/adminkey.pub

# Language and timezone. See Debian documentation for valid values.
timezone=Europe/Berlin
locales="en_US.UTF-8 de_DE.UTF-8"
system_default_locale="en_US.UTF-8"

# WiFi settings. An ethernet connection is recommended.
# If you have a RPi4, RPi3, RPi0W or a supported external WiFi dongle, the WiFi
# interface can be setup and used for the initial installation.
# Fill in your SSID and password below, leave empty or put comment in front to
# have your WiFi remain unchanged/uninitialized. Make sure your Ethernet works.
# ATTENTION: you need to escape these special characters: $, `, ", \, (newline)
# 'Escaping' means to put an additional \ in front of that character
wifi_ssid=""
wifi_psk=""

# Wi-Fi setting. Select a two-letter country code suitable for your location
# E.g. US (default), DE, AU, NZ...
# You may infringe on local legislature otherwise
# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab
wifi_country=""

# Eventually disable all IPv6 e.g. on installation problems
# values: "enable", "disable"
ipv6=enable

# repo to clone from (if not master for build and test)
repositoryurl=https://github.com/openhab/openhabian
clonebranch=HEAD

# debug verbosity mode
# off, on (verbose output in log) or maximum (show every command)
debugmode=off

# fake hardware
# force treating your box as if it was a ...
# pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w
#hw=pi4

# Hardware architecture
# x86_64, amd64, armv6l, armv7l, aarch64, arm64
#hwarch=armv7l

# OS distribution/release
# Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bionic, focal
#osrelease=buster

# Java architecture mode
# Valid arguments: "Adopt11", "Zulu8-32", "Zulu8-64", "Zulu11-32", or "Zulu11-64"
# Only change cached_java_opt at image build time or things might go wrong.
cached_java_opt=Zulu11-32
java_opt=Zulu11-32

# install ZRAM per default, set to "disable" to skip installation
zraminstall=enable

# start comitup hotspot if internet is not reachable
hotspot=enable

# external SD card device to backup and mirror the internal SD card to
#backupdrive=/dev/sda
storageconfig=openhab-dir
storagedir=/storage
storagetapes=15
storagecapacity=1024

# mail relay settings
#adminmail=john.doe@foo.bar
#relayuser=john.doe@foo.bar
#relaypass=secret
#smarthost=smtp.gmail.com
#smartport=587

# Tailscale VPN
#preauthkey=tskey-xxxxxxxxxxxxxxxxx

# vim: filetype=sh


Da ich hier ziemlich neu bin dachte ich vielleicht liegt es am .....

# Eventually disable all IPv6 e.g. on installation problems
# values: "enable", "disable"
ipv6=enable

Benutzeravatar
KellerK1nd
Beiträge: 432
Registriert: 17. Jun 2019 16:45
Answers: 1
Wohnort: Griesheim

Re: Opnehabian 3 lässt sich nicht installieren

Beitrag von KellerK1nd »

Da ich hier ziemlich neu bin dachte ich vielleicht liegt es am .....

# Eventually disable all IPv6 e.g. on installation problems
# values: "enable", "disable"
ipv6=enable
Daran sollte es nicht liegen. Dein pi bekommt ja trotzdem eine ipv4 Adresse. Kannst du dich gar nicht per putty verbinden?
Betriebssystem: Proxmox 7.3-4
openHAB Container: debian11 LXC
openHAB Version: 3.4
Hardware: HomeServer Eigenbau mit einem Intel i5 9600K
Smarthome-Equipment:
- Rasperrymatic
- deConz
- HUE
- Shellys
- Mosquitto
- AVM Fritz!Box

Antworten