Automated Configuration of CeroWrt

CeroWrt uses the LuCi GUI (from OpenWrt) to make it easy to tweak most every part of the CeroWrt configuration.

However, when testing the software, it’s convenient to have a script that will issue the same set of configuration commands so that a fresh firmware installation can be brought to a consistent state in a single step. The following script will configure a number of interesting aspects of CeroWrt, including:

  • Set up the ge00/WAN interface to connect to your provider
  • Update the software packages
  • Update the root password
  • Set the time zone
  • Enable SNMP for traffic monitoring and measurements
  • Enable NetFlow export for traffic analysis
  • Enable mDNS/ZeroConf on the ge00 (WAN) interface
  • Change default IP addresses and subnets for interfaces
  • Change default DNS names
  • Set the SQM (Smart Queue Management) parameters
  • Set the radio channels
  • Set wireless SSID names
  • Set the wireless security credentials

The script has a set of lines for each task. They’re all optional, because they’re all commented out. If you wish to perform one of these, fill in any of the values, then uncomment the affected lines.

How can I get this script?

The script is now part of the CeroWrtScripts bundle. A direct link to the script is: But it’s easier to use the script if you git clone it to your router as described on the CeroWrtScripts page.

To edit this page, submit a pull request to the Github repository.
RSS feed

Recent News & Articles

Dec 3, 2022 Wiki page
Codel Wiki
Jun 11, 2022 Wiki page
More about Bufferbloat
Jun 11, 2022 Wiki page
What Can I Do About Bufferbloat?
Jun 11, 2022 Wiki page
Tests for Bufferbloat
Dec 7, 2021 Wiki page
Getting SQM Running Right

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine


Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation

Bufferbloat Related Projects

OpenWrt Project
Congestion Control Blog
Flent Network Test Suite
The Cake shaper
CeroWrt (where it all started)

Network Performance Related Resources

Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".