1

I've follow the official guide to setup a bridge between eth0 und wlan0 in order to use my Pi Zero WH as an AP with raspbian buster 4.19.75+.

When I add the interface brctl addif br0 eth0, the bridge works fine. However after reboot, eth0 consistently isn't a member of br0. The system then looks the following:

root@raspberrypi:~# brctl show
bridge name  bridge id          STP enabled  interfaces
br0          8000.b827eb885a93  no           wlan0

root@raspberrypi:~# cat /etc/systemd/network/bridge-br0.netdev
[NetDev]
Name=br0
Kind=bridge

root@raspberrypi:~# cat /etc/systemd/network/bridge-br0-slave.network
[Match]
Name=eth0

[Network]
Bridge=br0

root@raspberrypi:~# cat /etc/systemd/network/bridge-br0.network
[Match]
Name=br0

[Network]
Address=10.5.5.13/24
Gateway=10.5.5.1
DNS=10.5.5.1
DNS=8.8.8.8
DNS=8.8.4.4

What am I doing wrong?

morrow
  • 113
  • 2

1 Answers1

1

Please don't use the official guide. They are horribly mixing up things, setups and helper programs without understanding what they are doing. Beside other things they use configuration of interfaces with files in /etc/systemd/network. To use these files you have to enable systemd-networkd which is managing these files. For further information you may have a look at Compare three available networking systems on Raspbian.

Now if you check your setup you have made with the buggy guide with:

rpi ~$ systemctl status systemd-networkd.service

you will see that it is disabled! So this cannot work. And no, it does not help to just enable it. This will interfere with dhcpcd and maybe with the bridge-utils.

You can use Setting up a Raspberry Pi as an access point - the easy way to get a tested and running access point.

Ingo
  • 42,961
  • 20
  • 87
  • 207