restingOface@quokk.au to Lemmy Shitpost@lemmy.worldEnglish · 2 days agohandyquokk.auimagemessage-square31fedilinkarrow-up137
arrow-up137imagehandyquokk.aurestingOface@quokk.au to Lemmy Shitpost@lemmy.worldEnglish · 2 days agomessage-square31fedilink
minus-squaresurewhynotlem@lemmy.worldlinkfedilinkarrow-up5·2 days agoFor me, it was openwrt bouncing the external interface during a DHCP renewal, even when the IP didn’t change. They still haven’t fixed that. I patch the stupid file every upgrade. But yeah, at least I could fix it!
minus-squarewonderingwanderer@sopuli.xyzlinkfedilinkarrow-up1·1 day ago But yeah, at least I could fix it! Isn’t openwrt open-source? If you fixed it on your machine, couldn’t you submit a PR to their codebase?
minus-squaresurewhynotlem@lemmy.worldlinkfedilinkarrow-up1·24 hours agoYep, but they gotta merge it still.
minus-squareYoSoySnekBoi@kbin.earthlinkfedilinkarrow-up3·2 days agoI’ve actually got the exact same issue - how did you end up fixing it?
minus-squaresurewhynotlem@lemmy.worldlinkfedilinkarrow-up4·1 day agoThis is the file: /etc/hotplug.d/iface/20-firewall In there, there’s a line that says [ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0 change it to [ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" ] && exit 0 I pieced it together from this post, if it’s still around: https://github.com/openwrt/openwrt/issues/10338
For me, it was openwrt bouncing the external interface during a DHCP renewal, even when the IP didn’t change. They still haven’t fixed that. I patch the stupid file every upgrade.
But yeah, at least I could fix it!
Isn’t openwrt open-source? If you fixed it on your machine, couldn’t you submit a PR to their codebase?
Yep, but they gotta merge it still.
Makes sense
I’ve actually got the exact same issue - how did you end up fixing it?
This is the file:
/etc/hotplug.d/iface/20-firewall
In there, there’s a line that says
[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0change it to
[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" ] && exit 0I pieced it together from this post, if it’s still around: https://github.com/openwrt/openwrt/issues/10338