I have t debian pc which is used as router.
I'm using hostapd for creating wireless acess point, and i've bridged ethernet and wifi using brige-utils. My /etc/network/interfaces
auto lo iface lo inet loopback setup bridge auto br0 iface br0 inet static bridge_ports wlan0 eth0 address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0
My issue is that after system restart wifi connection(that is wlan0) doesn't added to brige automatically, thought it is supposed to. But then i restart networking or add wlan0 manually, everything works fine. Why can it be?
After system start brctl show:
bridge name bridge id STP enabled interfaces br0 8000.0030488e31ac no eth0
Right after /etc/init.d/networking restart
bridge name bridge id STP enabled interfaces br0 8000.0030488e31ac no eth0, wlan0