<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ampr.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ki4cuw</id>
	<title>44Net Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ampr.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ki4cuw"/>
	<link rel="alternate" type="text/html" href="https://wiki.ampr.org/wiki/Special:Contributions/Ki4cuw"/>
	<updated>2026-05-05T08:53:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Encap.txt&amp;diff=884</id>
		<title>Encap.txt</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Encap.txt&amp;diff=884"/>
		<updated>2020-02-08T17:35:41Z</updated>

		<summary type="html">&lt;p&gt;Ki4cuw: provide details on creating encap.txt from portal&amp;#039;s json outside&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The encap.txt file ==&lt;br /&gt;
&lt;br /&gt;
The encap.txt file is a file listing all the AMPRNet [[gateway| gateways]].&lt;br /&gt;
&lt;br /&gt;
Originally formatted for JNOS systems, it is often parsed with a &amp;quot;[[munge script]]&amp;quot; to update Linux system routing tables.&lt;br /&gt;
&lt;br /&gt;
The file can be obtained via the [[Portal| portal]] and private HTTP.&lt;br /&gt;
&lt;br /&gt;
== Portal ==&lt;br /&gt;
&lt;br /&gt;
You can create an API key on the portal by visiting [https://portal.ampr.org/profile.php your profile page]. Since it needs to be 32 characters I recommend using md5sum of any random data to generate it. The encap endpoint produces json format which you will need to format. You can then use the command line utilities &#039;&#039;&#039;curl&#039;&#039;&#039; and &#039;&#039;&#039;jq&#039;&#039;&#039; to turn this data into routes to ingest into about anything. For example for JNOS encap.txt format:&lt;br /&gt;
&lt;br /&gt;
 curl -s https://user:key@portal.ampr.org/api/v1/encap | jq -r &#039;.[] | &amp;quot;route addprivate \(.network)/\(.maskLength) encap \(.gatewayIP)&amp;quot;&#039;&lt;br /&gt;
&lt;br /&gt;
== HTTP ==&lt;br /&gt;
&lt;br /&gt;
This is still available on private HTTP but it is deprecated and also removed from the anonymous FTP. 44net list members can find the details in the mailman Archive in this thread:&lt;br /&gt;
&lt;br /&gt;
[https://mailman.ampr.org/mailman/private/44net/2020-January/010633.html private gateway stats]&lt;/div&gt;</summary>
		<author><name>Ki4cuw</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=883</id>
		<title>Template:Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=883"/>
		<updated>2020-02-08T16:55:31Z</updated>

		<summary type="html">&lt;p&gt;Ki4cuw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;code&amp;gt;&lt;br /&gt;
{{{1}}}&lt;br /&gt;
&amp;lt;/code&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ki4cuw</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=882</id>
		<title>Template:Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=882"/>
		<updated>2020-02-08T16:41:24Z</updated>

		<summary type="html">&lt;p&gt;Ki4cuw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#if:{{{inline|}}}|&amp;lt;code {{#if:{{{class|}}}|class=&amp;quot;{{{class}}}&amp;quot;}} {{#if:{{{id|}}}|id=&amp;quot;{{{id}}}&amp;quot;}} {{#if:{{{style|}}}|style=&amp;quot;{{{style}}}&amp;quot;}}&amp;gt;{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang=&amp;quot;{{{lang|{{{2|text}}}}}}&amp;quot;|enclose=&amp;quot;none&amp;quot;}}&amp;lt;/code&amp;gt;|{{#if:{{{header|}}}|&amp;lt;u&amp;gt;&amp;lt;small&amp;gt;{{{header}}}&amp;lt;/small&amp;gt;&amp;lt;/u&amp;gt;}}{{#tag:syntaxhighlight&lt;br /&gt;
|{{{code|{{{1}}}}}}&lt;br /&gt;
|lang={{{lang|{{{2|bash}}}}}}&lt;br /&gt;
}}}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ki4cuw</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=881</id>
		<title>Template:Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=881"/>
		<updated>2020-02-08T16:35:25Z</updated>

		<summary type="html">&lt;p&gt;Ki4cuw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;nowiki&amp;gt;{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ki4cuw</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=880</id>
		<title>Template:Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Template:Code&amp;diff=880"/>
		<updated>2020-02-08T16:34:54Z</updated>

		<summary type="html">&lt;p&gt;Ki4cuw: Created page with &amp;quot;{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ki4cuw</name></author>
	</entry>
</feed>