From 3d2a97851b1e40a6c4c9573c531e150b0c9e9976 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 30 Apr 2022 09:10:14 +0200 Subject: [PATCH] kunsi-p14s: reinstate bridge, try disabling ipv6 on wifi --- nodes/kunsi-p14s.py | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/nodes/kunsi-p14s.py b/nodes/kunsi-p14s.py index b622702..b84840c 100644 --- a/nodes/kunsi-p14s.py +++ b/nodes/kunsi-p14s.py @@ -36,14 +36,11 @@ nodes['kunsi-p14s'] = { }, }, 'interfaces': { - 'enp2s0f0': { + 'br0': { + #'ips': {'10.73.100.103/16'}, + #'gateway4': '10.73.0.254', 'dhcp': True, }, - 'enp5s0': { - 'ips': {'10.73.100.103/16'}, - 'gateway4': '10.73.0.254', - #'dhcp': True, - }, # there is also wlp3s0, but that's managed by netctl }, 'nfs-client': { @@ -108,6 +105,14 @@ nodes['kunsi-p14s'] = { 'xf86-input-wacom': {}, }, }, + 'sysctl': { + 'options': { + # XXX temp, try to find out why the system randomly + # hangs when using wifi, but only after suspending or + # switching from ethernet. + 'net.ipv6.conf.wlp3s0.disable_ipv6': '1', + }, + }, 'systemd-boot': { 'default': 'arch-lts', 'entries': { @@ -136,6 +141,16 @@ nodes['kunsi-p14s'] = { }, }, }, + 'systemd-networkd': { + 'bridges': { + 'br0': { + 'match': { + 'enp2s0f0', + 'enp5s0', + }, + }, + }, + }, 'timezone': 'Europe/Berlin', 'users': { 'kunsi': {