NEWS
[gelöst] Proxmox Zigbee Permisson denied
-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_48e2ca301045ec119c1e92fd6f14af06-if00-port0
-
Ist das vollständig? Da muss eigentlich das LinkTarget noch angegeben sein.
USB-Stick richtig durchgereicht? -
@thomas-braun
Conf-Einträgelxc.mount.entry: /dev/bus/usb/003/002 dev/bus/usb/003/002 none bind,optional,create=file lxc.cgroup2.devices.allow: c 189:* rwm lxc.mount.entry: usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_48e2ca301045ec119c1e92fd6f14af06-if00-port0 dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_48e2ca301045ec119c1e92fd6f14af06-if00-port0 none bind,optional,create=file
HOST
ls /dev/serial/by-id/ usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xx-if00-port0 ls -l /dev/ttyACM* ls: cannot access '/dev/ttyACM*': No such file or directory lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 003: ID xx Cherry GmbH CHERRY Wireless Desktop Bus 003 Device 002: ID xx Silicon Labs CP210x UART Bridge Bus 003 Device 004: ID xx Intel Corp. Bus 003 Device 001: ID xx Linux Foundation 2.0 root hub Bus 002 Device 001: ID xx Linux Foundation 3.0 root hub Bus 001 Device 001: ID xx Linux Foundation 2.0 root hub ls -l /dev/bus/usb/003/002 crw-rw-r-- 1 root root 189, 257 Jul 3 10:56 /dev/bus/usb/003/002
Was mir aufgefallen ist, dass beim usb/003/002 die Gruppe root ist und nicht users?
-
Die Rechte sind i.O.
Aber es fehlt das LinkTarget.
In meinem 'nativen' System:echad@chet:~ $ ls -l /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 lrwxrwxrwx 1 root root 13 Jun 28 00:17 /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 -> ../../ttyUSB0 echad@chet:~ $
Der relative Pfad ../../ttyUSB0 wird dann absolut zu /dev/ttyUSB0
-
@thomas-braun
HOSTls -l /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xx-if00-port0 lrwxrwxrwx 1 root root 13 Jul 3 10:56 /dev/serial/by-id/usb-ITead_Sonoff_Zigbee3.0_USB_Dongle_Plus_xx-port0 -> ../../ttyUSB0
-
Und warum hast du das nicht gleich vollständig gepostet?
-
@thomas-braun Weil ich den Befehl nicht kannte.
Containerls -l /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xx-if00-port0 ---------- 1 root root 0 Jul 3 11:11 /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xx-if00-port0
-
@mcu sagte in Proxmox Zigbee Permisson denied:
---------- 1 root root 0 Jul 3 11:11
Keine Rechte für nichts und niemanden. Wird wohl mit dem Durchreichen zusammenhängen. Hab ich aber keine Aktien drin.
-
@thomas-braun Hab mal die conf umgestellt
Containerls -l /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xx-if00-port0 crw-rw---- 1 nobody nogroup 188, 0 Jul 3 10:56 /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xx-if00-port0
-
@mcu sagte in Proxmox Zigbee Permisson denied:
crw-rw----
Ist auch falsch, das müsste ein l wie in LINK sein.
Sieheechad@chet:~ $ ls -l /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 lrwxrwxrwx 1 root root 13 Jun 28 00:17 /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 -> ../../ttyUSB0 echad@chet:~ $
-
@thomas-braun
Jetzt kommen diese Meldungen.zigbee.0 2022-07-03 12:53:54.407 error Error herdsman start zigbee.0 2022-07-03 12:53:54.406 error Failed to start Zigbee zigbee.0 2022-07-03 12:53:54.406 error Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'" zigbee.0 2022-07-03 12:53:44.340 error Failed to start Zigbee zigbee.0 2022-07-03 12:53:44.340 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2022-07-03 12:53:44.309 error Re-commissioning your network will require re-pairing of all devices! zigbee.0 2022-07-03 12:53:44.309 error If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json. zigbee.0 2022-07-03 12:53:44.309 error Please update configuration to prevent further issues. zigbee.0 2022-07-03 12:53:44.309 error - Channel List: configured=11, adapter=11 zigbee.0 2022-07-03 12:53:44.309 error - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d zigbee.0 2022-07-03 12:53:44.309 error - Extended PAN ID: configured=77dddddddddddddd, adapter=00124b0024c9b022 zigbee.0 2022-07-03 12:53:44.308 error - PAN ID: configured=6754, adapter=6754 zigbee.0 2022-07-03 12:53:44.308 error Configuration is not consistent with adapter state/backup!
-
@mcu sagte in Proxmox Zigbee Permisson denied:
Extended PAN ID: configured=77dddddddddddddd, adapter=00124b0024c9b022
Musst du übereinander bringen.
-
@thomas-braun Habs es geändert auf DD...DD
zigbee.0 2022-07-03 12:56:03.493 info Zigbee started zigbee.0 2022-07-03 12:56:03.493 info Currently no devices. zigbee.0 2022-07-03 12:56:03.482 info --> transmitPower : normal zigbee.0 2022-07-03 12:56:03.479 info Unable to disable LED, unsupported function. zigbee.0 2022-07-03 12:56:03.471 info Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20210708}}
Danke für die Unterstützung.
-
@mcu sagte in Proxmox Zigbee Permisson denied:
Habs es geändert auf DD...DD
Man sollte eine individuelle HEX-Zeichenfolge nehmen.
-
@thomas-braun Sobald ich es ändere kommt wieder derFehler von oben:
error - Extended PAN ID: configured=77dddddddddddddd, adapter=00124b0024c9b022
Wie bring ich die dann übereinander? -
@mcu sagte in Proxmox Zigbee Permisson denied:
Trag 00124b0024c9b022 in den Adapter ein.Ggf. ändert sich dann aber nochmal die Byte-Folge. Hat mit der Endianess zu tun.
-
@thomas-braun Wo finde ich denn den Adapter?
-
@mcu
?Da wo du jetzt DDDDDDDDDDDD77 oder sowas drin hast einfach
00124b0024c9b022
eintragen. -
@thomas-braun Also mit Adapter ist die PAN ID gemeint. Ok.
Vielen Dank. -
Extended PAN ID: configured=77dddddddddddddd, adapter=00124b0024c9b022