Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fffw-marktplatz: init location #772

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions group_vars/model_dlink_dir_842_c3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
target: ath79/generic
brand_nice: D-Link
model_nice: DIR-842
version_nice: C3

model__packages__to_merge:
- "-kmod-ath10k-ct -ath10k-firmware-qca988x-ct"
- "kmod-ath10k ath10k-firmware-qca988x"

switch_ports: 7
switch_int_port: 6
switch_ignore_ports: [0]

int_port: eth0

wireless_devices:
- name: 11a_standard
band: 5g
htmode_prefix: VHT
path: pci0000:00/0000:00:00.0
ifname_hint: wlan5
- name: 11g_standard
band: 2g
htmode_prefix: HT
path: platform/ahb/18100000.wmac
ifname_hint: wlan2
102 changes: 102 additions & 0 deletions locations/fffw-marktplatz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
location: fffw-marktplatz
location_nice: Marktplatz Fürstenwalde
latitude: 52.35849
longitude: 14.06401
contact_name: 'Marc & Martin & Kevin'
contact_nickname: 'marcw, akira25, ipse-diabolus'
contacts:
- 'fuerstenwalde@freifunk.net'

hosts:
- hostname: fffw-marktplatz-core
role: corerouter
model: "dlink_dir-842-c3"
wireless_profile: freifunk_fw

# IPv6 prefix from Berlin
ipv6_prefix: "2001:bf7:800:1500::/56"

# got following prefixes:
# Router: 10.31.242.192/26
# --DHCP: 10.31.242.224/27
# ------: 10.31.242.192/27
# --MESH: 10.31.242.208/28
# --MGMT: 10.31.242.192/28

networks:

# MESH - Rathaus
- vid: 10
role: mesh
name: mesh_rathaus
prefix: 10.31.242.208/32
ipv6_subprefix: -10


# MESH - 5 GHz 802.11s
- vid: 20
role: mesh
name: mesh_11s_5ghz
prefix: 10.31.242.209/32
ipv6_subprefix: -20
mesh_ap: fffw-marktplatz-core
mesh_radio: 11a_standard
mesh_iface: mesh

# MESH - 2.4 GHz 802.11s
- vid: 21
role: mesh
name: mesh_11s_2ghz
prefix: 10.31.242.210/32
ipv6_subprefix: -21
mesh_ap: fffw-marktplatz-core
mesh_radio: 11g_standard
mesh_iface: mesh

# DHCP
- vid: 40
role: dhcp
prefix: 10.31.242.224/27
ipv6_subprefix: 0
assignments:
fffw-marktplatz-core: 1

# MGMT
- vid: 42
role: mgmt
prefix: 10.31.242.208/28
gateway: 1
dns: 1
ipv6_subprefix: 1
assignments:
fffw-marktplatz-core: 1 # .129

# UPLK
- vid: 50
role: uplink
untagged: true

- role: tunnel
ifname: ts_wg0
mtu: 1280
prefix: 10.31.242.211/32
wireguard_port: 51820

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.31.242.212/32
wireguard_port: 51821


# only place this ssh-keys
ssh_keys:
- comment: Marc
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDNe6bFfixmUPT6OTgLOcuzaLgBk3EItz/uDemP5PNWjSYSqIIvXe7A0tt0n3rLzK3tp2UF/OXqesnOnrh1iSG0bsJ45NOKyN62GdZqd63YuPk4YyNA8/Gpsio1ynZD+YBdshUteDU8Wht8ApwkRbwNkM77C0vYoG855jm5dxL+SSuioNEgfkTAvvQNW+eAy1uatHISTAWkk4rO78B2hA+Fz1pmA4o/DHT5DHBiBBN3rKtAj0be2UdSikHDIEsdgD/YGqZVCFEWVpEn+fxasEWXBSwts0aBaFB+5VbwWV7Hhj1F9vgIRbOv2PEjDpOfcHzfDmjTKh/teaYEoX0Wrgq4qWDE71JZU9xEi/X7urLVlCUdx0VZjuchpFo+AmpF3x31PFoV+g32W8gZNn5umK0FgKMxaL8uV/PejQbUtvpWcDFmc8/qliKMzwb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O2+WAGIK3IwLb4j7us/4ghno03n+F8gqAIbDYuAkuA/90To6nX99KUkF0Fm/Ajp2GYZJZBnH9icFdTmm8hKY4vmrWNW0x4/IKYNcBLPkHSsPdbtI7nsFq+Tut8d7RjpDhBv/iPijPnqXlkkaRZfGkh0zd8v/l/DsxOKptUXbABY04DEIGjc0xFsURj1u20HkM84dVEGDWdht3OEpIb+Tr+AdVXj+Y9GiY7/JJVutaPgpcCeO3uFY9pFIQrWX+N69DJlFof0G+kyZapJUnE+C5s66bDaQzqCS9WhnaYIqsyUhHA2KrCyxUyCivEeMmlpkS02kG0vVqLCVR168AvvwrVc4mtleCLtiIgWe5StTRRBAWwK/yorXT6fepu71M7xwz04arilSM3I4m1R4heW3crV1MJDbiToaAE8OcpFXr0Ced+T+dTQ6dZ4C3y6a2lex6R/WOKSYLBMK/uHzP64ln1gTxJtgT9E18dsKA3PuIaAInLzVPkH7qCnkTo09sJQjyNpjaX9hEryMEH8xEyu8GdRLLK7aVCt9SWuYbU7m9lLJbu5oVEr44yn9BJUor1W75sQCIM2YtUi7aCiEhrXT1D martin@Latitude-E5520
- comment: Kevin
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEgYWmfClmYFWkOR2WfjdmqvDK7tznxJIf8xb/WX8nhT Kevin
- comment: Noki
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPjIgJKflHEYOIdskwalr83PflhPmFkrAebP2bUkOE11 Noki