Open main menu

DAVE Developer's Wiki β

Changes

Testbed
The edge device is the [[MISC-TN-004:_Running_Debian_(armbian)_on_SBCSPG#The_hardware_platform|SBCSPG gateway]] running Debian Bullseye. To deploy this distribution onto the target, the same approach described [[ORCA-TN-001_—_Running_Armbian_Bullseye_(Debian_11)|here]] was used. Unlike Orca SBC, SBCSPG is based on a 32-bit ARM Cortex-A7 processor, though. As such, a [https://mirrors.dotsrc.org/armbian-dl/tritium-h3/archive/Armbian_22.11.1_Tritium-h3_bullseye_current_5.15.80_minimal.img.xz different image] was used.
LAN  root@sbcspg:/usr/local/fledge/python/fledge/plugins/north# ip addr add 192.168.30.253/24 dev eth0 label eth0:1root@sbcspg:/usr/local/fledge/python/fledge/plugins/north# history | grep mosq 205 history | grep mosqroot@sbcspg:/usr/local/fledge/python/fledge/plugins/north# apt install mosquitto mosquitto-clientsReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneThe following additional packages will be installed: libcjson1 libdlt2 libev4 libmosquitto1 libwebsockets16Suggested packages: apparmorThe following NEW packages will be installed: libcjson1 libdlt2 libev4 libmosquitto1 libwebsockets16 mosquitto mosquitto-clients0 upgraded, 7 newly installed, 0 to remove and 8 not upgraded.Need to get 715 kB of archives.After this operation, 1,492 kB of additional disk space will be used.Do you want to continue? [Y/n] Get:1 http://deb.debian.org/debian bullseye/main armhf libcjson1 armhf 1.7.14-1 [20.5 kB]Get:2 http://deb.debian.org/debian bullseye/main armhf libdlt2 armhf 2.18.6-1+deb11u1 [46.1 kB]Get:3 http://deb.debian.org/debian bullseye/main armhf libev4 armhf 1:4.33-1 [38.6 kB]Get:4 http://deb.debian.org/debian bullseye/main armhf libmosquitto1 armhf 2.0.11-1 [83.5 kB]Get:5 http://deb.debian.org/debian bullseye/main armhf libwebsockets16 armhf 4.0.20-2 [163 kB]Get:6 http://deb.debian.org/debian bullseye/main armhf mosquitto armhf 2.0.11-1 [253 kB]Get:7 http://deb.debian.org/debian bullseye/main armhf mosquitto-clients armhf 2.0.11-1 [110 kB]Fetched 715 kB in 0s (1,817 kB/s) Selecting previously unselected package libcjson1:armhf.(Reading database ... 72206 files and directories currently installed.)Preparing to unpack .../0-libcjson1_1.7.14-1_armhf.deb ...Unpacking libcjson1:armhf (1.7.14-1) ...Selecting previously unselected package libdlt2:armhf.Preparing to unpack .../1-libdlt2_2.18.6-1+deb11u1_armhf.deb ...Unpacking libdlt2:armhf (2.18.6-1+deb11u1) ...Selecting previously unselected package libev4:armhf.Preparing to unpack .../2-libev4_1%3a4.33-1_armhf.deb ...Unpacking libev4:armhf (1:4.33-1) ...Selecting previously unselected package libmosquitto1:armhf.Preparing to unpack .../3-libmosquitto1_2.0.11-1_armhf.deb ...Unpacking libmosquitto1:armhf (2.0.11-1) ...Selecting previously unselected package libwebsockets16:armhf.Preparing to unpack .../4-libwebsockets16_4.0.20-2_armhf.deb ...Unpacking libwebsockets16:armhf (4.0.20-2) ...Selecting previously unselected package mosquitto.Preparing to unpack .../5-mosquitto_2.0.11-1_armhf.deb ...Unpacking mosquitto (2.0.11-1) ...Selecting previously unselected package mosquitto-clients.Preparing to unpack .../6-mosquitto-clients_2.0.11-1_armhf.deb ...Unpacking mosquitto-clients (2.0.11-1) ...Setting up libmosquitto1:armhf (2.0.11-1) ...Setting up libev4:armhf (1:4.33-1) ...Setting up libcjson1:armhf (1.7.14-1) ...Setting up mosquitto-clients (2.0.11-1) ...Setting up libdlt2:armhf (2.18.6-1+deb11u1) ...Setting up libwebsockets16:armhf (4.0.20-2) ...Setting up mosquitto (2.0.11-1) ...Created symlink /etc/systemd/system/multi-user.target.wants/mosquitto.service → /lib/systemd/system/mosquitto.service.Processing triggers for libc-bin (2.31-13+deb11u5) ... 
armbian@sbcspg:~$ pip install modbus_cli
4,650
edits