dirkse il y a 8 ans
Parent
commit
68785ea3fa
5 fichiers modifiés avec 77 ajouts et 14 suppressions
  1. 2 0
      hosts.yml
  2. 14 10
      readme.md
  3. 1 1
      services.yml
  4. 0 2
      vaping/Dockerfile
  5. 60 1
      vaping/config.yml

+ 2 - 0
hosts.yml

@@ -24,4 +24,6 @@ all:
       ansible_ssh_host: 192.168.178.43
     blaubeere:
       ansible_ssh_host: 192.168.178.49
+    erdbeere:
+      ansible_ssh_host: 192.168.178.29
 

+ 14 - 10
readme.md

@@ -1,10 +1,11 @@
 raspi-config
 ============
+- default login: pi/raspberry
 - via "sudo raspi-config"
   - german-locale + german-keymap
   - activate sshd (and i2c for pi-usv)
   - reboot (for keyboard)
-  - may disable sound (/boot/config.txt, dtparam=audio=off)
+  - may disable sound (for stuff that uses gpio like matrix) (/boot/config.txt, dtparam=audio=off)
 - apt install -y vim curl htop mc tmux git
 
 manual stuff
@@ -20,15 +21,6 @@ manual stuff
   - sudo wpa_cli reconfigure
   - we should get a IP now: ifconfig wlan0
 
-- configure disks
-  - mkdir /mnt/ssdext
-    - fstab: /dev/sda1 /mnt/ssdext ext4 rw,defaults 0 0
-  - mkdir /mnt/hddex
-    - test: mount -t cifs -o username='ftpuser',password='#*ftpuser.00',uid=1000,gid=1000,sec=ntlm //192.168.178.1/FRITZ.NAS/TOSHIBA-MK5065GSXF-01 /mnt/hddext
-    - fstab:
-        - printf "username=ftpuser\npassword=#*ftpuser.00\n" > /home/pi/.smbcredentials
-        - //192.168.178.1/FRITZ.NAS/TOSHIBA-MK5065GSXF-01 /mnt/hddext  cifs credentials=/home/pi/.smbcredentials,uid=1000,gid=1000,sec=ntlm 0 0
-
 docker
 ======
 - Use Raspian/Jessi (2017-9-24, stretch has no docker packages)
@@ -44,3 +36,15 @@ docker
 - systemctl daemon-reload && systemctl restart docker
 - systemctl status docker
 - docker ps
+
+Himbeere only
+=============
+- configure disks
+  - mkdir /mnt/ssdext
+    - fstab: /dev/sda1 /mnt/ssdext ext4 rw,defaults 0 0
+  - mkdir /mnt/hddex
+    - test: mount -t cifs -o username='ftpuser',password='#*ftpuser.00',uid=1000,gid=1000,sec=ntlm //192.168.178.1/FRITZ.NAS/TOSHIBA-MK5065GSXF-01 /mnt/hddext
+    - fstab:
+        - printf "username=ftpuser\npassword=#*ftpuser.00\n" > /home/pi/.smbcredentials
+        - //192.168.178.1/FRITZ.NAS/TOSHIBA-MK5065GSXF-01 /mnt/hddext  cifs credentials=/home/pi/.smbcredentials,uid=1000,gid=1000,sec=ntlm 0 0
+

+ 1 - 1
services.yml

@@ -207,7 +207,7 @@ matrix: # interface with RGB LED-Matrix
     pydemo3: bindings/python/samples/simple-square.py -c 4 --led-show-refresh
 
 vaping:
-  host: himbeere
+  host: erdbeere
   docker:
     build: vaping
     ports: 6080:7021

+ 0 - 2
vaping/Dockerfile

@@ -13,7 +13,5 @@ RUN pip install vaping
 COPY config.yml /vaping/config.yml
 EXPOSE 7021
 
-
-
 CMD vaping --home=/vaping/ --debug  --verbose start
 

+ 60 - 1
vaping/config.yml

@@ -15,7 +15,18 @@ probes:
         - host: 208.67.222.222
           name: OpenDNS
           color: orange
-    raspis:
+    inet:
+        hosts:
+        - host: nexus.vls.io
+          name: vls.io
+          color: red
+        - host: netaachen.de
+          name: net-aachen
+          color: blue
+        - host: taz.de
+          name: taz
+          color: orange
+    raspi:
       hosts:
         - host: 192.168.178.49
           name: Blaubeere
@@ -23,6 +34,54 @@ probes:
         - host: 192.168.178.43
           name: Himbeere
           color: blue
+    repeater:
+      hosts:
+        - host: 192.168.178.64
+          name: Repeater1750
+          color: red
+        - host: 192.168.178.34
+          name: Repeater7330
+          color: blue
+        - host: 192.168.178.24
+          name: Fritzbox7490
+          color: orange
+    pc:
+      hosts:
+        - host: 192.168.178.36
+          name: cbase
+          color: red
+        - host: 192.168.178.28
+          name: blackbox
+          color: blue
+        - host: 192.168.178.33
+          name: cg-x250
+          color: orange
+
+    mobil:
+      hosts:
+        - host: 192.168.178.51
+          name: lilith-redmi
+          color: red
+        - host: 192.168.178.27
+          name: cg-android
+          color: blue
+        - host: 192.168.178.45
+          name: elise-ip4
+          color: orange
+    sonos:
+      hosts:
+        - host: 192.168.178.23
+          name: connect
+          color: red
+        - host: 192.168.178.26
+          name: p3
+          color: blue
+        - host: 192.168.178.31
+          name: p5
+          color: orange
+        - host: 192.168.178.25
+          name: amp
+          color: green
 
 plugins:
   - name: std_fping