Skip to content

MilkFlint 0.84a

Pre-release
Pre-release

Choose a tag to compare

@OddBlueDog OddBlueDog released this 19 Nov 11:56
· 30 commits to milkflint-25.12 since this release

An update to 0.83a: downloads on a PPPoE line spread over every CPU, AdGuard Home that keeps lookups filtered when it stops answering, a fix for logins and services failing after hours with AdGuard Home on, and Network Quality timing the DNS server your devices really use. Still OpenWrt 25.12.6 with the same kernel as 0.83a, and still an alpha.

What's new

PPPoE lines

  • A PPPoE download uses every CPU. The Flint 2's Ethernet hardware spreads incoming traffic over the CPUs (RSS) by reading each packet's addresses, which it can't do inside PPPoE, so a PPPoE line's whole download arrived on one receive queue and one CPU, and with multi-queue Smart Queue all of it went through one of its CAKE queues. Packet steering's new Automatic setting (the default) uses the RPS layout on a PPPoE line, which spreads that queue over the other CPUs in software, and Smart Queue gives each CPU a CAKE queue of its own on the PPPoE line, as each RSS ring has on an Ethernet line. On an Ethernet line Automatic is RSS, as before.
  • Performance Tuning says which layout Automatic uses and why; choosing RSS on a PPPoE line says it spreads nothing there, and changing the layout no longer offers to turn multi-queue Smart Queue off on one. The live CPU lanes show the download's queues on their CPUs, and Smart Queue no longer warns that everything uses one queue when each CPU has its own.

AdGuard Home

  • If it stops answering, nothing gets through unfiltered. Once AdGuard Home has started, devices' lookups now fail while it isn't answering, until it's back, rather than going to the router unfiltered. The new If it stops answering card has a switch to have the router answer them meanwhile, as before. A router that already had AdGuard Home on keeps the old behaviour after the upgrade. While AdGuard Home starts, the router answers either way.
  • A hung AdGuard Home is noticed. One that was running but not answering held up MilkFlint's check on it, so devices had no DNS for as long as it hung; only a crash was noticed. It's now caught within seconds. While lookups are held back for it, a stopped AdGuard Home is started again after 30 seconds rather than 5 minutes.

Fixes

  • Logins and services no longer fail after hours with AdGuard Home on. MilkFlint's AdGuard Home, banIP and DNS scripts left a connection to the router's message bus (ubus) open on every check. After some hours (minutes while AdGuard Home was down) the bus refused new connections: LuCI's login page broke, MilkFlint's login said "Wrong password.", services couldn't start, and AdGuard Home and banIP showed as stopped. Every connection is closed now.
  • The login page says when the router's login service isn't answering, instead of "Wrong password.".

DNS

  • Network Quality times the DNS server devices really use. With a DNS program set up outside MilkFlint, such as ctrld hooked into dnsmasq or AdGuard Home installed by hand, Network Quality timed your internet provider's server, which devices never used. It now works out where lookups go from what runs on the router, times that, and says when a program answers repeat lookups from its own cache. A server can also be set by hand.
  • The DNS page names such a program as where lookups go and warns that servers chosen on the page would split lookups with it. The test bench's direct lookups go the same way.

Wi-Fi

  • When a device stops answering while the router has it awake, the router checks on it with small frames, now sent at the lowest basic rate, so those checks no longer count against the speed the Wi-Fi chip picks for that device once it's back.
  • A device with a Target Wake Time agreement (a Wi-Fi 6 power saving some phones use) is no longer taken for silent between its wake times, which could hold its traffic back.

Where the changes come from

  • MilkFlint's own, with tests: the pages', the router side in test VMs (a PPPoE line's download over every CPU, AdGuard Home frozen with each setting, the message bus's connections, DNS programs set up by hand), and the Wi-Fi driver's in its KUnit tests. The PPPoE change was also checked on a Flint 2 on a PPPoE line, over IPv4 and IPv6.

Known issues

  • LuCI's Software page still offers upgrades for the pinned packages. Its Upgrade button leaves them as they are: apk keeps the pinned version. They're upgraded by MilkFlint's own releases.
  • kmod-batman-adv isn't available. It doesn't build on this kernel, so it isn't in MilkFlint's kernel module feed and batman-adv mesh networks can't be set up for now. Kernel 6.12.114 renamed a field that the module still chooses by kernel version.
  • AdGuard Home knows devices by address. Rules for one device in its web interface need the device to keep its address (a reservation on the Clients page); rules by MAC address only work with AdGuard Home's own DHCP server, which stays off.
  • Hardware offloading (WED) is experimental: it turns Smart Queue off while it's on, and it can only be switched with a restart. Leave it off unless you want the CPU free more than you want low latency under load.

Installing

Already on MilkFlint? Keep your settings. Flashing over an earlier MilkFlint with "Keep settings" ticked keeps your configuration, and the update brings it up to date. From GL.iNet's firmware or OpenWrt, don't keep settings: untick "Keep settings" (from a shell: sysupgrade -n), as settings from another firmware may not match this one.

  • Flash only milkflint-0.84a-r33311-981c978eff-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.bin below. Never a factory, preloader or bl31-uboot image.
  • From an earlier MilkFlint: System → Upgrade, or in LuCI, System → Backup / Flash Firmware → Flash image, with "Keep settings" ticked.
  • From GL.iNet's firmware: System → Upgrade → Local Upgrade at http://192.168.8.1, untick "Keep Settings".
  • From OpenWrt: in LuCI, System → Backup / Flash Firmware → Flash image, untick "Keep settings".
  • After a fresh install (settings not kept), plug a cable into a LAN port and open http://192.168.1.1. There's no password yet: sign in with it empty and set one. Wi-Fi is off until you set it up on the Wi-Fi page.

To go back, flash GL.iNet's firmware the same way, again without keeping settings.

Source

Branch milkflint-25.12 at f0210d4cac. Building it is in the README.