Wissensdatenbank: Radxa / Rock Pi
IOBroker auf Radxa E25
Geschrieben von Sebastian Kirchhoefer on 22 November 2023 03:09

rock@radxa-e25:~$ curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -

[sudo] password for rock:

^[[3~^[[3~

## Installing the NodeSource Node.js 18.x repo...

 

 

## Populating apt-get cache...

 

+ apt-get update

Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Get:3 http://httpredir.debian.org/debian bullseye-updates InRelease [44.1 kB]

Get:4 http://apt.radxa.com/bullseye-stable bullseye InRelease [2365 B]

Get:5 http://httpredir.debian.org/debian bullseye-backports InRelease [49.0 kB]

Get:6 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [232 kB]

Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [154 kB]

Err:4 http://apt.radxa.com/bullseye-stable bullseye InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B98116C9AA302C7

Get:8 http://httpredir.debian.org/debian bullseye-backports/main arm64 Packages.diff/Index [63.3 kB]

Get:9 http://httpredir.debian.org/debian bullseye-backports/main Translation-en.diff/Index [63.3 kB]

Get:10 http://httpredir.debian.org/debian bullseye-backports/main arm64 Packages T-2023-03-17-0204.57-F-2023-03-14-2015.37.pdiff [1789 B]

Get:10 http://httpredir.debian.org/debian bullseye-backports/main arm64 Packages T-2023-03-17-0204.57-F-2023-03-14-2015.37.pdiff [1789 B]

Get:11 http://httpredir.debian.org/debian bullseye-backports/main Translation-en T-2023-03-14-2015.37-F-2023-03-14-2015.37.pdiff [1070 B]

Get:11 http://httpredir.debian.org/debian bullseye-backports/main Translation-en T-2023-03-14-2015.37-F-2023-03-14-2015.37.pdiff [1070 B]

Reading package lists... Done

W: GPG error: http://apt.radxa.com/bullseye-stable bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B98116C9AA302C7

E: The repository 'http://apt.radxa.com/bullseye-stable bullseye InRelease' is not signed.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

Error executing command, exiting

rock@radxa-e25:~$ cd /etc/apt/

rock@radxa-e25:/etc/apt$ ls

apt.conf.d auth.conf.d preferences.d sources.list sources.list.d trusted.gpg trusted.gpg.d

rock@radxa-e25:/etc/apt$ cat sources.list

deb http://httpredir.debian.org/debian bullseye main contrib non-free

#deb-src http://httpredir.debian.org/debian bullseye main contrib non-free

 

deb http://httpredir.debian.org/debian bullseye-updates main contrib non-free

#deb-src http://httpredir.debian.org/debian bullseye-updates main contrib non-free

 

deb http://httpredir.debian.org/debian bullseye-backports main contrib non-free

#deb-src http://httpredir.debian.org/debian bullseye-backports main contrib non-free

 

deb http://security.debian.org/debian-security bullseye-security main contrib non-free

#deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

rock@radxa-e25:/etc/apt$ cd sources.list.d/

rock@radxa-e25:/etc/apt/sources.list.d$ ls

apt-radxa-com.list

rock@radxa-e25:/etc/apt/sources.list.d$ cat apt-radxa-com.list

deb http://apt.radxa.com/bullseye-stable/ bullseye main

#deb http://apt.radxa.com/bullseye-testing/ bullseye main

rock@radxa-e25:/etc/apt/sources.list.d$ vim apt-radxa-com.list

rock@radxa-e25:/etc/apt/sources.list.d$ sudo vim apt-radxa-com.list

rock@radxa-e25:/etc/apt/sources.list.d$ sudo apt update

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Hit:3 http://httpredir.debian.org/debian bullseye-updates InRelease

Hit:4 http://httpredir.debian.org/debian bullseye-backports InRelease

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

1 package can be upgraded. Run 'apt list --upgradable' to see it.

rock@radxa-e25:/etc/apt/sources.list.d$ curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -

 

## Installing the NodeSource Node.js 18.x repo...

 

 

## Populating apt-get cache...

 

+ apt-get update

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Hit:3 http://httpredir.debian.org/debian bullseye-updates InRelease

Hit:4 http://httpredir.debian.org/debian bullseye-backports InRelease

Reading package lists... Done

 

## Confirming "bullseye" is supported...

 

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_18.x/dists/bullseye/Release'

 

## Adding the NodeSource signing key to your keyring...

 

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null

 

## Creating apt sources list file for the NodeSource Node.js 18.x repo...

 

+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main' > /etc/apt/sources.list.d/nodesource.list

+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list

 

## Running `apt-get update` for you...

 

+ apt-get update

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Hit:3 http://httpredir.debian.org/debian bullseye-updates InRelease

Hit:4 http://httpredir.debian.org/debian bullseye-backports InRelease

Get:5 https://deb.nodesource.com/node_18.x bullseye InRelease [4586 B]

Get:6 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages [778 B]

Fetched 5364 B in 3s (1549 B/s)

Reading package lists... Done

 

## Run `sudo apt-get install -y nodejs` to install Node.js 18.x and npm

## You may also need development tools to build native addons:

     sudo apt-get install gcc g++ make

## To install the Yarn package manager, run:

     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null

     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

     sudo apt-get update && sudo apt-get install yarn

 

 

rock@radxa-e25:/etc/apt/sources.list.d$ apt install -y nodejs

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

rock@radxa-e25:/etc/apt/sources.list.d$ sudo apt install -y nodejs

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following NEW packages will be installed:

nodejs

0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.

Need to get 27.9 MB of archives.

After this operation, 186 MB of additional disk space will be used.

Get:1 https://deb.nodesource.com/node_18.x bullseye/main arm64 nodejs arm64 18.15.0-deb-1nodesource1 [27.9 MB]

Fetched 27.9 MB in 1s (22.6 MB/s)

debconf: delaying package configuration, since apt-utils is not installed

Selecting previously unselected package nodejs.

(Reading database ... 70629 files and directories currently installed.)

Preparing to unpack .../nodejs_18.15.0-deb-1nodesource1_arm64.deb ...

Unpacking nodejs (18.15.0-deb-1nodesource1) ...

Setting up nodejs (18.15.0-deb-1nodesource1) ...

Processing triggers for man-db (2.9.4-2) ...

rock@radxa-e25:/etc/apt/sources.list.d$ npm -v

9.5.0

rock@radxa-e25:/etc/apt/sources.list.d$ node -v

v18.15.0

rock@radxa-e25:/etc/apt/sources.list.d$ sudo su

root@radxa-e25:/etc/apt/sources.list.d# curl -sL https://deb.nodesource.com/setup_18.x | bash -

 

## Installing the NodeSource Node.js 18.x repo...

 

 

## Populating apt-get cache...

 

+ apt-get update

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Hit:3 http://httpredir.debian.org/debian bullseye-updates InRelease

Hit:4 http://httpredir.debian.org/debian bullseye-backports InRelease

Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease

Reading package lists... Done

 

## Confirming "bullseye" is supported...

 

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_18.x/dists/bullseye/Release'

 

## Adding the NodeSource signing key to your keyring...

 

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null

 

## Creating apt sources list file for the NodeSource Node.js 18.x repo...

 

+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main' > /etc/apt/sources.list.d/nodesource.list

+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list

 

## Running `apt-get update` for you...

 

+ apt-get update

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Hit:3 http://httpredir.debian.org/debian bullseye-updates InRelease

Hit:4 http://httpredir.debian.org/debian bullseye-backports InRelease

Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease

Reading package lists... Done

 

## Run `sudo apt-get install -y nodejs` to install Node.js 18.x and npm

## You may also need development tools to build native addons:

     sudo apt-get install gcc g++ make

## To install the Yarn package manager, run:

     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null

     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

     sudo apt-get update && sudo apt-get install yarn

 

 

root@radxa-e25:/etc/apt/sources.list.d# curl -sLf https://iobroker.net/install.sh | bash -

library: loaded

Library version=2022-12-09

 

==========================================================================

 

   Welcome to the ioBroker installer!

   Installer version: 2022-12-22

 

==========================================================================

 

 

==========================================================================

   Installing prerequisites (1/4)

==========================================================================

 

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease

Hit:2 http://httpredir.debian.org/debian bullseye InRelease

Hit:3 http://httpredir.debian.org/debian bullseye-updates InRelease

Hit:4 http://httpredir.debian.org/debian bullseye-backports InRelease

Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease

Reading package lists... Done

Changing npm registry to https://registry.npmjs.org

Installed acl

Installed build-essential

Installed gcc-c++

Installed libavahi-compat-libdnssd-dev

Installed libudev-dev

Installed libpam0g-dev

Installed git

Installed libcairo2-dev

Installed libpango1.0-dev

Installed libjpeg-dev

Installed libgif-dev

Installed librsvg2-dev

Installed cmake

 

==========================================================================

   Creating ioBroker user and directory (2/4)

==========================================================================

 

User iobroker created

Created /etc/sudoers.d/iobroker

Directory /opt/iobroker created

 

==========================================================================

   Installing ioBroker (3/4)

==========================================================================

 

 

==========================================================================

   Finalizing installation (4/4)

==========================================================================

 

Enabling autostart...

Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.

Autostart enabled!

Fixing directory permissions...

 

==========================================================================

 

   ioBroker was installed successfully

   Open http://192.168.32.99:8081 in a browser and start configuring!

 

==========================================================================

 

 

You need to re-login before doing anything else on the console!

 

root@radxa-e25:/etc/apt/sources.list.d# reboot

root@radxa-e25:/etc/apt/sources.list.d# Connection to 192.168.32.99 closed by remote host.

Connection to 192.168.32.99 closed.

 

C:\Users\skirchhoefer>ssh rock@192.168.32.99

rock@192.168.32.99's password:

Linux radxa-e25 4.19.193-58-rockchip-gbac1feba87f0 #rockchip SMP Tue Oct 18 09:36:57 UTC 2022 aarch64

 

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: Fri Mar 17 14:09:13 2023 from 192.168.32.19

rock@radxa-e25:~$ ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

   inet 127.0.0.1/8 scope host lo

       valid_lft forever preferred_lft forever

   inet6 ::1/128 scope host

       valid_lft forever preferred_lft forever

2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000

   link/ether 00:e0:4c:02:03:f6 brd ff:ff:ff:ff:ff:ff

   inet 192.168.32.99/24 brd 192.168.32.255 scope global dynamic noprefixroute enp1s0

       valid_lft 43148sec preferred_lft 43148sec

   inet6 fe80::d06:e06a:76cc:d91a/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

3: enP2p33s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000

   link/ether 00:e0:4c:02:03:f7 brd ff:ff:ff:ff:ff:ff

rock@radxa-e25:~$ shutdown -Ph now

-bash: shutdown: command not found

rock@radxa-e25:~$ sudo shutdown -Ph now

[sudo] password for rock:

Connection to 192.168.32.99 closed by remote host.

Connection to 192.168.32.99 closed.

 

C:\Users\skirchhoefer>ssh rock@192.168.32.99

 

C:\Users\skirchhoefer>

 

C:\Users\skirchhoefer>

 

C:\Users\skirchhoefer>ssh rock@192.168.32.99

rock@192.168.32.99's password:

Linux radxa-e25 4.19.193-58-rockchip-gbac1feba87f0 #rockchip SMP Tue Oct 18 09:36:57 UTC 2022 aarch64

 

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: Fri Mar 17 14:24:37 2023 from 192.168.32.19

rock@radxa-e25:~$ sudo su

[sudo] password for rock:

root@radxa-e25:/home/rock# htop

root@radxa-e25:/home/rock# apt install libsensors

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

E: Unable to locate package libsensors

root@radxa-e25:/home/rock# htop

root@radxa-e25:/home/rock# root@radxa-e25:/home/rock# apt install lm-sensors

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

lm-sensors is already the newest version (1:3.6.0-7).

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

root@radxa-e25:/home/rock# lm-sensors

bash: lm-sensors: command not found

root@radxa-e25:/home/rock# sensors-detect

# sensors-detect version 3.6.0

# DMI data unavailable, please consider installing dmidecode 2.7

# or later for better results.

# Kernel: 4.19.193-58-rockchip-gbac1feba87f0 aarch64

# Cannot show processor info on aarch64 architecture.

 

This program will help you determine which kernel modules you need

to load to use lm_sensors most effectively. It is generally safe

and recommended to accept the default answers to all questions,

unless you know what you're doing.

 

Some south bridges, CPUs or memory controllers contain embedded sensors.

Do you want to scan for them? This is totally safe. (YES/no): YES

modprobe: FATAL: Module cpuid not found in directory /lib/modules/4.19.193-58-rockchip-gbac1feba87f0

Failed to load module cpuid.

Silicon Integrated Systems SIS5595...                       No

VIA VT82C686 Integrated Sensors...                          No

VIA VT8231 Integrated Sensors...                           No

AMD K8 thermal sensors...                                   No

AMD Family 10h thermal sensors...                           No

AMD Family 11h thermal sensors...                          No

AMD Family 12h and 14h thermal sensors...                   No

AMD Family 15h thermal sensors...                           No

AMD Family 16h thermal sensors...                           No

AMD Family 17h thermal sensors...                          No

AMD Family 15h power sensors...                             No

AMD Family 16h power sensors...                             No

Hygon Family 18h thermal sensors...                         No

Intel digital thermal sensor...                            No

Intel AMB FB-DIMM thermal sensor...                         No

Intel 5500/5520/X58 thermal sensor...                       No

VIA C7 thermal sensor...                                   No

VIA Nano thermal sensor...                                 No

 

Lastly, we can probe the I2C/SMBus adapters for connected hardware

monitoring devices. This is the most risky part, and while it works

reasonably well on most systems, it has been reported to cause trouble

on some systems.

Do you want to probe the I2C/SMBus adapters now? (YES/no): YES

Sorry, no supported PCI bus adapters found.

 

Next adapter: rk3x-i2c (i2c-0)

Do you want to scan it? (YES/no/selectively):

Client found at address 0x1c

Handled by driver `fan53555-regulator' (built-in), chip type `tcs452x'

   (note: this is probably NOT a sensor chip!)

 

Sorry, no sensors were detected.

Either your system has no sensors, or they are not supported, or

they are connected to an I2C or SMBus adapter that is not

supported. If you find out what chips are on your board, check

https://hwmon.wiki.kernel.org/device_support_status for driver status.

root@radxa-e25:/home/rock# htop

root@radxa-e25:/home/rock# apt install cpuid+

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Package cpuid is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

 

E: Package 'cpuid' has no installation candidate

root@radxa-e25:/home/rock# apt install cpuid

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Package cpuid is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

 

E: Package 'cpuid' has no installation candidate

root@radxa-e25:/home/rock# htop

root@radxa-e25:/home/rock# root@radxa-e25:/home/rock# sensors

No sensors found!

Make sure you loaded all the kernel drivers you need.

Try sensors-detect to find out which these are.

root@radxa-e25:/home/rock# cat /sys/

block/         class/         devices/       fs/             module/         rk8xx/

bus/           dev/           firmware/       kernel/         power/         system_monitor/

root@radxa-e25:/home/rock# cat /sys/

block/         class/         devices/       fs/             module/         rk8xx/

bus/           dev/           firmware/       kernel/         power/         system_monitor/

root@radxa-e25:/home/rock# cat /sys/class/thermal/

cooling_device0/ cooling_device1/ thermal_zone0/   thermal_zone1/

root@radxa-e25:/home/rock# cat /sys/class/thermal/

cooling_device0/ cooling_device1/ thermal_zone0/   thermal_zone1/

root@radxa-e25:/home/rock# cat /sys/class/thermal/thermal_zone0/temp

50625

root@radxa-e25:/home/rock# cat /sys/class/thermal/thermal_zone1/temp

48888

root@radxa-e25:/home/rock# cat /sys/class/thermal/cooling_device

cooling_device0/ cooling_device1/

root@radxa-e25:/home/rock# cat /sys/class/thermal/cooling_device

cooling_device0/ cooling_device1/

root@radxa-e25:/home/rock# cat /sys/class/thermal/cooling_device0/

cur_state max_state power/     subsystem/ type       uevent

root@radxa-e25:/home/rock# cat /sys/class/thermal/cooling_device0/max_state

7

root@radxa-e25:/home/rock# cat /sys/class/thermal/


Kommentare (0)
Einen neuen Kommentar verfassen
 
 
Angezeigter Name:
Email:
Kommentare:
CAPTCHA-Prüfung 
 
Bitte geben Sie den Text, welchen Sie im Bild sehen, in die Textzeile ein.