It also looks like on 24.04, the if-up.d scripts aren't run at all when resuming from sleep.
Before 24.04:
- Boot
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered (it adds an IP alias to this interface using "ip addr add").
- Put ubuntu to sleep
- Resume ubuntu
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered.
After 24.04:
- Boot
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered (it adds an IP alias to this interface using "ip addr add"). Apparently I could fix this by triggering this script with "IFACE=-all". For now I manually run the "ip addr add" command.
- Put ubuntu to sleep
- Resume ubuntu
- My if-up.d script that triggers for "IFACE=wlp0s20f3" is not called (not even with "IFACE=-all"). The IP alias disappeared, so the interface did go down and get back up, but the script wasn't called at all. For this I don't think I have a fix?
It also looks like on 24.04, the if-up.d scripts aren't run at all when resuming from sleep.
Before 24.04:
- Boot
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered (it adds an IP alias to this interface using "ip addr add").
- Put ubuntu to sleep
- Resume ubuntu
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered.
After 24.04:
- Boot
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered (it adds an IP alias to this interface using "ip addr add"). Apparently I could fix this by triggering this script with "IFACE=-all". For now I manually run the "ip addr add" command.
- Put ubuntu to sleep
- Resume ubuntu
- My if-up.d script that triggers for "IFACE=wlp0s20f3" is not called (not even with "IFACE=-all"). The IP alias disappeared, so the interface did go down and get back up, but the script wasn't called at all. For this I don't think I have a fix?