Preparation for ssh-keymanagement and conf-lightpi.json.
authorBenjamin Braatz <bb@bbraatz.eu>
Wed, 3 Aug 2022 03:42:52 +0000 (05:42 +0200)
committerBenjamin Braatz <bb@bbraatz.eu>
Wed, 3 Aug 2022 03:42:52 +0000 (05:42 +0200)
doc/index.md
home/pi/conf-industriepi.json [new file with mode: 0644]
home/pi/conf-init.json [deleted file]
home/pi/conf-lightpi.json [new file with mode: 0644]

index faddb2b4651aaf4a54e160f46e278be5b2a90f1a..4005e75056963a200ec1cafd49bb665338e4cfc3 100644 (file)
@@ -31,14 +31,16 @@ fakeroot
 gcc
 git
 i2c-tools
+inetutils
 linux-rpi
 make
 openssh
 pacman-contrib
 parted
 python
-raspberrypi-bootloader-x
+raspberrypi-bootloader
 raspberrypi-firmware
+rsync
 sudo
 vim
 ```
@@ -113,7 +115,7 @@ $ chmod -R go-rx .ssh/
 ## Image erstellen und aufspielen
 Von außerhalb des chroot:
 ```console
-$ sudo tar -czf contolpi.tar.gz -C controlpi/ .
+$ sudo tar -czf controlpi.tar.gz -C controlpi/ .
 $ fallocate -l 4G 20YY-MM-DD-controlpi-arch.img
 $ sudo losetup --find --show 20YY-MM-DD-controlpi-arch.img
 $ sudo parted --script /dev/loop0 mklabel msdos
@@ -128,5 +130,5 @@ $ sudo tar -xpf controlpi.tar.gz -C /mnt/
 $ sudo umount /mnt/boot
 $ sudo umount /mnt
 $ sudo losetup --detach /dev/loop0
-$ sudo dd if=20YY-MM-DD-controlpi-arch.img of=/dev/mmcblk0 bs=1M
+$ sudo dd if=20YY-MM-DD-controlpi-arch.img of=/dev/mmcblk0 bs=1M oflag=sync status=progress
 ```
diff --git a/home/pi/conf-industriepi.json b/home/pi/conf-industriepi.json
new file mode 100644 (file)
index 0000000..dac7db3
--- /dev/null
@@ -0,0 +1,9 @@
+{
+    "ControlPi-Master": {
+        "plugin": "WSClient",
+        "url": "ws://graph-hsv-hsrobotics-com.castle:8080",
+        "interface": "eth0",
+        "up filter": [ ],
+        "down filter": [ { "target": { "const": "" } } ]
+    }
+}
diff --git a/home/pi/conf-init.json b/home/pi/conf-init.json
deleted file mode 100644 (file)
index dac7db3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-    "ControlPi-Master": {
-        "plugin": "WSClient",
-        "url": "ws://graph-hsv-hsrobotics-com.castle:8080",
-        "interface": "eth0",
-        "up filter": [ ],
-        "down filter": [ { "target": { "const": "" } } ]
-    }
-}
diff --git a/home/pi/conf-lightpi.json b/home/pi/conf-lightpi.json
new file mode 100644 (file)
index 0000000..f289c65
--- /dev/null
@@ -0,0 +1,9 @@
+{
+    "ControlPi-Master": {
+        "plugin": "WSClient",
+        "url": "ws://graph-castle-screwerk-com.castle:8080",
+        "interface": "eth0",
+        "up filter": [ ],
+        "down filter": [ { "target": { "const": "" } } ]
+    }
+}