2022-01-31 12:05:40 -06:00
|
|
|
# Router
|
|
|
|
Yeah yeah I need to document this better.
|
|
|
|
|
|
|
|
# Setup
|
|
|
|
|
2022-01-31 16:44:36 -06:00
|
|
|
With a fresh Arch Linux system:
|
|
|
|
|
2023-04-03 23:57:43 -05:00
|
|
|
- Install needed packages via `./install.sh`
|
2022-01-31 12:05:40 -06:00
|
|
|
- Run `./link.fish` script
|
2022-01-31 16:44:36 -06:00
|
|
|
- Enable and restart the following services:
|
2022-01-31 12:05:40 -06:00
|
|
|
- `nftables`
|
2022-01-31 17:08:44 -06:00
|
|
|
- `systemd-sysctl`
|
|
|
|
- `systemd-resolved`
|
2022-01-31 12:05:40 -06:00
|
|
|
- `systemd-networkd`
|
2022-01-31 17:08:44 -06:00
|
|
|
- `dnsmasq`
|
2023-04-03 23:57:43 -05:00
|
|
|
- `dhcpcd@lan0`
|
|
|
|
- `dhcpcd@wan0`
|
2022-01-31 16:44:36 -06:00
|
|
|
- Run `mkinitcpio -p linux`
|
2022-02-04 10:45:06 -06:00
|
|
|
- Add any needed hosts to `/etc/hosts`
|
|
|
|
- May be use dnsmasq's `addn-hosts` directive and copy a file from this repo
|
2022-01-31 12:05:40 -06:00
|
|
|
- Reboot
|
2022-01-31 17:08:44 -06:00
|
|
|
|
|
|
|
# TODO:
|
|
|
|
|
2022-01-31 17:13:10 -06:00
|
|
|
- Script this whole thing? NixOS/declarative?
|
|
|
|
- `link.fish` could just write to these files instead of copying them?
|