You are not logged in.
I have a fairly complex setup involving br0, hostapd service and a VM managing DHCP for br0.
br0 receives IP from a pfSense running in a VM, but it takes some time before VM boots and assigns IP to br0 once the host system has started.
The hostapd service must start only after the IP has been assigned to br0, otherwise it will not work properly. Therefore, I am looking for a way to start it only after that IP has been assigned.
I cannot use something like
After=network.target
because it would make it start way to early.
Any ideas welcome.
Offline
Try 'network-online.target', works here for mounting my NFS shares after the network comes up.
Offline
Try 'network-online.target', works here for mounting my NFS shares after the network comes up.
This won't help because AFAIK it will start it as soon as eth0 gets an IP, which is about 1 minute earlier than br0 getting an IP.
Offline
Well, how about using systemd-networkd-wait-online then? You can specify which interface to wait for.
Offline