sakaki- / archlinux-on-b3

Bootable live-USB of Arch Linux for the Excito B3 miniserver, with archlinuxarm.org kernel
GNU General Public License v2.0
11 stars 3 forks source link

systemd-networkd regression affecting bridge #3

Open mestaritonttu opened 4 years ago

mestaritonttu commented 4 years ago

I am affected by an issue discussed in the Excito forums.

Gordon advised "I'd simply delete the bridge and link the protocol(s) directly to eth1", but I don't know how to do this in practice. I'm sorry for basically begging for user support, but can you help me with this?

mestaritonttu commented 4 years ago

I did more thinking, looked at the fw-setup script and the WiFi gateway instructions and did these:

Edited /etc/hostapd/hostapd.conf and commented out bridge=br0 Edited /etc/systemd/network/eth1.network and commented out Bridge=br0

sudo /usr/bin/iptables -A INPUT -p udp -m udp -i eth1 --dport 53 -j ACCEPT sudo /usr/bin/iptables -A INPUT -p tcp -m tcp -i eth1 --dport 53 -j ACCEPT sudo /usr/bin/iptables -A INPUT -p udp -m udp -i eth1 --dport 67 --sport 68 -j ACCEPT sudo /usr/bin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT sudo /usr/bin/iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT

Now the connection seems to be staying reliable! I will close this tomorrow, if everything is fine.

sakaki- commented 4 years ago

Hi @mestaritonttu,

I'll try to have a look at this tomorrow.

Best, sakaki

mestaritonttu commented 4 years ago

Thanks. If you want to look into a workaround for the systemd bug, I can keep this open. I don't use the WiFi gateway, so I'm fine without the bridge. Now the connection is indeed stable and my IRC bot is not dropping out!