Compare commits

...

4 commits

Author SHA1 Message Date
f8ddcd7b7c
forward ipv6 2025-08-03 22:39:18 +02:00
962bd06a32
qdisc-ppp0 partof pppoe-isp 2025-08-03 22:38:12 +02:00
3d6d4d5503
IPv6AcceptRA not via dhcp option 2025-08-03 22:35:56 +02:00
4b22705ff7
pyenv install --skip-existing 2025-08-03 22:35:29 +02:00
4 changed files with 16 additions and 4 deletions

View file

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

View file

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

View file

@ -26,16 +26,23 @@ defaults = {
'qdisc-ppp0.service': {
'Unit': {
'Description': 'setup queuing discipline for interface ppp0',
'After': 'sys-devices-virtual-net-ppp0.device',
'After': {
'pppoe-isp.service',
'sys-devices-virtual-net-ppp0.device',
},
'PartOf': 'pppoe-isp.service',
'BindsTo': 'sys-devices-virtual-net-ppp0.device',
},
'Service': {
'Type': 'oneshot',
'ExecStart': '/sbin/tc qdisc replace root dev ppp0 cake bandwidth 30Mbit rtt 50ms diffserv4 nat egress',
'ExecStart': '/sbin/tc qdisc replace root dev ppp0 cake bandwidth 37Mbit internet besteffort triple-isolate nat egress memlimit 256mb',
# - 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',
},
'Install': {
'WantedBy': 'network-online.target',
'WantedBy': 'multi-user.target',
},
}
},

View file

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