{"id":15516206,"url":"https://github.com/dippynark/edgerouter-lite","last_synced_at":"2025-04-23T03:28:19.849Z","repository":{"id":105104490,"uuid":"111155215","full_name":"dippynark/edgerouter-lite","owner":"dippynark","description":"My modifications to the EdgeRouter Lite","archived":false,"fork":false,"pushed_at":"2020-11-15T12:20:09.000Z","size":3128,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T21:41:20.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dippynark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-17T22:04:57.000Z","updated_at":"2025-03-27T12:27:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"abb7f8fb-1fc7-4d0e-bb81-90e505abad8e","html_url":"https://github.com/dippynark/edgerouter-lite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fedgerouter-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fedgerouter-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fedgerouter-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fedgerouter-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dippynark","download_url":"https://codeload.github.com/dippynark/edgerouter-lite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250363794,"owners_count":21418343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:06:03.705Z","updated_at":"2025-04-23T03:28:19.843Z","avatar_url":"https://github.com/dippynark.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# edgerouter-lite\n\nThis repository contains my modifications to the [EdgeRouter Lite][1]:\n- [dnsmasq][2] for DHCP\n- [matchbox][3] for CoreOS PXE boot\n- [Vault][10] for PKI\n- [Consul][11] for Terraform state\n- [node-exporter][12] for metrics\n\n## Prerequisites\n\nEnsure root SSH access to the EdgeRouter Lite assumed to be at\nubnt.lukeaddison.co.uk:\n```sh\n# configure ubnt authorized_keys\nconfigure\nloadkey ubnt id_rsa.pub\nexit\n```\n\nCompile Vault for linux/mips64 and move to `vault.d/vault`. Instructions can be\nfound [here](vault.d/README.md).\n\nCompile Consul for linux/mips64 and move to `consul.d/consul`. Instructions can\nbe found [here](consul.d/README.md).\n\n## Installation\n\nTo install this repository into your EdgeRouter Lite, place the contents of the\nrepository into the `/config/scripts/post-config.d` directory and run the\nscripts in the root directory. Doing this also protects against any changes\nintroduced by upgrading EdgeOS.\n\n```\nrsync -qza --include=\"dnsmasq**\" --exclude=\"*\" . root@ubnt.lukeaddison.co.uk:/config/scripts/post-config.d/\nssh root@ubnt.lukeaddison.co.uk sh /config/scripts/post-config.d/dnsmasq.sh\n\nrsync -qza --include=\"node-exporter**\" --exclude=\"*\" . root@ubnt.lukeaddison.co.uk:/config/scripts/post-config.d/\nssh root@ubnt.lukeaddison.co.uk sh /config/scripts/post-config.d/node-exporter.sh\n\nrsync -qza --include=\"matchbox**\" --exclude=\"*\" . root@ubnt.lukeaddison.co.uk:/config/scripts/post-config.d/\nssh root@ubnt.lukeaddison.co.uk sh /config/scripts/post-config.d/matchbox.sh\n\nrsync -qza --include=\"vault**\" --exclude=\"*\" . root@ubnt.lukeaddison.co.uk:/config/scripts/post-config.d/\nssh root@ubnt.lukeaddison.co.uk sh /config/scripts/post-config.d/vault.sh\n\nrsync -qza --include=\"consul**\" --exclude=\"*\" . root@ubnt.lukeaddison.co.uk:/config/scripts/post-config.d/\nssh root@ubnt.lukeaddison.co.uk sh /config/scripts/post-config.d/consul.sh\n\nssh root@ubnt.lukeaddison.co.uk\n\nvault token create -role=vault -format=json | jq -r .auth.client_token \u003e /etc/vault/vault-server-issue-token\nchmod 0600 /etc/vault/vault-server-issue-token\n\nvault token create -role=matchbox -format=json | jq -r .auth.client_token \u003e /etc/vault/matchbox-server-issue-token\nchmod 0600 /etc/vault/matchbox-server-issue-token\n\nvault token create -role=consul -format=json | jq -r .auth.client_token \u003e /etc/vault/consul-server-issue-token\nchmod 0600 /etc/vault/consul-server-issue-token\n```\n\nIf you want to use a cached copy of Container Linux for PXE booting using\n`matchbox`, you will need to download a copy of [Container Linux][5] using the\n[get-coreos][6] script and place it in the `/var/lib/matchbox/assets` directory.\nThe directory structure should look something like\n`/var/lib/matchbox/assets/coreos/1520.8.0/...`.\n\n  [1]: https://www.ubnt.com/edgemax/edgerouter-lite/\n  [2]: http://www.thekelleys.org.uk/dnsmasq/doc.html\n  [3]: https://github.com/coreos/matchbox\n  [4]: https://github.com/dippynark/kube-matchbox-tf\n  [5]: https://coreos.com/os/docs/latest/\n  [6]: https://github.com/coreos/matchbox/blob/master/scripts/get-coreos\n  [7]: ./matchbox.d/assets/README.md\n  [8]: https://github.com/coreos/matchbox/blob/master/scripts/tls/cert-gen\n  [9]: ./matchbox.d/etc/matchbox/README.md\n  [10]: https://www.vaultproject.io/\n  [11]: https://www.consul.io/\n  [12]: https://github.com/prometheus/node_exporter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdippynark%2Fedgerouter-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdippynark%2Fedgerouter-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdippynark%2Fedgerouter-lite/lists"}