Skip to content

MilkFlint 0.41a

Pre-release
Pre-release

Choose a tag to compare

@OddBlueDog OddBlueDog released this 02 Nov 08:33
· 102 commits to milkflint-25.12 since this release

An update to 0.32a with a Test Bench for testing the network from several devices at once, an access point mode, kernel 6.12.115 and Wi-Fi driver fixes. Still OpenWrt 25.12.6 and still an alpha.

It includes 0.33a, 0.34a and 0.4a, which were published as source only, without release files.

What's new

  • Kernel 6.12.115 (was 6.12.112).
  • Steadier Wi-Fi:
    • A device that dozes in and out, as phones and laptops do while they scan for networks, no longer loses some of the frames sent to it: they're held until it's awake (mt76 issue 1163).
    • A Wi-Fi network brought up early at boot no longer makes the firmware time out and the chip reset (mt76 issue 959).
    • UL OFDMA is off by default again, as in stock mt76, where it's off because it could hang the firmware.
    • The web interface's Wi-Fi readers no longer read the chip's registers or wait on the firmware inside rpcd, and stop asking the firmware anything for two minutes after the driver reports trouble with it. The radios' temperatures are read once a minute.
    • A channel switch uploads its beacon once; the channel survey (how busy a channel is) no longer freezes after a counter steps backwards; a malformed firmware file is refused instead of read past its end.
  • Fast roaming (802.11r) with WPA3 no longer fails when hostapd hands over a device's key before the device has associated.
  • Flow offloading: a connection's close stays on the fast path, a reset late in a long download is no longer dropped as invalid, and active UDP connections (calls, games, VPNs) keep their state through a firewall reload.
  • Logs: a switch for the kernel's memory error checker (KFENCE), off by default, and a Crashes tab with what it finds. A read of a long log no longer signs everyone out: it keeps the newest lines that fit in one ubus message and says when it left older ones out.
  • WireGuard looks a peer's host name up again only after 180 seconds without a handshake, instead of 150.
  • Sign out ends the session on the router too: its call was missing from the web interface's permissions (ACL).
  • Test Bench, a new page for testing the network from several devices at once. Phones, laptops and PCs join by scanning the bench's QR code or typing its code on the router's sign-in page, without the admin password, and can do nothing on the router but take part. A run measures latency idle and under load, downloads and uploads through Smart Queue (from Cloudflare's speed test, with a data limit per device), traffic between the devices themselves (WebRTC), and DNS and page loads, while the router records its own side every second. The report grades each part against thresholds you can change, keeps past runs, and exports a file with public addresses hidden.
  • Access point mode. The new Operating Mode page runs the router as an access point behind another router. Each switch is checked, and undone if the new mode doesn't work within two minutes. Access point mode offers a software fast path for what the bridge forwards (off by default).
  • Settings apply as soon as you save. Until now a save was undone after 60 seconds unless the browser could still reach the router to confirm it. That also undid changes that only disconnect you for a while: after a new Wi-Fi name or password, a device can take longer than that to rejoin. Now a save is applied and kept straight away, like LuCI's "Apply unchecked", so if a change does cut you off, reconnect another way, such as a cable to a LAN port. Firewall changes are still checked: one that won't load is undone at once.

Backported

From the Linux kernel and OpenWrt, each patch with its author and source:

  • Kernel 6.12.113, by Goetz Goerisch (openwrt/openwrt pull request 25958, with Hauke Mehrtens' arm64 erratum option). MilkFlint bumped 6.12.114 and 6.12.115 the same way, with mac80211's netns_immutable rename for 6.12.114.
  • WireGuard's watchdog waits 180 s, by Roberto Almeida Silva (openwrt/openwrt pull request 23248, OpenWrt 530d27a).
  • mac80211's fixes for 802.3 frames (the way mt7915 hands frames to mac80211), from mainline: d59b9bf7df49, 0e80db08668b, a48daf145fed and c8ddbe1e8c43 by Johannes Berg, and 5f2530a4df8e by Bert Karwatzki. They check the port is authorised, choose the key, and never send such a frame unencrypted or with a tainted key.
  • mac80211 drops oversized fragments: 9338b2dea74c by Yuchao Zhang (6.18.56).
  • Flow offloading, from 6.14: d9d7b489416d by Florian Westphal (the reset after a long transfer) and fdbaf5163331 by Pablo Neira Ayuso (a CLOSING state for connections that are closing).
  • IPv6 connection tracking: 48d522b65fb0 by Jérémy Jean (a fragment's next-header offset is no longer truncated).
  • 802.11r keys before association: "wifi: mac80211: defer AP-side FT key upload until association" by Andrea Covelli (openwrt/openwrt pull request 23181, sent to linux-wireless, not merged yet), adapted to backports 6.18.55.

From mt76:

  • The channel survey's counters that step backwards: 7f811b5cd4b6 by Jason Russell (openwrt/mt76 pull request 1137, still open, for issue 1135).
  • The channel switch beacon uploaded once (2356292ae38f), and the firmware files' RAM region table (ba86572bd0d4) and ROM patch section table (35d9c038be88) checked against their size, by Felix Fietkau.

MilkFlint's own:

  • The bridge fast path, written for 6.12 after reviewing openwrt/openwrt pull request 24038, which does it for 6.18.
  • KFENCE in the kernel, off until the Logs page turns it on; the RSS patches on 6.12.113's new probe order.
  • mt76: frames held for a dozing device by default, the start-up race, UL OFDMA off, pending tokens freed in an RCU read section, and KUnit tests for each.

Installing

Don't keep settings. Untick "Keep settings" when you flash, whether the router runs GL.iNet's firmware, OpenWrt or an earlier MilkFlint (from a shell: sysupgrade -n). Settings from another firmware may not match this one.

  • Flash only milkflint-0.41a-r33311-981c978eff-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.bin below. Never a factory, preloader or bl31-uboot image.
  • From GL.iNet's firmware: System → Upgrade → Local Upgrade at http://192.168.8.1, untick "Keep Settings".
  • From OpenWrt or MilkFlint: in LuCI, System → Backup / Flash Firmware → Flash image, untick "Keep settings". On MilkFlint, System → Upgrade works too.
  • Then 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 6bb8cfb13c. Building it is in the README.

SHA-256 of the image: 7d25d251312b107f497ced7a32811c62a21e0d3e13b62278ed94a254b4c74096