From 74753ed8c16e7be9171d5f89588ec6c2904012f7 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov <5081863+zeridon@users.noreply.github.com> Date: Thu, 18 Apr 2019 09:20:33 +0300 Subject: [PATCH] Import first batch of docs/configs --- communication/.gitignore | 2 + communication/slack-irc-sync/config.toml | 90 +++++++++++++++++++ .../slack-irc-sync/matterbridge@.service | 12 +++ docs/ip-assignments.md | 90 +++++++++++++++++++ radio-configs/.gitignore | 1 + radio-configs/of2019-chirp.csv | 17 ++++ 6 files changed, 212 insertions(+) create mode 100644 communication/.gitignore create mode 100644 communication/slack-irc-sync/config.toml create mode 100644 communication/slack-irc-sync/matterbridge@.service create mode 100644 docs/ip-assignments.md create mode 100644 radio-configs/.gitignore create mode 100644 radio-configs/of2019-chirp.csv diff --git a/communication/.gitignore b/communication/.gitignore new file mode 100644 index 0000000..c441e13 --- /dev/null +++ b/communication/.gitignore @@ -0,0 +1,2 @@ +botconfig-*.toml +of*.toml diff --git a/communication/slack-irc-sync/config.toml b/communication/slack-irc-sync/config.toml new file mode 100644 index 0000000..fffe482 --- /dev/null +++ b/communication/slack-irc-sync/config.toml @@ -0,0 +1,90 @@ +[irc] + [irc.ludost] + Server="irc.ludost.net:6697" + UseTLS=true + UseSASL=false + SkipTLSVerify=false + Nick="Synchrotron" + MessageDelay=200 + MessageQueue=1000 + MessageLength=500 + IgnoreNicks="Slacksync Slacksync-OF" + IgnoreMessages="^~~ badword" + RemoteNickFormat="[{PROTOCOL}] <{NICK}> " + ShowJoinPart=false + +[slack] + [slack.openfest] + # change with real token + Token="xoxp-some-letters-and-numbers" + IconURL="https://robohash.org/{NICK}.png?size=48x48" + NickFormatter="plain" + NicksPerRow=4 + EditDisable=false + EditSuffix=" (edited)" + PrefixMessagesWithNick=false + IgnoreNicks="Slacksync Slacksync-OF" + IgnoreMessages="^~~ badword" + RemoteNickFormat="[{PROTOCOL}] <{NICK}> " + ShowJoinPart=false + +[api] + [api.local] + BindAddress="0.0.0.0:4242" + Buffer=1000 + Token="a-real-not-disclosed-token" + +[general] + RemoteNickFormat="[{PROTOCOL}] <{NICK}> " + +[[gateway]] + name="si-of-general" + enable=true + + [[gateway.inout]] + account="irc.ludost" + channel="#openfest" + + [[gateway.inout]] + account="slack.openfest" + channel="general" + +[[gateway]] + name="si-of-noc" + enable=true + + [[gateway.inout]] + account="irc.ludost" + channel="#of-noc" + + [[gateway.inout]] + account="slack.openfest" + channel="noc" + +[[gateway]] + name="si-of-video" + enable=true + + [[gateway.inout]] + account="irc.ludost" + channel="#video" + + [[gateway.inout]] + account="slack.openfest" + channel="video" + +[[gateway]] + name="api-fan" + enable=true + + [[gateway.in]] + account="api.local" + channel="api" + + [[gateway.out]] + account="slack.openfest" + channel="general" + + [[gateway.out]] + account="irc.ludost" + channel="#openfest" diff --git a/communication/slack-irc-sync/matterbridge@.service b/communication/slack-irc-sync/matterbridge@.service new file mode 100644 index 0000000..464f800 --- /dev/null +++ b/communication/slack-irc-sync/matterbridge@.service @@ -0,0 +1,12 @@ +[Unit] +Description=matterbridge sync service (%i) +After=network.target + +[Service] +User=nobody +Group=nogroup +PrivateTmp=yes +ExecStart=/opt/go-home/bin/matterbridge -conf /etc/matterbridge/%i.toml + +[Install] +WantedBy=multi-user.target diff --git a/docs/ip-assignments.md b/docs/ip-assignments.md new file mode 100644 index 0000000..14a36c6 --- /dev/null +++ b/docs/ip-assignments.md @@ -0,0 +1,90 @@ +# IP ranges assignments + +## VLANs +ID | IP/Range | Name | Notes +---|----------|------|--------- +10 | single ip | external | Provided by ??? +20 | 10.20.0.0/24 | mgmt | +21 | 10.21.0.0/22 | wired | wired clients / workshop +22 | 10.22.0.0/22 | wireless | ap +23 | 10.23.0.0/24 | video | video team +24 | 10.24.0.0/24 | overflow | overflow TV's +25 | 10.25.0.0/24 | reception | Reception related + +## Assignments + +### MGMT +IP | Name | Notes +---|------|------ +.1 | eric | router/services +.2 | eagle | backup +.11 | coresw | CORE +.21 | vocsw-A | video team switch room A +.22 | vocsw-B | video team switch room B +.27 | vocsw-C | video team switch room C +.23 | nocsw | NOC/team switch +.24 | wssw1 | workshop area switch +.25 | wssw2 | workshop area switch +.26 | receptionsw | reception area switch +.28 | connectionsw | special connection switch (not confirmed) +.29 | fl2sw | Second floor trunk switch +.50 | ap-cf-f-l | ap conf floor left foaier +.51 | ap-cf-f-r | ap conf floor right foaier +.52 | ap-cf-mr-1 | ap conf floor main room +.53 | ap-cf-mr-2 | ap conf floor main room +.54 | ap-cf-mr-3 | ap conf floor main room +.55 | ap-cf-mr-4 | ap conf floor main room +.56 | ap-cf-sr-1 | ap conf floor second room +.57 | ap-cf-sr-2 | ap conf floor second room +.58 | ap-cf-ch | ap conf floor chillout area +.59 | ap-cf-qws | ap conf floor quiet workshop area +.60 | ap-ws-ws1 | ap workshop floor workshop area +.61 | ap-ws-ws2 | ap workshop floor workshop area +.62 | ap-ws-noc | ap workshop floor NOC/team room +.63 | ap-spare-1 | Spare AP#1 +.64 | ap-spare-2 | Spare AP#2 +.65 | ap-spare-3 | Spare AP#3 + +### Video +IP | Name | Notes +---|------|------ +.1 | eric | +.5 | videosw-A | main room Blackmagic video switcher +.6 | scaler-A | Atlona scaler in room A +.7 | videosw-B | second room Blackmagic video switcher +.8 | fbox-camera | FOSDEM cambox in room C +.9 | fbox-slides | FOSDEM slidebox in room C +.21 | stream-A | main room streamer +.22 | stream-B | second room streamer +.23 | stream-C | third room streamer/control +.31 | control-A-1 | main room laptop/controller ??? +.32 | control-A-2 | main room laptop/controller ??? +.35 | icom-A-1 | RPI intercom receiver 1 - main room +.36 | icom-A-2 | RPI intercom receiver 1 - main room +.37 | icom-A-3 | RPI intercom receiver 1 - main room +.41 | control-B-1 | second room laptop/controller ??? +.42 | control-B-2 | second room laptop/controller ??? +.45 | icom-B-1 | RPI intercom receiver 1 - second room +.46 | icom-B-2 | RPI intercom receiver 1 - second room +.47 | icom-B-3 | RPI intercom receiver 1 - second room + +### Overflow +IP | Name | Notes +---|------|------ +.1 | eric | +.11 | tv-1 | overflow-1 RPI +.12 | tv-2 | overflow-2 RPI + +### Wired +IP | Name | Notes +---|------|------ +0.1 | eric | +0.20 | presenter-A | presenter wired connection in main room +0.30 | presenter-B | presenter wired connection in second room +0.40 | presenter-C | presenter wired connection in third room + +### Reception +IP | Name | Notes +---|------|------ +.1 | eric | +.11 | printer-1 | printer reception diff --git a/radio-configs/.gitignore b/radio-configs/.gitignore new file mode 100644 index 0000000..a89285e --- /dev/null +++ b/radio-configs/.gitignore @@ -0,0 +1 @@ +*.img diff --git a/radio-configs/of2019-chirp.csv b/radio-configs/of2019-chirp.csv new file mode 100644 index 0000000..813f582 --- /dev/null +++ b/radio-configs/of2019-chirp.csv @@ -0,0 +1,17 @@ +Location,Name,Frequency,Duplex,Offset,Tone,rToneFreq,cToneFreq,DtcsCode,DtcsPolarity,Mode,TStep,Skip,Comment,URCALL,RPT1CALL,RPT2CALL,DVCODE +0,General,446.006250,,0.600000,TSQL,100.0,100.0,023,NN,NFM,6.25,,,,,, +1,Network,446.018750,,0.600000,TSQL,159.8,159.8,023,NN,NFM,6.25,,,,,, +2,Video,446.031250,,0.600000,TSQL,127.3,127.3,023,NN,NFM,6.25,,,,,, +3,Fire,446.043750,,0.600000,TSQL,167.9,167.9,023,NN,NFM,6.25,,,,,, +4,PMR 05,446.056250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +5,PMR 06,446.068750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +6,PMR 07,446.081250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +7,PMR 08,446.093750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +9,DMR 09,446.106250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +10,DMR 10,446.118750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +11,DMR 11,446.131250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +12,DMR 12,446.143750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +13,DMR 13,446.156250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +14,DMR 14,446.168750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +15,DMR 15,446.181250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +16,DMR 16,446.193750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,,