Skip to content

About

OpenWrt 25.12 (Linux 6.12) for the SFR Neufbox 6 (NB6-SER-r0): integrated BCM6362 Wi-Fi, front LEDs, ECO button, gigabit switch, WireGuard

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

neufbox6-openwrt: OpenWrt 25.12 on the SFR Neufbox 6

OpenWrt Linux Target Wi-Fi Licence Status Release

Unofficial OpenWrt 25.12 (Linux 6.12) for the white SFR Neufbox 6 "Box Évolution" (NB6-SER-r0)
Integrated Wi-Fi, front LEDs, SFR and ECO buttons and sensors, none of which the last official build (23.05) supported.


Why

The Neufbox 6 was SFR's ADSL/fibre box in the 2010s. Thousands ended up as e-waste. OpenWrt supported it up to 23.05, then dropped the whole bcm63xx target. This project moves the box to the modern bmips target and goes further than both SFR's own firmware and the official port:

SFR firmware (original) OpenWrt 23.05 (official, last) neufbox6-openwrt 2.7
System / Linux SFR R3.5.15 / 2.6.30 OpenWrt 23.05 / 5.15 OpenWrt 25.12 / 6.12
Security updates ❌ ended with the service ❌ end of life ✅ follows the 25.12 branch
Integrated Wi-Fi ✅ Broadcom driver ❌ ✅ access point, WPA2
Front LEDs ✅ SFR service states ❌ ✅ Internet, VPN, System, traffic
SFR button ✅ long press: admin login without password ❌ ✅ tailnet / commercial VPN on/off
ECO button ✅ eco mode ❌ ✅ eco mode
Sensors (temperature, voltage) - ❌ ✅ with graphs in LuCI
Compressed swap (zram), watchdog watchdog only ❌ ✅
Wi-Fi schedule, LED night mode Wi-Fi schedule ❌ ✅
VPN (WireGuard, Tailscale network) ❌ ❌ ✅
Guest network, Wi-Fi QR code - ❌ ✅
WPS pairing (Wi-Fi switch) ✅ ❌ ✅
Wi-Fi channel scan, port forwarding and UPnP made simple - ❌ ✅
French interface ✅ ✅ ✅
Network map, scheduled maintenance - ❌ ✅
Ad blocking - ❌ ✅
Parental controls (hours, pause, extra time) - ❌ ✅ cuts open connections at once
Setup wizard on first login - ❌ ✅
Dark theme - ✅ bootstrap (grey) ✅ Neufbox dark, or automatic
Updates pushed by SFR, ended manual ✅ one click from the web interface
Gigabit switch, USB, WAN "Fibre" port ✅ ✅ ✅
ADSL / VDSL, telephony ✅ ❌ ❌ closed Broadcom drivers

Hardware

Neufbox 6 back panel ports and hardware

Neufbox 6 architecture

BCM6362 @ 400 MHz · 64 MB RAM · 16 MB SPI NOR · Realtek RTL8367R gigabit switch · BCM6362 integrated 2.4 GHz radio · SFR LED/sensor microcontroller on I²C. Full details, GPIO map, flash layout and the microcontroller's registers: docs/HARDWARE.md.

LEDs and buttons

LEDs and buttons

Tested on real hardware: LED colours and order, SFR and ECO buttons, eco mode, Wi-Fi switch, WPS pairing (a Windows laptop joined with the switch), sensors (51 °C, 12.2 V).

  • SFR button → short press: tailnet tunnel (Tailscale network through a WireGuard server); long press: commercial VPN. The VPN LED shows which tunnels are up. → docs/VPN.md
  • ECO button → eco mode: ring LEDs dimmed, traffic LEDs off, statistics paused (optionally Wi-Fi off); kept across reboots.
  • Wi-Fi switch → radio on / off; pushed further → WPS pairing for 2 minutes (the Wi-Fi LED blinks).

More in docs/LEDS-BUTTONS.md.

VPN: Tailscale and commercial VPN

VPN on the SFR button: tailnet through a WireGuard server, commercial VPN through a provider

Tailscale itself does not fit in 64 MB, so the box reaches your tailnet through a small WireGuard tunnel to a machine that already runs Tailscale (a NAS, for example). A second tunnel sends all traffic through a commercial provider (Mullvad, Proton VPN, NordVPN, ...). → docs/VPN.md

Web interface

LuCI uses its own Neufbox theme (white pages, purple menus, red actions), with a dark version (near-black pages, the same purple and red) and an automatic one that follows the dark mode of the phone or computer. On a new box, the first login opens a setup wizard (language, password, Wi-Fi, time zone). After login, the Home page shows the connection, the Wi-Fi (with a QR code to join), the box, the VPN and the connected devices, with a photo of the box and the current state of its ring LEDs. The pages follow the browser language (English or French). The Neufbox menu draws a map of the network, lists the devices (names, fixed addresses), runs parental controls (hours without internet, pause, extra time), picks the Wi-Fi channel, opens ports for games and servers, runs the guest network and ad blocking, shows both VPN tunnels, sets the LEDs and eco mode, keeps the box healthy (scheduled maintenance), and makes backups. The standard bootstrap theme and overview stay available.

LuCI home page with the Neufbox theme

LuCI: Neufbox > Devices LuCI: Neufbox > Ad blocking

LuCI: Neufbox > Guest network, with a QR code for guests and a timer LuCI: Neufbox > Backup, settings and full flash copy

LuCI: Neufbox > Wi-Fi, channel scan and WPS LuCI: Neufbox > Games and servers

LuCI: Neufbox > Network map LuCI: Neufbox > Maintenance

LuCI: Neufbox > Parental controls, profiles with hours, pause and extra time Setup wizard, last step: summary and Wi-Fi QR code

The Home page with the Neufbox dark theme

Parental controls with the Neufbox dark theme Network map with the Neufbox dark theme

The Home page in French

LuCI login page with the Neufbox theme

LuCI: Neufbox > VPN LuCI: Neufbox > LEDs and eco mode

Integrated Wi-Fi

The BCM6362's on-chip radio never worked under OpenWrt. It now runs with the open b43 driver thanks to Alessio Ferri's 2026 work on the same SoC, Linux mainline patches, and the Neufbox's own radio calibration recovered from the SFR firmware. 2.4 GHz access point, WPA2, 802.11g rates, 0 % packet loss in tests. 5 GHz is physically absent on this board. → docs/WIFI.md

Extras

More out of 64 MB of RAM: zram compressed swap, hardware watchdog, graphs of temperature, 12 V, CPU, RAM and traffic, per-device traffic (nlbwmon), Wi-Fi schedule, LED brightness and night mode, Wake-on-LAN and a web terminal in LuCI, a devices page, parental controls with profiles, a setup wizard, ad blocking for the whole network, one-click updates from GitHub, a guest network with its own Wi-Fi password and a timer, a Wi-Fi QR code, names and fixed addresses for devices, a full flash backup in one click, a Wi-Fi channel scan with WPS, a games and servers page (ports, UPnP), a network map, scheduled maintenance (health check, weekly restart), a French interface and dark themes. → docs/EXTRAS.md

Getting started

Download

Ready-made images are on the releases page: …-squashfs-cfe.bin for the first install, …-squashfs-sysupgrade.bin for updates, with SHA-256 checksums. Back up the whole flash first (docs/FLASHING.md).

1. Build it yourself (Docker, optional)

git clone https://github.com/JavaScript-X/neufbox6-openwrt.git
cd neufbox6-openwrt
docker build -t nb6-builder docker/
docker run --rm --network host -v "$PWD":/port:ro -v "$HOME/nb6-work":/work nb6-builder /port/scripts/build.sh

Images land in ~/nb6-work/openwrt/bin/targets/bmips/bcm6362/. → docs/BUILD.md

2. First flash (serial console + TFTP)

The stock CFE bootloader is kept: interrupt it on the serial console and flash …-squashfs-cfe.bin over TFTP. → docs/FLASHING.md

3. Updates

sysupgrade with …-squashfs-sysupgrade.bin (LuCI or command line), settings kept.

How it boots

Boot flow and RAM map

The 2010 CFE bootloader can only unpack ~4 MB and lives in the middle of RAM, while the 6.12 kernel is 11 MB. The image therefore ships a small lzma-loader that CFE unpacks first, which then unpacks the kernel itself.

Documentation

Document Content
docs/HARDWARE.md board, GPIO map, flash layout, microcontroller registers
docs/BUILD.md building the firmware with Docker
docs/FLASHING.md first flash from CFE, updates, going back to the SFR firmware
docs/WIFI.md integrated Wi-Fi: driver, firmware, calibration
docs/LEDS-BUTTONS.md LEDs, buttons, sensors
docs/VPN.md tailnet and commercial VPN on the SFR button
docs/EXTRAS.md setup wizard, devices, parental controls, guest network, Wi-Fi QR code, backup, ad blocking, updates, themes, zram, statistics, night mode
docs/PORTING.md how the port was done, bring-up problems, test results
CHANGELOG.md changes per version

Repository

assets/            photos, diagrams and screenshots used in this README
config/nb6.config  OpenWrt target and package selection
docker/            Debian 12 build environment
docs/              hardware, build, flashing, Wi-Fi, LEDs and buttons, extras, porting notes
files/             added to the image: LED daemon and its settings, VPN and eco helpers, LuCI pages, button handlers, first-boot defaults
theme/neufbox/     LuCI theme: a style layer over bootstrap (scripts/apply-luci.sh installs it)
patches/board/     device tree, image recipe, RTL8367R RGMII fix, nb6-hwmon LED driver
patches/wifi/      BCM6362 WLAN: bcma host, b43 N-PHY r8 / radio 2057 r8, firmware, calibration
scripts/           build.sh, apply-board.sh, apply-wifi.sh
tools/             serial console, CFE, TFTP and GPIO helpers for flashing and probing

Limits

  • Experimental: first flash needs a 3.3 V serial adapter; keep it for recovery.
  • Wi-Fi: 2.4 GHz only, 802.11g rates for now (b43's 802.11n support for this radio is unfinished).
  • No ADSL/VDSL, no VoIP (closed Broadcom drivers).
  • Kernel modules from the official package feed do not match this kernel: add them to config/nb6.config and rebuild.

Credits

  • Álvaro Fernández Rojas (noltari) wrote the bmips target and the original nb6-hwmon LED/sensor driver (2020).
  • Alessio Ferri added BCM6362 integrated WLAN support: bcma SoC host, b43 N-PHY rev 8 / radio 2057 rev 8, firmware extraction (2026).
  • Miguel Gaio / Efixo did the original Neufbox OpenWrt work and the RTL8367R RGMII fix.
  • The OpenWrt and Linux communities.

Third-party patches keep their original authorship and trailers. SFR firmware images and calibration files are not distributed here.

Product photos of the Neufbox 6 in assets/banner-openwrt.png, assets/leds-buttons.png, assets/hardware.png, assets/vpn.png, assets/luci-home.png and files/www/luci-static/resources/nb6/box.png (LuCI home page): © SFR, annotated for this project. Neufbox and SFR are trademarks of SFR; this project is not affiliated with SFR. Brand icons in the LuCI pages (files/www/luci-static/resources/nb6/icons.js), assets/banner-openwrt.png and assets/vpn.png: Simple Icons, CC0 1.0; the names and logos are trademarks of their owners and only identify their services. The OpenWrt logo in assets/banner-openwrt.png and theme/neufbox/openwrt-logo.png is by the OpenWrt project, CC BY-SA 4.0 (shown in its white variant for the dark background); OpenWrt is a registered trademark of Software Freedom Conservancy.

Licence

GPL-2.0-or-later, see LICENSE.

About

OpenWrt 25.12 (Linux 6.12) for the SFR Neufbox 6 (NB6-SER-r0): integrated BCM6362 Wi-Fi, front LEDs, ECO button, gigabit switch, WireGuard

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages