I'm running proxmox on a PC that has a wireless interface (wlp2s0) and I've bridged it into vmbr50. I'm running hostapd in order to turn the wireless interface into an AP. I have everything working. When I run "brctl show" it lists wpl2s0 in bridge vmbr50. When I reboot its no longer in there even though its in the interfaces configuration. hostapd still brings up the AP configuration and I can connect but it does not farm out an IP because the DHCP server interface is on vmbr50. If I run "brctl addif vmbr50 wlp2s0" the test machine gets an IP address.
I've attempted to write a script with the one command above in init.d ("/etc/init.d/bridge.sh") to join the interface during bootup but it doesn't take. In order to try and get to connect after bootup I've moved the script to crontab using @reboot. I've even tried @reboot sleep 60 && /etc/init.d/bridge.sh. Running the script manually works just fine and causes the interface to join the bridge.
Any thoughts?
I've attempted to write a script with the one command above in init.d ("/etc/init.d/bridge.sh") to join the interface during bootup but it doesn't take. In order to try and get to connect after bootup I've moved the script to crontab using @reboot. I've even tried @reboot sleep 60 && /etc/init.d/bridge.sh. Running the script manually works just fine and causes the interface to join the bridge.
Any thoughts?