aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-30 07:21:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-30 07:21:08 +0200
commit9014df79b77b131eb45914c0cd5551d18b612045 (patch)
tree54d4aa428615e36d9377cd3f5902b1680cbfea4f /init
parent5845b11792e48c7841b6c0f43f453de57652c255 (diff)
Upgrade to latest Debian testing
One notable change is the switch from ntp to systemd-timesyncd. systemd/udev 245.6-2 qemu-system-x86 5.0-13 linux-image-amd64 5.7.6 g++ 9.3.0-15 initramfs-tools 0.137 debootstrap 1.0.123 Sizes (previous): buildos-image 5572672 (5466496) buildos-initrd 316454368 (307985422)
Diffstat (limited to 'init')
-rwxr-xr-xinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/init b/init
index e9b59f7..6fb3840 100755
--- a/init
+++ b/init
@@ -244,7 +244,7 @@ priv_netbase="$(sed -e 's/^\(.*\)\.0\.0$/\1/' <<<"$priv_network")"
#
# While bridge_hw should be (and used to be) enough, something was broken (bug
# #945466) and now we set it manually and also pass it to DHCP (which runs
-# before post-up).
+# before post-up). Reportedly fixed in bridge-utils 1.6-3, testing the fix...
#
cat <<EOF >/etc/network/interfaces
auto lo
@@ -259,8 +259,8 @@ iface br0 inet dhcp
bridge_maxwait 0
bridge_fd 0
bridge_hw $gmac
- hwaddress $gmac
- post-up ip link set br0 address $gmac
+ #hwaddress $gmac
+ #post-up ip link set br0 address $gmac
post-up ip link set $eth txqueuelen 4000
post-up ip link set br0 txqueuelen 4000
@@ -275,7 +275,7 @@ iface br1 inet static
bridge_maxwait 0
bridge_fd 0
bridge_hw $lmac
- post-up ip link set br1 address $lmac
+ #post-up ip link set br1 address $lmac
post-up ip link set br1 txqueuelen 4000
post-up iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE
post-up iptables -A FORWARD -i br0 -o br1 -m state --state RELATED,ESTABLISHED -j ACCEPT