Encap.txt/get-encap: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

19 October 2024

15 October 2024

  • curprev 19:4219:42, 15 October 2024W6JMK talk contribs 2,646 bytes +11 handle errors from jq
  • curprev 19:1419:14, 15 October 2024W6JMK talk contribs 2,635 bytes +3 Handle errors returned from the portal API
  • curprev 02:5302:53, 15 October 2024W6JMK talk contribs 2,632 bytes +2,632 Created page with "Here's a bash script to get a complete encap.txt file from the portal. For example: .\get-encap < api-token.txt > encap.txt || echo error $? The script maintains a cache, so it downloads the information only when it has changed. <nowiki> #!/bin/bash # Output the current AMPRNet routing information, like this: # # Fetched <when> version <number> from <source> # route addprivate 44.0.1.0/32 encap 169.228.84.34 # route addprivate 44.102.240.16/28 encap 45.145.74.24..."