Compare commits

..

No commits in common. "f8ddcd7b7c23bcc89f588321918f417cc3472f5d" and "983ad1b1ae7b3742353c643eafe6cfb29ecc1af5" have entirely different histories.

4 changed files with 4 additions and 16 deletions

View file

@ -2,8 +2,6 @@
cd "$OLDPWD" cd "$OLDPWD"
pyenv install --skip-existing
if test -f .venv/bin/python && test "$(realpath .venv/bin/python)" != "$(realpath "$(pyenv which python)")" if test -f .venv/bin/python && test "$(realpath .venv/bin/python)" != "$(realpath "$(pyenv which python)")"
then then
echo "rebuilding venv für new python version" echo "rebuilding venv für new python version"

View file

@ -50,7 +50,7 @@ def units(metadata):
}, },
'Network': { 'Network': {
'DHCP': network_conf.get('dhcp', 'no'), 'DHCP': network_conf.get('dhcp', 'no'),
'IPv6AcceptRA': network_conf.get('IPv6AcceptRA', 'no'), 'IPv6AcceptRA': network_conf.get('dhcp', 'no'),
'VLAN': set( 'VLAN': set(
other_network_name other_network_name
for other_network_name, other_network_conf in metadata.get('network', {}).items() for other_network_name, other_network_conf in metadata.get('network', {}).items()

View file

@ -26,23 +26,16 @@ defaults = {
'qdisc-ppp0.service': { 'qdisc-ppp0.service': {
'Unit': { 'Unit': {
'Description': 'setup queuing discipline for interface ppp0', 'Description': 'setup queuing discipline for interface ppp0',
'After': { 'After': 'sys-devices-virtual-net-ppp0.device',
'pppoe-isp.service',
'sys-devices-virtual-net-ppp0.device',
},
'PartOf': 'pppoe-isp.service',
'BindsTo': 'sys-devices-virtual-net-ppp0.device', 'BindsTo': 'sys-devices-virtual-net-ppp0.device',
}, },
'Service': { 'Service': {
'Type': 'oneshot', 'Type': 'oneshot',
'ExecStart': '/sbin/tc qdisc replace root dev ppp0 cake bandwidth 37Mbit internet besteffort triple-isolate nat egress memlimit 256mb', 'ExecStart': '/sbin/tc qdisc replace root dev ppp0 cake bandwidth 30Mbit rtt 50ms diffserv4 nat egress',
# - no drops save
# - bis 37MBit keine retries bei: iperf3 --client 49.12.184.229 -t999 -i5 --bidir
#'ExecStart': '/sbin/tc qdisc replace root dev ppp0 cake bandwidth 37Mbit internet besteffort nat egress memlimit 256mb',
'RemainAfterExit': 'yes', 'RemainAfterExit': 'yes',
}, },
'Install': { 'Install': {
'WantedBy': 'multi-user.target', 'WantedBy': 'network-online.target',
}, },
} }
}, },

View file

@ -71,9 +71,6 @@
'ipv4': { 'ipv4': {
'ip_forward': 1, 'ip_forward': 1,
}, },
'ipv6': {
'ip_forward': 1,
},
}, },
}, },
'wireguard': { 'wireguard': {