You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Emery Hemingway edd0ba3550 Add testing notes 3 months ago
modules Batman works, no DHCP or gateway routing 3 months ago
README.md Add testing notes 3 months ago
flake.lock Batman works, no DHCP or gateway routing 3 months ago
flake.nix Batman works, no DHCP or gateway routing 3 months ago

README.md

An opinionated build system for the Iowa City community mesh network

This build system uses Astro's nix-openwrt-imagebuilder and reuses the NixOS configuration module system.

Common configuration is in modules and hardware specific configuration is in flake.nix.

Automated builds available here: https://hydra.hq.c3d2.de/project/meshic

Building

You'll need to install Nix and enable flakes.

To build one of the images in flake.nix:

nix build .#<some-router-package in flake.nix>

To build all of the images:

nix build .#

Flashing and testing

Routers without Openwrt would need to be flashed with a "factory" images and routers that already have Openwrt installed need only a "sysupgrade" image.

SSH is available from the WAN port with these builds so after flashing I recommend connecting router WAN ports to a switch and SSH to them as their IPs show up in the log of you DHCP server.

There is no DHCP server installed in the image so I've also connected the WAN port to a LAN port on the same router, and then chained the LAN ports between routers.