#!/bin/sh set -eu . ./lib.shs # typically: bring up the networks ip link set dev lo up # FIXME: Xe does not belong to this location (it is just conveniently also behind two NATs and IPv4-only… # TODO: DHCP client! ip addr add 192.168.0.3/24 dev wifi # No IPv6 at public spaces lol (but we should try obtaining it anyway! ip link set dev wifi up ip route add default via 192.168.0.1 dev wifi wireguard wg1 ./machines/$mach/wg1.conf 2a01:4f8:c0c:36b8:ff01:8000:10:f03/108