Our stable 26101610sta runs on Gluon v2025.1.x. Here is everything we add to Gluon „out of the ordinary,“ in full, organized by functional area: our own packages, forks of community packages, and patches.
Intended for anyone who builds Gluon for their community and wants to see whether anything in here is useful to them.
- Feed Neanderfunk/packages, branch
v2025.1.x, as of this release: GitHub - Neanderfunk/packages at bf0f1c21e8fe545d8d86b6bf0962f1525db3aeaf · GitHub - Patches in three repos, each on branch
v2025.1.x: gluon-patches-hardware (devices, drivers), gluon-patches-fixes (system behavior), gluon-patches-packages (patches belonging to feed packages). The links point to the state of this release. - Images and build description per domain: Freifunk Neanderfunk Firmware Seite (under
<domain>/site/you will findbuild-info.txt,patchrepos,modules,site.conf,image-customization.lua, and the logs)
Regarding the Upstream line for packages: this refers to freifunk-gluon/community-packages or the original repo, not Gluon core, unless stated otherwise.
Setup: Setup Mode and Config Mode
neanderfunk-setup-mode and neanderfunk-config-mode-theme
- Function: Setup mode on a single page: the wizard at the top, below it every form of the advanced settings as a collapsed group, and a „Save & Restart“ button. In Gluon’s setup mode, you lose your entries when switching from the wizard to the advanced settings.
- The forms remain those of Gluon and the packages. A package with its own
model()appears automatically as an additional group. Only what has been changed is written, and only if all forms are valid. - Theme: responsive without width-based media queries, dark mode according to browser settings, everything local (no web fonts, no external links), replaces Gluon’s theme via
PROVIDES gluon-config-mode-theme - Further: Setup mode ends automatically after 24 h (save and restart); the map only loads tiles once the position is enabled; setting coordinates checks the box „Publish node position“; texts in de/fr
- Integration:
'-gluon-config-mode-theme'in the package list, otherwise the image build aborts (both provideview/theme/layout.html) - Limits: tested in QEMU (x86-64)
- Package:
neanderfunk-setup-mode,neanderfunk-config-mode-theme
neanderfunk-setup-wifi
- Function: WLAN
setup.gluon_<MAC>in setup mode, setup without a network cable. site.confsetup_mode.wifiwithstart(button,off,boot),security(open,wpa2),timeout. - Captive portal: every probe host (Apple, Android, Windows, Firefox, Linux desktops, and others) resolves via DNS to the node, uhttpd answers every unknown path with
302to the wizard. The phone reports „Sign in to network“ and opens it. In the setup WLAN198.51.100.0/24(TEST-NET-2), because Android does not open its sign-in window when the probe host resolves to an RFC 1918 address. - Button: a short press in setup mode switches the setup WLAN on. The LED then blinks quickly (200/60 ms) instead of the setup-mode rhythm (1000/300 ms).
- Remains a patch:
setup-mode-network/setup-mode-wifi.sh,setup-mode-network/setup-mode-captive.sh,setup-mode-network/setup-mode-hostnames.sh.S60dnsmasqandcgi-bin/portalbelong to Gluon packages, and two packages cannot own the same file. - Limits: captive portal tested on Android 16 and iOS 27 (under Gluon 2023.2); the other systems are listed, but their effect is not verified. Devices with a capacitive WPS surface (Genexis Pulse EX400) can trigger the open setup WLAN without a finger.
- Package:
neanderfunk-setup-wifi
Setup mode over https
setup-mode-network/setup-mode-tls.sh: config mode in setup mode additionally on port 443, with a self-signed certificate frompx5g, generated in/tmp. Otherwise, browsers set to „HTTPS only“ show an error page instead of a certificate warning.- Limits: only with the feature
tls, pulls inpx5g-mbedtls. Tested in QEMU (x86-64) and on the WDR3600.
neanderfunk-default-hostname
- Function: new nodes are named
<hostname_prefix><model>-<last 4 of node_id>, for exampledias-WDR3600-1b8c; model name taken from the Gluon image name - Remains a patch:
hostname/default-hostname.shletsgluon.util.default_hostname()ask the package - Limits: existing nodes keep their name
- Package:
neanderfunk-default-hostname
neanderfunk-ap-timer
- Function: client WLAN switched on and off according to a schedule (daily or weekly), with a page in config mode; switches all client radios and the OWE BSS along with it
- Origin:
ff-ap-timerandff-web-ap-timer(community-packages), merged into one package - Dependencies: CONFLICTS
ff-ap-timer,ff-web-ap-timer - Package:
neanderfunk-ap-timer
neanderfunk-button-bind
- Function: function of the WLAN/WPS button can be selected: WLAN on/off, no function, WLAN reset, night mode (LEDs off, on only while pressed)
- Origin:
ffffm-button-bind(freifunk-ffm/packages), with a bugfix in the upgrade script, texts via i18n - Dependencies: CONFLICTS
ffffm-button-bind - Package:
neanderfunk-button-bind
neanderfunk-preserve-wifichannel
- Function: makes
wifi24.preserve_channelsfrom the site.conf the default for Gluon’s uci optiongluon.wireless.preserve_channels, also per band; resets the channels once after a site, domain, or outdoor change - Upstream: concerns Gluon core, Gluon does not evaluate the site.conf key
- Package:
neanderfunk-preserve-wifichannel
Patches
gluon-config-mode/wizard-save-only.shandgluon-config-mode/wizard-save-lock.sh: save without restart; only one „Save & Restart“ at a time. A double click otherwise started parallelgluon-reconfigureruns, resulting in hostnameOpenWrtand timezone UTC.wizard-save-lockrequireswizard-save-only.gluon-config-mode/outdoor-schalter.sh: the outdoor switch in the advanced settings and in the wizard is independent ofpreserve_channels; it now depends only on the hardware
Controlling and migrating nodes
neanderfunk-nodeplacer
- Function: moves individual nodes server-side to another domain, controlled via a signed manifest. The trust anchors are the keys and threshold of the autoupdater.
- site.conf: optional; if not specified, the mirrors, keys, and threshold of the autoupdater branch apply
- Related, with a different purpose:
gluon-scheduled-domain-switch(entire domain, time-controlled),gluon-hoodselector(by coordinates),gluon-config-mode-domain-select(selection by operators) - Dependencies: CONFLICTS
gluon-hoodselector - Limits: only within the same community; at most 3 attempts in 7 days per target; multidomain not yet tested on devices
- Package:
neanderfunk-nodeplacer
neanderfunk-legacy-migrate
- Function: upgrade scripts for large jumps to 2025.1 from Gluon 2015.1: applies configuration migrations that Gluon has since removed (hwmode to band, mesh on WAN/LAN to roles, VPN switch and bandwidth limit, IBSS mesh, old firewall zones,
sysctl.conf, foreign autoupdater branches). On x86, LAN and WAN are bound to the network card instead ofethN. - Limits: x86 end-to-end tested with MBR and EFI and real 2021.1 images; 4 MB devices have no path
- Package:
neanderfunk-legacy-migrate
neanderfunk-migrate-updatebranch
- Function: redirects outdated autoupdater branches and settings to the current ones
- Package:
neanderfunk-migrate-updatebranch
Patch
targets/x86-mbr-sysupgrade.sh: x86-generic, -legacy, and -64 additionally build the MBR image asimages/other/…-mbr-sysupgrade.img.gz. Otherwise, old x86 nodes up to Gluon 2021.1 lose their configuration when jumping to the EFI image (Gluon #2967).
Mesh and network
neanderfunk-port-roles
- Function: config-mode page „Ports“: role per network port (uplink, mesh, client, none) on DSA switches and separate interfaces, plus VLANs per port. Only takes effect if a port is set differently from its group (own section
gluon.iface_<port>). - Origin: new development
- Limits: ports behind swconfig keep one role per group. VLAN sub-interfaces on the device not yet tested.
- Package:
neanderfunk-port-roles
Patches
bugfixes/wired-hop-penalty.sh:gluon_wireddoes not announcehop_penaltyas an option. Since Gluon #3454, the hop penalty on the wired mesh does not reach batman-adv and stays at 0. WLAN and VPN are not affected.security/batman-adv-fixes.sh: four fixes from batman-adv upstream for 2024.3 that are missing from the routing feed openwrt-24.10: TT race, BLA lasttime only on change, BLA double free after failed backbone creation, no WARN_ON on allocation error in orig_ifinfo. No CVE.bugfixes/tunneldigger-reinit-backoff.sh: mesh VPN on, no WAN: reinit without a pause, twomodprobecalls per reinit, on the WDR3600 115modprobecalls in 30 s at 0% idle. Now with a pause.package-fixes/add-gluon-airtime-plausible.sh:respondd-module-airtimeomits values where busy, rx, or tx is greater than active. mt76 reports underflowed survey counters, otherwise maps show utilization far above 100%.
Display and monitoring
neanderfunk-respondd
- Function: respondd module in C, fields under
statistics.neanderfunk.*andnodeinfo: hardware, radios, offline SSID including counters, Ethernet links (carrier, speed), memory pressure (MemAvailable, refaults, forks, zram), temperature - On the map: yanic needs an extension; ours is in our yanic fork: statistics.neanderfunk lesen und in die Zeitreihen schreiben · Neanderfunk/yanic@20c5b02 · GitHub
- Limits: no temperature on ath9k/ath10k
- Package:
neanderfunk-respondd
Status page
status-page/: additional MACs and Gluon version, SSID and HT mode per radio, offline SSID including counters, CPU type and cores, Ethernet speed and role per port, live values from neanderfunk-respondd, dark mode, SSID of OWE and private WLAN, gateway with hostname, next-node addresses as links, clients per band only for existing bands, distance only for WLAN neighbors, more compact layout, CSS/JS with?v=<release>against old browser cache- Package for it:
neanderfunk-status-pagewith the translation catalog andcgi-bin/dyn/gateway-name. Without the package, the lines fall back to English; without the patches, the package has no effect. - Patch instead of package, because Gluon’s status page has no extension point. The patches are individual, so you can pick the lines you want.
- Package:
neanderfunk-status-page
neanderfunk-banner
- Function: login banner with node status (
nodestatus), plusportrole(role and hop penalty per interface),channel(prefers channels 36 to 48 on 5 GHz, DFS only as a fallback), androutername - Note: queries DNS at
asn.cymru.comfor the ASN display - Dependencies: CONFLICTS
ffmuc-custom-banner - Package:
neanderfunk-banner
neanderfunk-node-whisperer
- Function: node data in WLAN beacons (vendor IE), readable without a connection
- Different from the original:
-ENODATAinstead of wrong values, gateway TQ viaBATADV_CMD_GET_GATEWAYS, each originator counted once,disabledin any spelling. Plus four fixes from upstream that community-packages does not yet have at our pin. - Origin: fork of
ffda-node-whisperer - Upstream: community-packages#182 reports
Error collecting Information for id=4 name=domain code=-1. Our patch 0001 addresses exactly this message: on single-domain firmware,gluonutil_get_domain()returns NULL. - Dependencies: CONFLICTS
ffda-node-whisperer - Limits: 1.5 MB RSS (TL-WR1043ND v2), therefore not on 64 MB devices in our setup
- Package:
neanderfunk-node-whisperer
Devices
- Backports from OpenWrt 25.12, not in 24.10 and not in Gluon: Aruba AP-324/325 (client AP only, no 802.11s), Zyxel NWA90AX and NWA90AX Pro, Cudy AP3000 Wall v1, Cudy WR3000U v1, TP-Link EAP620 HD v1, Cudy M3000 v2 with YT8821. Each device has a directory under
devices/, list with the original commits:devices/neue-geraete-2026-10.md. Not all have been tested on the device. - Profiles from OpenWrt 24.10 that Gluon 2025.1 does not build: TP-Link EAP225 Wall v2, Zyxel NBG6616, MikroTik mAP lite and wAP G-5HacT2HnD, ZTE MF286R, FRITZ!Repeater 3000, Linksys EA8300, MikroTik wAP ac, ASUS RT-AX59U, Cudy WR3000P v1, GL.iNet GL-MT6000, Mercusys MR80X v3, Cudy M1800, TP-Link EAP613 v1, MikroTik RB750Gr3, Netgear WAX218:
targets/additionaltargets.sh. In addition, our own scripts for NanoPi R2C, FRITZ!Box 3390, Cudy AP3000 v1, and TR3000 256MB v1 underdevices/, primary MACs innetwork/interfaces-patch.sh. devices/dlink-aquila-odm-mac.sh: D-Link AQUILA PRO AI M30/M60, the nvmem layout parser reads the base MAC from the partitionOdminstead of the fixed cell0x81. Devices from multi-packs (M60-2,M30/CP) have the entry further back and otherwise received a wrong MAC. Upstream open: openwrt/openwrt#24967. Verified on two M60 from the twin pack and one M30.devices/remove-dlink-m30-recovery.sh: M30 without recovery image, like Gluon #3816 (only in main)device-fixes/fix-xiaomi-ax6s-bootflags.shanddevice-fixes/fix-xiaomi-ax6s-compat-version.sh: Redmi AX6S confirms the boot flags, otherwise the A/B bootloader falls back to the stock firmware after a few reboots;compat_version2.0 already at initial installation, otherwise a node switched via factory receives no updatedevices/zbit-zb25vq128.sh: Totolink X5000R with Zbit flash ZB25VQ128 (devices from 2022 onward), patch by Daniel Palmer (2021), never merged, ported to 6.6. Untested on the device.kernel/mpc85xx-simpleimage-loader/: BR200-WP, HiveAP-330, WS-AP3715i: link the simpleImage loader at the address named by the uImage header (0x3000000). WS-AP3715i-sysupgrade has not booted since 24.10, nor has WS-AP3825i-initramfs. Upstream open: openwrt/openwrt#25257, backport #25541. WS-AP3825i verified on the device, the others only on the image.
64 MB RAM
The package selection depends on two hand-maintained device lists in image-customization.lua (dual-band and single-band).
- Image:
zram-swapadded, withoutprocd-ujail(on the TL-WR1043ND v2, 3.7 MB RSS for dnsmasq, hostapd, and ntpd), without node-whisperer. Dual-band additionally without the featuretlsandweb-cellular; single-band withoutwireless-encryption-wpa3and withoutffda-gluon-usteer. lowmem/kernel-swap.sh: re-enablesKERNEL_SWAPon ath79-generic, ramips-mt76x8, and ramips-mt7620. Gluon 2025.1 disables it intargets/generic, so zram-swap runs into nothing. TL-WR1043ND v2: without swap, a refault storm after 17 MB of additional tmpfs; with zram, only at 39 MB. Cost 7.6 KB of kernel.lowmem/sysctl-64m-min-free.sh: makes Gluon’s 64 MB sysctl effective (in v2025.1.x the file is called.sysctlinstead of.confand compares bytes instead of kB; the fixc6ac8914is only in Gluon main) and omitsvm.min_free_kbytes=2048in the process: this broke ath10k on the Archer C25 (qca9887) under WLAN load („rx ring became corrupted: -5“), but 8192 runs without errors.lowmem/sysctl-no-watermark-boost-64mb.sh:vm.watermark_boost_factor=0up to 64 MB. Archer C25: OOM panic at 11.5 MB free; the Normal zone watermarks were each 4096 kB above the target value.lowmem/state-check-shell.sh,lowmem/tunneldigger-watchdog-shell.sh:gluon-state-checkandtunneldigger-watchdogas shell instead of Lua, because the Lua runtime was being loaded from flash every minute or every five minutes on 64 MB devices. They replace files of foreign packages, which is why there is no package.tunneldigger-watchdog-shellrequires the community-packages as a feed.kernel/ag71xx-rx-ring-no-bug.sh: no panic when refilling the RX ring fails under RAM pressure; the driver has a fallback viaoom_timer. OpenWrt main had that section unchanged at our last check.
Security and build
security/uhttpd-header-limit.sh: uhttpd allows at most 100 headers / 16 KiB per request, otherwise 431. Memory DoS via port 80 without authentication (GHSA-vhx4-3p5q-m59q). Upstream in openwrt-25.12, not in openwrt-24.10.bugfixes/sysctl-firmware-no-sysfs-fallback.sh: missing firmware (tg3on the FUTRO) kept the boot holding RTNL for up to 60 sbugfixes/dnsmasq-no-dnssec.sh: dnsmasq-full without DNSSEC, about 460 KB less squashfs.build/disable-manifest.sh:disable_manifest()inimage-customization.lua, images without a manifest line- Deviation for operation:
lowmem/limit-wireless-buffers.shcaps the WLAN buffers at 2 MB even above 128 MB RAM, where Gluon sets no limit. For us, this is for many clients with low bandwidth and constant roaming. - Build system: parallel via overlays, own repo GitHub - Neanderfunk/ParallelBuildsystem: Build system for Gluon firmware with many site variants: golden tree, rootless overlayfs workers, provenance per image (Freifunk Neanderland) · GitHub. Tailored to us, intended as a suggestion.
Kernel and drivers
kernel/mt7915-ps-aql/: power-save/AQL set for mt7915/mt798x from Gluon #3673 (merged into main, not into v2025.1.x), against TX stalls for clients in power save (openwrt/mt76#1009). Effect in the field not yet evaluated.kernel/rtl8221b-skip-mmd30.sh: do not read MMD 30 of the RTL8221B during the C45 PHY scan, otherwise the 2.5G port is dead if a cable is plugged in at boot (Cudy TR3000, WR3000H). OpenWrt88dcd8c303, only in main.kernel/mt7530-phy-disable-eee.sh: EEE disabled on the MT7530 PHY (MT7621 switch), reimplementation of openwrt/openwrt#25058. Built, but the effect on the device has not been specifically measured.
Stability
neanderfunk-hotfix
- Function: state checks via micrond (healthcheck, IfNoWificlient, WLAN firmware, eth_tx_stall, and others) that restart WLAN or reboot. A watchdog monitors micrond itself.
- Different from the original: uptime thresholds (
check_uptime_min,reboot_uptime_min); the original could reboot two minutes after boot; no reboot while the autoupdater is running. - Origin:
eulenfunk/packages, contains and replacesffac-mt7915-hotfix - Dependencies:
neanderfunk-common, micrond; CONFLICTSffac-mt7915-hotfix - Limits:
eth_tx_stallby default only logs (dry_run). The underlying cause is openwrt/openwrt#17505. - Package:
neanderfunk-hotfix
neanderfunk-linkcheck
- Function: checks WLAN and batman neighbors, mesh unicast per WLAN radio, and gateway reachability (also via anycast
<prefix>::ac1); first WLAN restart, then reboot - Origin:
eulenfunk/packages - Dependencies:
neanderfunk-common, micrond - Limits:
no_gatewayonly applies if a gateway has been seen at least once since boot. If the gateway flaps, a reboot loop is possible;reboot_uptime_minonly delays it. A node that never had a gateway stays calm. - Package:
neanderfunk-linkcheck
neanderfunk-wifi-blackout
- Function: no associated client on any radio for
blackoutwait(default 171 min), then WLAN restart; if that does not help, reboot - Origin: FreifunkHochstift, via
eulenfunk-ath9kblackout; renamed because the fault is not ath9k-specific. Timestamps based on uptime instead of clock time. - Dependencies:
neanderfunk-common, micrond; CONFLICTSeulenfunk-ath9kblackout,gluon-ath9kblackout,neanderfunk-ath9kblackout - What counts: the node as a whole. A station on any interface, client or mesh peer, is sufficient. Only interfaces that are enabled in uci along with their radio and whose netdev is
upare counted. Devices without WLAN, nodes with client and mesh WLAN both off, and radios that never come up are left alone by the check. - Deliberately not armed: the other checks only take effect once they have seen the healthy state at least once since boot. A radio that is deaf from the start is therefore never seen by them, but this check does see it.
- uci:
wifi_blackout.settings.disabled=1disables it per node;restarts_before_reboot(default 1) WLAN restarts before the reboot. The times come from the site.conf. - Limits: a node with WLAN switched on where no station legitimately ever connects, i.e. without clients and without a WLAN mesh partner (mesh only via cable), will restart periodically. For such nodes, disabling it via uci is intended.
- Package:
neanderfunk-wifi-blackout
neanderfunk-weeklyreboot
- Function: reboot on Thursdays between 3:15 and about 6:00 (random), skipped while the autoupdater is working (
flockon the autoupdater lock, pluspgrep sysupgradefor the flash itself) - Without a set clock, the reboot depends on uptime instead of the weekday: without an RTC, the clock after boot sits at the most recent timestamp under
/etc; earlier versions then rebooted again after every boot. If the ntp marker is missing, the Thursday run only reboots after seven days of uptime. - Origin: counterpart to
ffac-weeklyreboot; the second stage and the ntp protection are not present there - Dependencies:
neanderfunk-common; CONFLICTSffac-weeklyreboot,gluon-weeklyreboot - Limits: fixed schedule; other times only via a changed cron line
- Package:
neanderfunk-weeklyreboot
neanderfunk-ssid-changer
- Function: switches the client SSID to an offline SSID when no gateway is reachable, and back
- Different from the original: shell instead of Lua; counters since boot (offline SSID, gateway losses) as respondd values;
gwofflinemaxcountfrom the site.conf; when switching back, only the node’s own uci delta is discarded - Origin: fork of
ffac-ssid-changer - Upstream: open for the original: community-packages#180 (offline SSID with a larger
switch_timeframe). The bug there does not affect our version. - Dependencies:
neanderfunk-common; CONFLICTSffac-ssid-changer,gluon-ssid-changer - Limits: TQ limits do not work with BATMAN_V
- Package:
neanderfunk-ssid-changer
neanderfunk-common
- Function: shared helpers for hotfix, linkcheck, weeklyreboot, ssid-changer, and wifi-blackout: reboot log that keeps the most recent reboot reasons across restarts, reboot that does not depend on sync, uci boolean evaluation in any spelling, shared WLAN lock
- Package:
neanderfunk-common
Adopting
- Feed in
site/modules:PACKAGES_NEANDERFUNK_REPO=https://github.com/Neanderfunk/packages.git,_BRANCH=v2025.1.x,_COMMIT=bf0f1c21e8fe545d8d86b6bf0962f1525db3aeaf - CONFLICTS are listed per package above; the original must be removed from the package list.
- Package and patch belong together for setup-wifi (
setup-mode-network/), default-hostname (hostname/), and status-page (status-page/). - Patches individually: copy the script, its patch files, and
lib-patch.shone level up, run from the Gluon directory. Phase (pre-update or post-update) and order are specified inapply.shof the respective repo. The scripts are idempotent. - Whole repos: pinned like Gluon’s
modules; for us intemplates/common/patchrepos(GitHub - Neanderfunk/FirmwareConfigs: Firmware build tools for Neanderfunk Gluon firmwares · GitHub). For each repoapply.sh pre-update,make update,apply.sh post-update.
Questions welcome here in the thread.